Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Viewpoint Slideshow X3D Resources

X3D Example Archives: VRML 2 Sourcebook, Chapter 09 Sensing Viewer

[1] Figure09_1SpinningCubeTouchSensor.x3d - (default X3D view from 0 0 10)
Chapter Viewpoint Slideshow

Authors can design interactivity into a scene that responds to user actions.

A scene can sense when the viewer's cursor is over a shape, has touched a shape, or is dragging atop a shape. A scene can also trigger animations on a viewer's touch, enabling the viewer to move and rotate shapes. There are four main action sensor types: TouchSensor senses touch, SphereSensor senses drags in a spherical way, CylinderSensor senses drags cylindrically, and PlaneSensor senses drags around a plane.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

Figure 09.6 Sphere Sensor With Axes
18 X3D Scenes                 24 Viewpoint Snapshots

Figure09_1SpinningCubeTouchSensor
Figure 09 1 Spinning Cube Touch Sensor.x3d    
[1] Figure09_1SpinningCubeTouchSensor.x3d - (default X3D view from 0 0 10)

Figure09_1SpinningCubeTouchSensorWithAxes
Figure 09 1 Spinning Cube Touch Sensor With Axes.x3d    
[2] Figure09_1SpinningCubeTouchSensorWithAxes.x3d - (default X3D view)

Figure09_2SpinningCubeTouchSensorClicked
Figure 09 2 Spinning Cube Touch Sensor Clicked.x3d    
[3] Figure09_2SpinningCubeTouchSensorClicked.x3d - (default X3D view)

Figure09_2SpinningCubeTouchSensorClickedWithAxes
Figure 09 2 Spinning Cube Touch Sensor Clicked With Axes.x3d    
[4] Figure09_2SpinningCubeTouchSensorClickedWithAxes.x3d -

Figure09_3ConePlaneSensor
Figure 09 3 Cone Plane Sensor.x3d    
[5] Figure09_3ConePlaneSensor.x3d - (default X3D view from 0 0 10)

Figure09_3ConePlaneSensorWithAxes
Figure 09 3 Cone Plane Sensor With Axes.x3d    
[6] Figure09_3ConePlaneSensorWithAxes.x3d - (default X3D view from 0 0 10)

Figure09_4ConePlaneSensorConstrained
Figure 09 4 Cone Plane Sensor Constrained.x3d    
[7] Figure09_4ConePlaneSensorConstrained.x3d - (default X3D view)

Figure09_4ConePlaneSensorConstrainedWithAxes
Figure 09 4 Cone Plane Sensor Constrained With Axes.x3d    
[8] Figure09_4ConePlaneSensorConstrainedWithAxes.x3d - click and drag Cone
[9] Figure09_4ConePlaneSensorConstrainedWithAxes.x3d - Default viewpoint at (0 0 10)
[10] Figure09_4ConePlaneSensorConstrainedWithAxes.x3d - (default X3D view)

Figure09_5FourStackingBlocks
Figure 09 5 Four Stacking Blocks.x3d    
[11] Figure09_5FourStackingBlocks.x3d - Hello Cubes.
[12] Figure09_5FourStackingBlocks.x3d - (default X3D view from 0 0 10)

Figure09_5FourStackingBlocksWithAxes
Figure 09 5 Four Stacking Blocks With Axes.x3d    
[13] Figure09_5FourStackingBlocksWithAxes.x3d - Hello Cubes.
[14] Figure09_5FourStackingBlocksWithAxes.x3d - (default X3D view)

Figure09_6SphereSensor
Figure 09 6 Sphere Sensor.x3d    
[15] Figure09_6SphereSensor.x3d - (default X3D view from 0 0 10)

Figure09_6SphereSensorWithAxes
Figure 09 6 Sphere Sensor With Axes.x3d    
[16] Figure09_6SphereSensorWithAxes.x3d - (default X3D view from 0 0 10)

Figure09_7CylinderSensor
Figure 09 7 Cylinder Sensor.x3d    
[17] Figure09_7CylinderSensor.x3d - (default X3D view from 0 0 10)

Figure09_7CylinderSensorWithAxes
Figure 09 7 Cylinder Sensor With Axes.x3d    
[18] Figure09_7CylinderSensorWithAxes.x3d - (default X3D view from 0 0 10)

Figure09_8ClickDragTouchSensorPlaneSensor
Figure 09 8 Click Drag Touch Sensor Plane Sensor.x3d    
[19] Figure09_8ClickDragTouchSensorPlaneSensor.x3d - (default X3D view)

Figure09_8ClickDragTouchSensorPlaneSensorWithAxes
Figure 09 8 Click Drag Touch Sensor Plane Sensor With Axes.x3d    
[20] Figure09_8ClickDragTouchSensorPlaneSensorWithAxes.x3d -

Figure09_9DeskLamp
Figure 09 9 Desk Lamp.x3d    
[21] Figure09_9DeskLamp.x3d - Desk lamp
[22] Figure09_9DeskLamp.x3d - (default X3D view from 0 0 10)

Figure09_9DeskLampWithAxes
Figure 09 9 Desk Lamp With Axes.x3d    
[23] Figure09_9DeskLampWithAxes.x3d - Desk lamp
[24] Figure09_9DeskLampWithAxes.x3d - (default X3D view from 0 0 10)
 

This viewpoint slideshow is online at
http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter09SensingViewer/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter09SensingViewer/_viewpoints

Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Viewpoint Slideshow X3D Resources