home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 2555 / povhlp / translte.hlp < prev    next >
Encoding:
Text File  |  1994-07-07  |  801 b   |  21 lines

  1.     An object or texture pattern may be moved by adding a 'translate' para-
  2.  meter.  It consists of the keyword 'translate' followed by a vector.  The
  3.  terms of the vector specify the number of units to move in each of the x, y,
  4.  and z directions.  Translate moves the element relative to it's current po-
  5.  sition.  For example:
  6.        sphere {
  7.           <10, 10, 10>, 1
  8.           pigment { Green }
  9.           translate <-5, 2, 1>
  10.        }
  11.  
  12.     Will move the sphere from <10, 10, 10> to <5, 12, 11>.  It does not move
  13.  it to absolute location <5, 2, 1>.  Translating by zero will leave the ele-
  14.  ment unchanged on that axis.  For example:
  15.        sphere {
  16.           <10, 10, 10>, 1
  17.           pigment { Green }
  18.           translate <0, 0, 0>
  19.        }
  20.  will not move the sphere at all.
  21.