I'm guessing you're new to J3D like I'm new to OpenGL   : )

So far it looks like OpenGL has a diferent approach to the scenegraph than
J3D does. Although I've only been working with OpenGL for a few days now.

Let's see if I can make sense..... coordinates are absolute within a given
object, then that object is added (as a child) to a transformGroup. Any
object which is a child of a transformGroup inherits the group's
transformation, and all transforms above it. (the transformGroup can then be
a child of another group and so on.....)

So, to find the true "absolute" coordinates of an object in J3D you have to
climb down the sceneGraph adding up all the transforms until you get to your
object.

Therefore from any given node, if you add an object and want it to be
translated relitive to the node's origin, you have to put it into a
transformGroup of it's own, (with the appropriate transform) then make the
transformGroup a child of the node

I actually think J3D's method is the easier of the two to work with and keep
track of.

I hope this helps
Don

-----Original Message-----
From: Demetrius [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 02, 2000 1:44 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] {JAVA3D]


Which class does Java3D use to cause a LoadIdentity() type operation (like
open gl) while the render transfers the scene graph?  Is it for each branch
group?

Thanks In Advance
Demetrius

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to