Help - Anim8or Loader

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ludablay
    New Member
    • Oct 2007
    • 4

    #1

    Help - Anim8or Loader

    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. thanks to answered posts here.

    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.
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by ludablay
    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. thanks to answered posts here.

    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.
    Hello, ludablay!

    I am a true beginner @ Java, I am not sure how this can be handled but wanted to wish you luck with the project, sounds pretty groovy from where I am sitting:-)

    Dököll

    Comment

    • Tirix
      New Member
      • Jan 2008
      • 2

      #3
      Hi ludablay !

      Did you try Anim8orLoader ?

      Comment

      • ludablay
        New Member
        • Oct 2007
        • 4

        #4
        yeh,i did. it loads files in a zoomed in view with only rotation. my software is supposed to interact with this loaded file and give information. the Anim8orLoader loads it all right but that's about it.

        unless,u can tweak to be more usable or have some other loader? holla soon. thanx.

        Comment

        • Tirix
          New Member
          • Jan 2008
          • 2

          #5
          Anim8orLoader will only load your model into Java3D elements (Nodes).
          In order to interact with it, you'll have to code some java by yourself...

          Check the API to know how to use the library.

          For example, to get access to the object named "house1" in your an8 file, you can use something like
          Code:
          Anim8orRepository scene = (Anim8orRepository)Anim8orLoader->load("test.an8");
          javax.media.j3d.Node house = scene.getObject("house1");
          Then you can manipulate house just as any other Java3D Node object - for example, add it to a TransformGroup and apply a rotation/translation...

          You can check the Java3D API or Java3D Tutorial for information on how to use Java3D.

          Comment

          • aboolamoola
            New Member
            • Jan 2008
            • 5

            #6
            i think u need some loops and if statements, i put it on my program to make it look good and i got good marks cuz i had lots of loops and ifs!

            HOPE THIS HELP XD!

            Comment

            Working...