home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 2555 / povhlp / skyvectr.hlp < prev    next >
Encoding:
Text File  |  1994-07-05  |  1.1 KB  |  22 lines

  1.     Normally POV-Ray pans left or right by rotating about the Y axis until it
  2.  lines up with the look_at point and then tilts straight up or down until the
  3.  point is met exactly.  However you may want to slant the camera sideways
  4.  like an airplane making a banked turn.  You may change the tilt of the ca-
  5.  mera using the 'sky' vector.  For example:
  6.        camera {
  7.           location <3, 5, -10>
  8.           sky <1, 1, 0>
  9.           look_at <0 ,2 ,1>
  10.        }
  11.  
  12.     This tells POV-Ray to roll the camera until the top of the camera is in
  13.  line with the sky vector.  Imagine that the sky vector is an antenna point-
  14.  ing out of the top of the camera.  Then it uses the 'sky' vector as the axis
  15.  of rotation left or right and then to tilt up or down in line with the 'sky'
  16.  vector.  In effect you're telling POV-Ray to assume that the sky is not
  17.  straight up.
  18.  
  19.     NOTE: The sky vector must appear before the look_at vector.  The sky vec-
  20.  tor does nothing on its own.  It only modifies the way the look_at vector
  21.  turns the camera.  The default value for sky is <0,1,0>.
  22.