Table of Contents Previous Viewpoint Slideshow    Viewpoint Slideshow Next Viewpoint Slideshow X3D Resources

X3D Example Archives: VRML 2.0 Sourcebook, Chapter 09 - Sensing Viewer

[1] Figure09.1SpinningCubeTouchSensor.x3d - (default X3D view from 0 0 10)

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
Figure 09.1 Spinning Cube Touch Sensor       [1] Figure09.1SpinningCubeTouchSensor.x3d - (default X3D view from 0 0 10)

Figure 09.1 Spinning Cube Touch Sensor With Axes       [2] Figure09.1SpinningCubeTouchSensorWithAxes.x3d - (default X3D view)

Figure 09.2 Spinning Cube Touch Sensor Clicked       [3] Figure09.2SpinningCubeTouchSensorClicked.x3d - (default X3D view)

Figure 09.2 Spinning Cube Touch Sensor Clicked With Axes       [4] Figure09.2SpinningCubeTouchSensorClickedWithAxes.x3d -

Figure 09.3 Cone Plane Sensor       [5] Figure09.3ConePlaneSensor.x3d - (default X3D view from 0 0 10)

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

Figure 09.4 Cone Plane Sensor Constrained       [7] Figure09.4ConePlaneSensorConstrained.x3d - (default X3D view)

Figure 09.4 Cone Plane Sensor Constrained With Axes       [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)

Figure 09.5 Four Stacking Blocks       [11] Figure09.5FourStackingBlocks.x3d - Hello Cubes.

  [12] Figure09.5FourStackingBlocks.x3d - (default X3D view from 0 0 10)

Figure 09.5 Four Stacking Blocks With Axes       [13] Figure09.5FourStackingBlocksWithAxes.x3d - Hello Cubes.

  [14] Figure09.5FourStackingBlocksWithAxes.x3d - (default X3D view)

Figure 09.6 Sphere Sensor       [15] Figure09.6SphereSensor.x3d - (default X3D view from 0 0 10)

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

Figure 09.7 Cylinder Sensor       [17] Figure09.7CylinderSensor.x3d - (default X3D view from 0 0 10)

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

Figure 09.8 Click Drag Touch Sensor Plane Sensor       [19] Figure09.8ClickDragTouchSensorPlaneSensor.x3d - (default X3D view)

Figure 09.8 Click Drag Touch Sensor Plane Sensor With Axes       [20] Figure09.8ClickDragTouchSensorPlaneSensorWithAxes.x3d -

Figure 09.9 Desk Lamp       [21] Figure09.9DeskLamp.x3d - Desk lamp

  [22] Figure09.9DeskLamp.x3d - (default X3D view from 0 0 10)

Figure 09.9 Desk Lamp With Axes       [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/Vrml2.0Sourcebook/Chapter09-SensingViewer/viewpointSlideshow.html

Viewpoint image version history at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter09-SensingViewer/_viewpoints

Table of Contents Previous Viewpoint Slideshow    Viewpoint Slideshow Next Viewpoint Slideshow X3D Resources