Java 3D and Modelling Programs

What exactly is the relationship between Java3D and a modelling program? Specifically, can I make models using a program like Blender or 3ds and integrate it into my game with Java3D? If so, which application (Java3D and the modelling program) is responsible for what?

The answer is that the exact relationship is somethign called a “Loader”

Java3D defines a sutructure for laoders and then allows user’s to write loaders for whatever data formats they want.
There are many loaders out there already written that you cna use for many popular formats (3DS, Open Flight, etc)

I actually wrote a J3D loader for the bianry mdoel format used for Neverwinter Nights models. Thats avilable as part of the codebase at http://jnwn.dev.java.net

Cool - Thanks!

For 3ds, the loader from Starfire Research worked well for me.

http://www.starfireresearch.com/services/java3d/inspector3ds.html

Check out j3d.org’s file loader list for more loaders.

Endolf

Are there good j3d loaders for Blender?
(I saw one on the list but I’m not entirely sure what it is.)

AFAIK, there is no Blender loader for j3d. I’ve been using a .obj exporter for Blender and reading it into Java with ObjectFile that comes with the distribution.

I just found this forum and I don’t know where to start first.

I have a question, which bothers me to this day and it’s about the .obj loader that ships with Java3D. I first posted it here, but some things changed since. (I’m a noob, not a complete noob anymore e.g.)

Regardless if I create an instance of ObjFile without or with the ObjectFile.TRIANGULATE flag, it doesn’t recognize complex polygon faces correctly even though the f n/n/n n/n/n n/n/n … tokens are present in the .obj file.

I tested it with a simple poly_cube exported from Maya. Is there a solution to this, does it even work?