Title: GeometryUpdater
Hi,
   
    IMHO, GeometryUpdater provide a way to allow user to update the
    geometry dynamically and efficiently by the following reasons:
    1. Thread safe. (Java3D is rendering on its own thread).
    2. Efficiency. I believe that attach/detach a live scene on the BranchGroup
        is relatively slow. If the Geometry object you are trying to update is
        under a big BranchGroup, the overhead would be even bigger!
    3. ...
 
    There might be other reasons that people can provide in this group.
    There is a sample program in Java3DTutorial/animation that demonstrates
    how to use GeometryUpdater. You might want to check it out.
 
Scott
----- Original Message -----
Sent: Monday, February 24, 2003 11:36 AM
Subject: [JAVA3D] GeometryUpdater


I am not sure I fully understand the purpose of the GeometryUpdater.
If I modiy the GeometryArrays on Shape nodes, I can either recreate,
or modify existing ones.  Either way, I usually just detach the branch,
and reattach it after modification/creation.

Could someone shed a little light on the purpose of the GeometryUpdater?
Thanks,
-DaveS

Reply via email to