|
|
"Nicolas Alvarez" <nic### [at] gmailisthebestcom> schreef in bericht
news:47c6a742$1@news.povray.org...
>
> Just a minor hint: It would be much easier to debug the basic shape if you
> remove any kind of noise or turbulence.
Sorry about that! You are right. To simplify, the isosurface should read:
isosurface {
function {
max(f_basic(x, 0, z),
-f_hole(y,x*8,z*8),
-f_hole(y-10,x*8,z*8)
#if (Flutes)
#while (Angle<365)
,
#if (Fbase)
-max(f_flute(x*cos(radians(Angle)) -
z*sin(radians(Angle)), 0, x*sin(radians(Angle)) +
z*cos(radians(Angle))), -f_flutebase(x*cos(radians(Angle)) -
z*sin(radians(Angle)), y, x*sin(radians(Angle)) + z*cos(radians(Angle))))
#else
#if (Ftop)
-max(f_flute(x*cos(radians(Angle)) -
z*sin(radians(Angle)), 0, x*sin(radians(Angle)) + z*cos(radians(Angle))),
f_flutetop(x*cos(radians(Angle)) - z*sin(radians(Angle)), y,
x*sin(radians(Angle)) + z*cos(radians(Angle)))),
-(f_flutend(x*cos(radians(Angle)) -
z*sin(radians(Angle)), y, x*sin(radians(Angle)) + z*cos(radians(Angle))))
#else
-(f_flute(x*cos(radians(Angle)) -
z*sin(radians(Angle)), 0, x*sin(radians(Angle)) + z*cos(radians(Angle))))
#end
#end
#local Angle = Angle+15;
#end //of Angle
#end //of flutes
) //end of max()
} //end of function
max_gradient 20.0
contained_by {box {<-1.1, 0, -1.1>, < 1.1, 1, 1.1>}}
accuracy 1e-3
}
Thomas
Post a reply to this message
|
|