|
![](/i/fill.gif) |
Wasn't it quark67 who wrote:
>Hello, how can I remove artifacts in the shadow of an isosurface?
>For exemple, I will compare the image of a sphere and the image of a sphere
>created with isosurface.
>
>This code give a good smoothed shadow :
>camera {location <0,0,-4> look_at 0}
>light_source {<-100,200,-100> color rgb 1}
>sphere {0 1 pigment {rgb .9} }
>
>But if I try the same with an isosurface, this code give artifacts :
>camera {location <0,0,-4> look_at 0}
>light_source {<-100,200,-100> color rgb 1}
>isosurface {
> function{x*x+y*y+z*z-1}
> max_gradient 4
> contained_by{sphere{0,1.1}} open
> pigment {rgb .9}
>}
>
>Please see the pictures that illustrate this here :
>http://quark67.free.fr/isosurface.html
You can decrease the accuracy. In this case try
accuracy 0.00001
The downside is that as the accuracy gets smaller, the render time
increases.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |