|
|
Has there ever been a time when you have wanted to create a mirror image of
an object? It's easy. Here is a simple example:
#declare foo=union{
// Your Objects Here
}
object{foo}
object{foo scale <-1,1,1>}
This example will create a mirror image of object foo across the x-axis. The
key to this trick is the scale of -1 in the x axis component of the vector.
This will work in any axis. Just thought that some of the newbies here might
find this trick useful.
Tyler
Post a reply to this message
|
|
|
|
Tyler Eaves wrote:
> Just thought that some of the newbies here might
> find this trick useful.
>
> Tyler
Us oldbies know about it but you are correct in that it is a good
time saver if you just need to mirror an object.
--
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
|
|
Perhaps a good entry for the VFAQ (although I haven't seen it asked very
much, though).
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|