|
![](/i/fill.gif) |
On Sat, 10 Nov 2001 17:04:55 +0100, "Rune" <run### [at] mobilixnet dk> wrote:
> Can anybody make it more effecient? ~130 lines is quite a lot for such a
> macro.
It could be much shorten but as I showed in another thread some constructions
not work (http://news.povray.org/0qjittsg3bmv8422pj5egqvo8p4sg9p36h@4ax.com)
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
![](/i/fill.gif) |