 |
Building 3D Models for the Web
Drag Box Example |
This example uses a drag sensor, in particular PlaneSensor. Drag sensors are
described on pages 123 ff.
The example allows you to drag a box over a plane.
Drag Box Example
- Log into one of the SGIs,
cheetah.ma.iup.edu,
jaguar.ma.iup.edu,
leopard.ma.iup.edu, or
puma.ma.iup.edu.
- Change to your public_html directory:
leopard 1% cd public_html
- Copy the example from the ls499 directory and give public read access to
it.
leopard 2% cp /usr/people/ls499/dragbox.wrl .
leopard 3% chmod 644 dragbox.wrl
- Edit the example, adding the correct routes.
leopard 1% pico dragbox.wrl
- View the changes in your Web browser by going to the URL
http://cheetah.ma.iup.edu/~username/dragbox.wrl, where username is
replaced by your own username.
- Now drag the box with the mouse.

Maintained by
H. Edward Donley
<hedonley@grove.iup.edu>
Last Modified Monday, 13-Aug-2001 16:53:26 EDT