home *** CD-ROM | disk | FTP | other *** search
- An object or texture pattern may be moved by adding a 'translate' para-
- meter. It consists of the keyword 'translate' followed by a vector. The
- terms of the vector specify the number of units to move in each of the x, y,
- and z directions. Translate moves the element relative to it's current po-
- sition. For example:
- sphere {
- <10, 10, 10>, 1
- pigment { Green }
- translate <-5, 2, 1>
- }
-
- Will move the sphere from <10, 10, 10> to <5, 12, 11>. It does not move
- it to absolute location <5, 2, 1>. Translating by zero will leave the ele-
- ment unchanged on that axis. For example:
- sphere {
- <10, 10, 10>, 1
- pigment { Green }
- translate <0, 0, 0>
- }
- will not move the sphere at all.
-