Title: GeometryUpdater
Do you need to detach/reattach to update the geometry?  Can you not update/change the TriangleArray coordinates and normals without detaching the Shape3D from the scene graph?  I don't think you need to detach.....
 
Cheers,
Bob Gray
-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]On Behalf Of Smith, David
Sent: Tuesday, February 25, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] GeometryUpdater

So by not using the GeometryUpdater and following the detach/reattach
approach, am I forced to recreate all GeometryArrays on a Shape node.
Or, if I have a reference to the Shape, can I just detach, modify the individual
geometry arrays that I care about( add/remove/modify )  and then reattach.
And this will all have to be done in a thread-safe manner by me.
 
Also, if I understand, this approach basically just means that I will take
a performance hit when I reattach because j3d will copy all data
again to the graphics device.  Is this correct? 
 
BTW, Thanks for all the replies.
-DaveS
 

Reply via email to