HomefieldOfView | SPi-V dev

Legend

  • required
  • not yet implemented

Navigation

user

<cameradynamics>

Description

Specifies the 'feel' of the camera motion relative to mouse movement.

Syntax

<tour>
  <global>
    <meta>
      <cameradynamics 
        rotatepace="0.2" rotateinertia="0.7"
        zoompace="1" zoominertia="0.7" />
      ...
    </meta>
    ...
  <global>
    ...
</tour>

Attributes

  • rotatepace
    Specifies the amount of pan/tilt rotation relative to the mouse movement, as well as the rotate speed when pressing the cursor keys. Higher values make the panorama spin faster with less mouse movement.
    Values: sensible .01 - 2, defaults to .6
  • rotateinertia
    Specifies how the camera's pan/tilt inertia: a measure of how fast the camera rotation speed decays after the mouse is released. If paninertia is set to 0, the camera stops panning immediately when the mouse is released. A value of 1 means that the camera continues rotating in the current speed and direction indefinately.
    Values: 0.0 to 1.0, defaults to 0.8
  • zoompace
    Specifies how fast the camera zooms in out when the zoom keys are pressed, or when zooming using the right mouse button. Higher values make the camera zoom faster.
    Values: sensible 0.1 - 2, defaults to 1
  • zoominertia
    Equivalent to paninertia for zoom.
    Values: 0.0 to 1.0

Children

none

History

  • 12-Feb-08: Changed zoomspeed to zoompace and rotatespeed to rotatepace to reflect changes in SPi-V 1.4.5
  • 16-Oct-04: Updated default values
  • 07-Apr-04: Initial version