[topmenu.htm]
|
|
How to Use the Multi-View VRML/Cosmo Java Applet
|
Internal Document Only -- Watch Us Work
When you specify the correct html page, the page loads displaying two or more VRML
worlds, each within a Cosmo Player window. There is also Java applet on the bottom of the
display. The applet controls all aspects of the VRML worlds. When you press on a button in
the Java applet, all the worlds are changed accordingly.
Most of the transformations have a row of buttons. From left to right, these produce a
large negative motion, successively smaller negative motions, a small positive motion, and
successively larger positive motions. Red buttons cause the biggest changes and yellow
buttons the smallest.
To start using the Multi-View Applet, we recommend you first click on the Center Ball
button, then experiment with the Object Rotation buttons.
Applet Control Panel
- Pan
- Panning moves the camera up, down, left, or right. The effect is to shift the entire
scene in each of the Cosmo Player windows. Panning is controlled by 4 buttons arranged in
a diamond. The amount of motion caused by clicking one of the buttons is based both on the
size of the VRML models and a variable contained in the program.
-
- Reset World
- This button completely resets the worlds to the initial state.
-
- Center Ball
- This button centers the ball to the midpoint of the object. This is used for optimal
rotations.
-
- Scale
- This button scales only the object, in the amount according to the button you press.
-
- Zoom
- This button zooms either in or out depending on which button you press. Every component
in the world will get zoomed, not only the object.
-
- Object Translation
- These series of three subsets of multiple buttons move the object in the corresponding
axis.
-
- Reset Object
- This resets only the object to its original position and scale.
-
- Object Rotation
- These series of three subsets of multiple buttons rotate the object based on the ball
position (rotates around the ball).
-
- Ball Translation
- These series of three subsets of multiple buttons move the ball in the corresponding
axis. The ball is used as a center for the rotation of the object.
-
- Reset Ball
- This resets only the ball to its original position and scale.
-
- Output box
- This text box outputs what you pressed, if measurable, and tells you the amount and the
current value for that particular transform, if applicable.
-
- Clear Box
- Deletes the contents of the text box.
For information on how to build your own multi-view VRML application on the Onyx2, see
How to Make a Multi-View VRML.
[footer.htm]