|
|
Vadim Sytnikov wrote:
> if(z>0)
> sphere{0 1
> ^-------- (A)
> else
> box{-1 1
> ^--------------(B)
> end
> rotate x* if ( vlength(<x,y,z> > 1 ) 30 else (2+x+y+z) end
> } <-------------------(C)
If you want something different from:
union {
intersection {
sphere { 0,1 }
plane { -z,0}
}
intersection {
box {-1,1}
plane { z,0}
}
rotate ....
}
then you are doomed to work with mesh or rewrite the whole pov-engine.
Especially if you absolutlely want the non-linear transform from the second if.
Then you could make your own SDL, without preprocessor visible level if you wish.
--
Non Sine Numine
http://grimbert.cjb.net/
Puis, s'il advient d'un peu triompher, par hasard,
Post a reply to this message
|
|