POV-Ray : Newsgroups : povray.newusers : Isosurfaces doesn't work very well... : Re: Isosurfaces doesn't work very well... Server Time
29 Jul 2024 06:18:25 EDT (-0400)
  Re: Isosurfaces doesn't work very well...  
From: Mike Williams
Date: 13 May 2006 05:57:12
Message: <ada14HAwaaZEFwA0@econym.demon.co.uk>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.