|
Hi All,
I have met a problem in updating scence graph
(display). In interactive computer graphics, we need to update the screen
display after adding a new graphics primitive. In Java 2D, we can use
repaint() mothed. Now, I use SimpleUniverser to setup a virtualUniverse and a
Locale, After adding the first 3D shape, I add a Branchgraph to the Universer.
The screen can display the scene correctly. However, after inputting another 3D
shape from menu, I can not romove the old BranchGraph, and can not update the
scene to include the newly input. It seems that there is no
removeBranchGraph() method in SimpleUniverser object. How can I use Java3D in an
interactive way?
Thanks
Sheng Qin
|
