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

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

User Interactivity Sensor Nodes

A variety of sensors detect user interactivity with a scene, allowing authors to define animation responses in a device-independent, display-independent way.

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
CylinderSensorPumpHouse Cylinder Sensor Pump House A CylinderSensor changes the viewing position of a positive-displacement cylinder pump house.
Doors Doors Two doors activated by different fields from a TouchSensor node.
KeySensorLefty 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.
PlaneSensorPumpHouse Plane Sensor Pump House PlaneSensor on the red handle controls the overall movement of a positive-displacement cylinder pump.
SphereSensorLefty 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.
StringSensor String Sensor A StringSensor example that displays typed text in the world.
TouchSensorPumpHouse Touch Sensor Pump House TouchSensor activated positive-displacement cylinder pump house.
UserInteractivitySensorNodes 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/Chapter08UserInteractivity

Validate XHTML 1.1

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

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

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