|
![](/i/fill.gif) |
> #declare surftest =
> isosurface {
> function { pow(x*x+y*y+z*z,3)-pow(3*x*x-y*y-z*z,2)}
> // evaluate 356*Min_factor, sqrt(356/(356*Min_factor)), 0.7
> max_gradient 1500
> all_intersections
> contained_by { sphere { 0 3}}
> clipped_by {box {-3 3}}
> pigment {Red}
> finish { phong 0.6 reflection 0.2 }
> }
>
> JimT
>
A simplification when using evaluate:
sqrt(356/(356*Min_factor)) = sqrt(1/Min_factor)
In this case, the following should work correctly and should be faster:
#declare Min_factor = 0.6;
evaluate 1500*Min_factor, sqrt(1/1Min_factor), 0.7
Alain
Post a reply to this message
|
![](/i/fill.gif) |