|
|
In article <3c7bec2d@news.povray.org>,
"Lieut_Data" <lIe### [at] yahOOcom> wrote:
> #declare my_box = box {...}
>
> translate {<my_box.x, my_box.y, my_box.z>}
>
> I dont think this is possible, as not all objects have a center (am I
> right?) and Povray only moves the whole item so many places when
> translating, and does not reposition the center... but it would be nice...
Right. Not all objects have a single point that can be defined as the
"center", the definition is different for every object, and is often
useless for most purposes. A common technique is to create shapes around
the origin (point < 0, 0, 0>) and move them to where you want them, this
makes it easier to track where the object as a whole is. Really, you
care more about the surfaces and size of the object than a point
somewhere in it's middle.
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|