|
![](/i/fill.gif) |
Chris Huff wrote in message <3afbc248@news.povray.org>...
>Wlodzimierz ABX Skiba <abx### [at] abx art pl> wrote:
> > of course all these things are posible with current syntax and
> > macros but it was inspired by my current work and short sigs it was
> > just too much for me to type <-A.x,A.y,A.z> to change sign only for
> > one coordinate
>
> Why not A*<-1,1,1>? Or A-2*x*A?
becouse it is longer than A@yz ;)
as I said I know all kind of symmetry are possible somehow
I just tried (succesfully) collect them to one way
A@0
A@B
A@xy
A@ox
A@plane{y 2 rotate z*30 translate 10}
I don't want pressure to use it. I just offered sharing if anybody find it
usefull.
If any person is also interested I've also added such extension
#local MyArray=array[4][4]{tranform{rotate 10*x translate z}}
which assigns matrix of transformation to array
--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31
Post a reply to this message
|
![](/i/fill.gif) |