|
|
On Fri, 09 Nov 2001 08:51:20 -0500, "Greg M. Johnson"
<"gregj56590[:-0]"@aol.com> wrote:
>Q: How could I have turned it back? I want the same variable name, just
>altered so that pov will think it's a 3 dimensional vector.
You want something like this ?
#declare V=<1,2,3,4,5>;
#debug str(vlength(V),0,-1) // create parse error
#declare Temp=V;
#declare V=<V.x,V.y,V.z>;
#debug str(vlength(V),0,-1)
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
|
|