473,322 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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.
Jan 3 '08 #1
5 2049
Dököll
2,364 Expert 2GB
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
Jan 5 '08 #2
Tirix
2
Hi ludablay !

Did you try Anim8orLoader ?
Jan 13 '08 #3
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.
Jan 14 '08 #4
Tirix
2
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
Expand|Select|Wrap|Line Numbers
  1. Anim8orRepository scene = (Anim8orRepository)Anim8orLoader->load("test.an8");
  2. javax.media.j3d.Node house = scene.getObject("house1");
  3.  
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.
Jan 16 '08 #5
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!
Jan 16 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Nikita A. Visnevski | last post by:
Hi everyone, I am rather new to Java beans. Just picked up a book last night and started reading about them. I am building an application that allows a user to define objects with dynamic...
13
by: Nicholas Pappas | last post by:
Hello all. I am trying to write a Java3D loader for a geometry file from a game, which has Unicode characters (Korean) in it. I wrote the loader and it works in Windows, but I recently brushed...
0
by: John Davison | last post by:
I need to load a different version of a class than what is being used by the overall system. My test code works fine for loading the class, but fails when I try to cast the Object. For example, the...
25
by: Dave Turner | last post by:
I know that its impossible to completely prevent somebody from ripping a site (or cracking software) if that person has the skills and the time/patience, but there are tricks that can be employed...
4
by: Madhu Gopinathan | last post by:
Hi All, I am faced with a horrible hang problem. I have a COM exe server that executes some tasks. The task execution manager is a thread that manages the pool of threads, which is 4 per processor....
5
by: vshalpatel | last post by:
Hi I want to use SQL*Loader , an Oracle-supplied utility to load data from a flat file into one database tables. for this I have write the scripts in the SQL*LOADER control file named ...
0
by: David Hirschfield | last post by:
I'm not entirely sure what's going on here, but I suspect it's related to my general lack of knowledge of the python import internals. Here's the setup: module: tester.py: -----------------...
5
by: katie smith | last post by:
Here is the program I just started, The problem i am having is I'm trying to get it to load the image file Sand1 with eval(loader) = pygame.image.load(loader) because Loader is euqual to "Sand1" but...
1
by: Ripter | last post by:
I found this script at http://www.pygame.org/wiki/LazyImageLoading?parent=CookBook And I can't quite figure out how it works. I was wondering if someone could clarify it for me. The Code is: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.