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] GeometryUpdaterSo by not using the GeometryUpdater and following the detach/reattachapproach, 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 individualgeometry 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 takea performance hit when I reattach because j3d will copy all dataagain to the graphics device. Is this correct?BTW, Thanks for all the replies.-DaveS
