Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  3dsMax...  (Read 2139 times)
0 Members and 1 Guest are viewing this topic.
Offline jOshfLY

Senior Newbie




Java games rock!


« Posted 2004-03-02 16:51:45 »

hello...very one...=)
im doing a project titled "virtual baby", how can i display the virtual baby that i created using 3dsMax in java?? i know it needed some loader to load the virtual baby to java, but i don't know how to use those loaders that i downloaded from the internet (eg. Starfire, 3dsloader). Any simple loader for beginner to use? since im new in java...=)

and one more...which one the better preferable?? animate the virtual baby in 3dsmax and put it to jave or load the virtual baby model to java and animate in java??

Thanks alot....for who spend their time answering my question...is very urgent..i only got 2 weeks remain to finish this project...

Very thank you!!  :-/
Offline aldacron

Senior Member


Medals: 9
Exp: 16 years


Java games rock!


« Reply #1 - Posted 2004-03-03 04:57:34 »

Quote
how can i display the virtual baby that i created using 3dsMax in java?? i know it needed some loader to load the virtual baby to java, but i don't know how to use those loaders that i downloaded from the internet


All a 'loader' does is to load the file from disk into memory, in a format deemed usable. If you know the file format you should be able to build one yourself. Any prebuilt loaders you download should come with documentation. If they don't, it shoud be obvious how to use them by looking at the source. If that isn't available, you'll have to ask the author.

Also, it would help to know something about 3D model formats in general when using these things. That's what makes them easier to use.

Quote

and one more...which one the better preferable?? animate the virtual baby in 3dsmax and put it to jave or load the virtual baby model to java and animate in java??


While it would be nice to be able to load any model into a program and just animate it any way you want, things unfortunately do not work that way. You need to animate the model in 3DS and save it. When you load the model into the program, you can used the animation data exported from 3DS to make it animate. There are different ways of animating models (skeletal animation and keyframing). You'll need to learn how to apply them in order to make animations happen.
Offline Bombadil

Senior Member





« Reply #2 - Posted 2004-03-03 06:01:41 »

Quote
hello...very one...=)
Thanks alot....for who spend their time answering my question...is very urgent..i only got 2 weeks remain to finish this project...

2 weeks and you're going the low level 3d API way...? :-)  I wouldn't. Use a high level 3d API for Java (for example Xith3d, or SUN's froozen J3D) and use one of their importers to import your 3ds model to the scenegraph of Xith/Java3d. If it's been animated within your 3d application you can even use Xith/Java3d to play the animation.

Have a look at the Xith thread please, or the Java3d thread, ...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline jOshfLY

Senior Newbie




Java games rock!


« Reply #3 - Posted 2004-03-03 16:07:19 »

do know a bit on how to animate a object in keyframe, so can i animate the object in keyframe, and save as .3ds then import to java?  so that i don't need to use the skeleton method to animate the object...since keyframe is much more easy is it??

The problem im facing now is how to import the object to java? if i can manage to display the object, i think i should be able to continue my work according to the schedule, too bad, im stuck in here... any loader can suggest to me

Lastly, use a high level 3d API for Java (for example Xith3d, or SUN's froozen J3D) is it same as the normal java3d only is a class???

Thanks
Offline Bombadil

Senior Member





« Reply #4 - Posted 2004-03-03 17:53:29 »

Quote
do know a bit on how to animate a object in keyframe, so can i animate the object in keyframe, and save as .3ds then import to java?

Simple time/keyframe based animation is possible with .3ds and it's usually being loaded by Kevin's 3dsloader to a Xith3d scenegraph.
Please have a look at his 3ds-loader: http://www.newdawnsoftware.com/resources/xith3d/  . The zip archive contains a Character.3ds which is animated.

However complex models are not always loadable in a clean way. So it depends on your model and which tool exported it, etc.

There are some threads on the Xith3d forum: http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d

Quote
 so that i don't need to use the skeleton method to animate the object...since keyframe is much more easy is it??

Unfortunately I'm no expert with 3d or 3d animations at all, I am just a newbie Xith3d user... Skeletons and bones are not yet possible to load anyway with Xith3d, but in the future.

Quote
The problem im facing now is how to import the object to java? if i can manage to display the object

Well, you set up your scenegraph in Xith3d, which is pretty easy. Please have a look at the mentioned forum and some threads there, or ask the question over there.
Then you use the 3dsloader for example, to load a new scenegraph node and add that to your root scene graph.
Depending on what you want to do it needs some studying of the API and/or tutorials, but basically it's really simple. Well even I managed to use it. :-)

Quote
Lastly, use a high level 3d API for Java (for example Xith3d, or SUN's froozen J3D) is it same as the normal java3d only is a class???

I don't know Java3d in practice, I've just taken a look at its API and tutorials. So no comment on the quality of Java3d's loaders and so on. I am using Xith3d currently and it looks very similar to Java3d, which is nice.

Java3d you've to install additionally to a Java JRE/SDK and it's available for Win32 and Mac.
Xith3d uses the new JOGL API as its OpenGL binding (and in future you can choose to use LWJGL as its OpenGL binding). So next to your app.jar and xith.jar you've to use the native jogl.dll/jogl.so/blabla which runs on Mac, Linux, Solaris, Win32 and several more (please see Jogl forum for details).
In contrast to Java3d you can bundle a Xith application very nicley via Webstart so it's matter of a click to start it on a JRE'ed PC.

Please take a look at a small example I bundled for a test in this thread: http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1078132539  
Offline tom
« Reply #5 - Posted 2004-03-03 19:14:45 »

Quote
i only got 2 weeks remain to finish this project...

Have you considered using something like Macromedia Shockwave? Don't know much about it, but I think it would be much faster than using java or any other programming language.

Offline jOshfLY

Senior Newbie




Java games rock!


« Reply #6 - Posted 2004-03-04 01:47:29 »

Thanks your reply my post....=)
My supervisor want me to use JAVA to code the program...so i can't use Macromedia Shockwave for this...anyway =) im trying what Bombadil told in the reply...see how it goes...really really really thanks alot man... Tongue
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (12 views)
2014-08-28 18:26:30

CopyableCougar4 (24 views)
2014-08-22 19:31:30

atombrot (37 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (29 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (27 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (33 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!