|
![](/i/fill.gif) |
Wasn't it Gyscos who wrote:
>Hello !
>Well i've been trying to use some isosurfaces, i copied the exact source
>code from a tutorial, and the output image is ugly. Why ??
>
>Here is the code :
>
>#include "colors"
>#declare Check1 = pigment {checker color YellowGreen color OrangeRed}
>camera {location <2,1.6,1.2> direction z*1 look_at <0,0,0>}
>box {-1,1 pigment {White transmit .7} no_shadow} //montre le conteneur
>light_source {<40,50,30> White*2}
>
>isosurface {
> function {x*x + y*y + z*0 - 0.5}
> threshold 0
> contained_by {box {-1,1}}
> max_trace 3
> pigment {Check1}
>}
Somehow you've got "max_trace" instead of "max_gradient".
See: http://www.econym.demon.co.uk/isotut/maxgradient.htm
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |