|
|
On Thu, 13 Dec 2001 04:24:52 -0600, "bob h" <omn### [at] charternet> wrote:
> > function {y-F_p(x,y,z).hf*.1}
> > and it may also be worthwhile to increase the max_gradient on your
> > second isosurface.
>
> It's a miracle! Well, okay, not exactly a real miracle but close enough. I
> didn't know about this .hf thing before
I was surprised too. I know - RTFM, but ".hf" is noted only in one place (6.5.4.2), it
is connected with function syntax but listed in isosurface chapter and it
is not listed in index. Also I wonder what about below script:
#local P=function{pigment{granite}}
#local F1=function{P(1,2,3).red} // works
#local F2=function{P(1,2,3).hf} // works
#local A1=P(1,2,3).red; // works
#local A2=P(1,2,3).hf; // not
is it bug ?
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
|
|