Anim8or Community
General Category => General Anim8or Forum => Topic started by: ludablay on January 03, 2008, 08:42:43 am
-
Hello everybody, i'm a final year student developing a facility management software as my project work. i'm using anim8or for a building's structure and linking it to an interface using java3d and hooking it up to an oracle database. so far i've linked to the database, started the GUI with java and modelled part of the building in java.
the problem though is, i can't quite find a good loader to get the .an8 file into the java so that i can interact with it and have a stand-alone application, i've tried a couple of loaders and some can only rotate or only view. i've even exported as a .3ds file to try a 3ds-loader but that was not good either.
any suggestions, i really need this. thanks.
-
well i played around with Java3D awhile before, and there are some .obj files in one of the sample DIRs, I opend these with Anim8or, and exported them, and they only show up as points, with no edges. i played around with it a little bit, but i stared write'n my own Anim8or Loader in PERL. but i never played around with faces.
I'll have a look and see if i can come up with anything....
-
Anim8orLoader (http://www.arnoux.ch/thierry/Anim8orLoader) is a Java3D loader for Anim8or files.
Anim8orLoader will only load your model into Java3D elements (Nodes, Groups, Branches, etc.).
In order to interact with it, you'll have to code some java by yourself...
Have a look at this tutorial on interaction (http://java.sun.com/developer/onlineTraining/java3d/j3d_tutorial_ch4.pdf), it explains how you can add 'Behaviours' to a previoulsy loaded scene graph...
I hope it helps...