Using Controls in PTViewer

    Viewer Instructions: This example demostrates the use of the internal 'ptviewer:' commands. Several are linked to static hotspots:
  1. New loads a new panoramic image from the list, in this example the same panorama.
  2. Castle uses the function gotoView() to jump to a specific location.
  3. Move uses the function moveTo() to smoothly pan from your current position to a specified location.
  4. Sound plays a soundfile from a list.
  5. JMF plays the same soundfile using Java Media Framework (only if this is installed).
  6. This example also demonstrates the use of popup sounds (streetlight) and warped hotspots (use moveTo, then make hotspots visible by pressing the space bar).