POV-Ray : Newsgroups : povray.unofficial.patches : Something fresh - symetry operator patch : Re: Something fresh - symetry operator patch Server Time
20 Jul 2024 21:23:21 EDT (-0400)
  Re: Something fresh - symetry operator patch  
From: Ron Parker
Date: 11 May 2001 08:46:47
Message: <slrn9fnnps.m36.ron.parker@fwi.com>
On Fri, 11 May 2001 09:04:59 +0200, Wlodzimierz ABX Skiba wrote:
>x and x+y has meaning of vectors in POV (center of symetry)
>ox is not <1,0,0> but axis x

But there's no difference.

>xy is not <1,1,0> but plane contained axes x and y

Okay, this part is different.  That would need another macro

>and patch becouse now I'm adding support for plane{}
>#local B=A@plane{y 1 rotate C translate z}

And that macro would happily do this part as well.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.