[JAVA3D] Loader Question

2003-01-01 Thread Jennifer Mc Gannh
Hi there, I know that a loader class reads in 3d scene files and represents the file's contents that can be added to a Java3d world. However, I just want to clarify what effect this has on the scene graph. I'm assuming that the file is added to the scene graph as a leaf node. If you were creating

Re: [JAVA3D] Loader Question

2003-01-01 Thread Kevin Glass
I think this pretty much depends on loader implementation. Loaders actually read the file and produce shape3d nodes (among others) that represent the scene. Whether they are "tagged" in some way with the name of the object or in some cases the name of the geometry from the file is down ot the imple

Re: [JAVA3D] Loader Question

2003-01-01 Thread John Wright
Jennifer, Very often a loader would add a branchgroup or transform group (containing potentially many shape3ds) to the scene graph. A loader might even include lights and other scene graph objects (not just shape3ds). - John Wright Starfire Research Jennifer Mc Gann wrote: > > Hi there, > I kno

Re: [JAVA3D] Loader Question

2003-01-01 Thread Jeremy Booth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ~ I have written an ac3d loader (http://www.newdawnsoftware.com/resources), you give it the filename and it loads the file and returns you a branchgroup, what you do with it after that is up to you, it doesn't directly manipulate any live scene, ju

[JAVA3D] Picking utils and USE_NIO_BUFFER

2003-01-01 Thread Raffi Kasparian
  Recently I started using nio buffers for my geometry. Unfortunately, Sun's picking utilities don't work with this mode as evidenced by the following Exception. Does anyone know if Sun plans to support nio buffers in its picking utilities or is it time for me to write my own?   Raffi   java

Re: [JAVA3D] OpenGL vs Java3D Immediate Mode

2003-01-01 Thread Ranjan.George
Hi Hong, The performance of using the Java3D and the Java-OpenGL binding are almost the same. So I would advise providing abstraction of this layer in Java3D as interfaces so that one can be plugged in instead of the other. Regards, Ranjan George ingenovis, A Division of iLabs Ltd. Phone : 91

[JAVA3D] Access to SELECT mode redering of OpenGL in Java3D

2003-01-01 Thread Ranjan.George
Hi All, Selection in OpenGL can be done in the following two ways: 1. The Pick ray concepts which is also there in Java3D. 2. SELECT mode Rendering. In this, you change the rendering mode of OpenGL to SELECT and you specifies the area around mouse click you would like to consider. On clicking,