Twist It
If demo does not work, read this... |
There are three GUI controls in the above picture that control the appearance of the upper object (initially appearing as a purple torus). Drag the gold trackball on the left to rotate the object. Drag the small ball around the circular track in the middle to twist the object. Drag the third ball around in the triangle on the right to change the color of the object.
This applet demonstrates some performance aspects of our 3D GUI API. The panel is composed of four canvases, one for each of the controls and one for the twistable object. Each canvas has its own scene graph and renderer. A mouse event is processed by only one of the controls and requires that no more than two of the components be redrawn.