|
|
Philippe-H Cadet <del### [at] videotronca> wrote:
: box
: {
...
: translate <0,0,0>
: }
A translate <0,0,0> does nothing. Absolutely nothing.
The 'translate' command does NOT mean "translate to".
It means "translate by". Or "add this vector to the current location".
That's why you should decide what is the center of the object and then
do something like this (supposing that you decide that the center of the
object is located at <1,2,3>):
#declare ObjectCenter = <1,2,3>;
object
{ MyObject
translate -ObjectCenter
rotate whatever
translate ObjectCenter
}
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|