Skip to main content

.obj export with scenegraph

1 reply [Last post]
melonwithice
Offline
Joined: 2007-02-06
Points: 0

Hi All,

I am new to java3d. I have a model with its own hierarchy and animation in Maya. What is the best way to export the model to java3d? The .obj format exports just geometry and material data. Exporting the animation would be really nice, but If I can export the model hierarcy and import it to java with a corresponding scenegraph, I can probably write/read key frames from Maya and transform the part of the models accordingly in Java. I've tried vrml export but could not get the vrml loader work properly. Any opinions? Thanks!!!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Rolf Gabler

java3d-interest@javadesktop.org schrieb:
> Hi All,
>
> I am new to java3d. I have a model with its own hierarchy and animation in Maya. What is the best way to export the model to java3d? The .obj format exports just geometry and material data. Exporting the animation would be really nice, but If I can export the model hierarcy and import it to java with a corresponding scenegraph, I can probably write/read key frames from Maya and transform the part of the models accordingly in Java. I've tried vrml export but could not get the vrml loader work properly. Any opinions? Thanks!!!
>
hi,
several ideas
1.) have a look at j3d,org in the loader section, afaik theres the
cyberVRML-loader, which if I remind also interpret animation-paths
if the used loader should support animations and you'd checked that
your way how you do the SceneLoading is correct,
try several independent software to view your model, in the past I
often used:
whitedune [from uni-stuttgart]
chisel [vor checking and optimizing vrml-files]
a newer hint will be accutrans a very nice converter free to use for
30-days and is able to read/write vrml-files in a way my work needs,
but I never tried to ex-import a vrml-animation...my general tactic
is loading just the geometry and the appeareance, all other will be made
with j3d

2) There was an loader vor NWN-Models, which supported animations, maybe
there's a plugin for maya to export those, I know that there's one for GMax,

3) Export your scene in one object-file and get the Groups in the
desired way from your scene-object, depending on the count of your
geometries in the scene you can
export them seperate in groups, which uses the same animation-paths,
load them all seperate and link them to the Interpolators you need
hope that helps a bit
regards
rolf

> [Message sent by forum member 'melonwithice' (melonwithice)]
>
> http://forums.java.net/jive/thread.jspa?messageID=205906
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net