Areas
  • J3D FAQ
  • Tutorials
  • Utilities
  • Books
  • News
  • Other Sites
  • FAQ Topics
  • Introduction to Java 3D
  • Documentation
  • Speed issues
  • Running Java 3D
  • Object manipulation
  • Scene appearance
  • Java 3D and Swing
  • Image capturing
  • Stereo viewing
  • Input Devices
  • Textures
  • Web browsers
  • Video Hardware
  • VRML
  •   

    Input Devices

    1. Input Device suppport

    2. Using Serial Devices with Java 3D

    Return to the main FAQ page for more questions and answers.

      

    1. Input Device suppport

    Java3D does not contain direct support for every known 3D input device as this would be an almost impossible task to keep track of. Instead, it provides a interface for you to implement. Implement the InputDevice interface where you may define all the properties of the device and its information. The new device driver is registered with the system with the call

    PhysicalEnvironment.addInputDevice(InputDevice);

    A virtual joystick example is included in the Java 3D examples download.

    Back to top

    2. Using Serial Devices with Java 3D

    You can try using the Java Communications API which is available from http://developer.java.sun.com/developer/earlyAccess/communications.html

    NCSA has used it here to communicate with an Ascension Flock of Birds , and a SpaceOrb 360. See an explanation of what a Space Orb 360 is here .

    Drivers for this are available in NCSA Portfolio .

    Back to top

      

    [ Copyright Info ] [ FAQ Home ] [ J3D.org Home ] [ Tutorials ] [ Utilities ] [ Books ] [ Contact Us ]