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

X3D Example Archives: X3D for Web Authors, Chapter 08 - User Interactivity

User Interactivity Sensor Nodes

User interactivity is accomplished by sensing user actions, which create events that are sent via ROUTE connections.

Sensor output values are produced by LoadSensor, CylinderSensor, PlaneSensor, KeySensor and StringSensor nodes.

The supporting Chapter 8 slideset and course videos (NPS, YouTube) for X3D for Web Authors are available online via X3dGraphics.com.

  8 X3D Scenes       Scene Descriptions
Cylinder Sensor Pump House A CylinderSensor changes the viewing position of a positive-displacement cylinder pump house.
Doors Two doors activated by different fields from a TouchSensor node.
Key Sensor - Lefty A KeySensor is used to change relative Viewpoints looking at the shark Lefty, while a SphereSensor can also rotate Lefty in place.
Plane Sensor - Pump House PlaneSensor on the red handle controls the overall movement of a positive-displacement cylinder pump.
Sphere Sensor - Lefty Using a separate SphereSensor, Lefty shark can be oriented in any direction by remote control. Navigation locked so that no other scene rotation is possible.
String Sensor A StringSensor example that displays typed text in the world.
Touch Sensor - Pump House TouchSensor activated positive-displacement cylinder pump house.
User Interactivity Sensor Nodes A collection of all of the user interactivity sensor nodes: TouchSensor, PlaceSensor, CylinderSensor, SphereSensor, KeySensor, and StringSensor.

Online at http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter08-UserInteractivity

Validate XHTML 1.1

Master source code archive is under subversion control at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter08-UserInteractivity

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

Also available: current and archived nightly builds and distributions of these examples, all published under an Open-Source License.

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.