POV-Ray : Newsgroups : povray.beta-test : problem with isosurface: beta 1: windows : Re: problem with isosurface: beta 1: windows Server Time
31 Jul 2024 00:26:19 EDT (-0400)
  Re: problem with isosurface: beta 1: windows  
From: Mike Williams
Date: 18 Sep 2001 03:20:22
Message: <c9zcCJAsSvp7Ewt8@econym.demon.co.uk>
Wasn't it anoop who wrote:
>Hi,
>
>Am getting a weird result with this (can anybody with beta2 confirm?):
>    isosurface {
>        function {(x+y)^3}
>        contained_by {sphere {0, 2}}
>        pigment {color rgb <.5, .35, .15>}
>}
>Atleast I *think* I am (since I'm learning isosurfaces using the docs)
>and megapov seems to confirm it. I'm using povray3.5 beta1 on a win98
>machine.

This particular function needs a largish max_gradient. Try adding
"max_gradient 10". Also, adding "open" to the end of your contained by
may[1] help you see the actual surface, rather than the edge of your
contained_by object.

Here's a complete scene that shows the surface behaving correctly in
3.5b2

camera { location  <1, 0, -4> look_at 0}

sky_sphere { pigment {rgb z}}

light_source {<100,100,-200> colour rgb 2}

isosurface {
  function {(x+y)^3}
  max_gradient 10
  contained_by {sphere {0, 2}}  open
  pigment {color rgb <.5, .35, .15>}
}

My Isosurface Tutorial has now been updated to include 3.5 syntax if
that helps <http://www.econym.demon.co.uk/isotut/index.htm>. In
particular the page of that tutorial relevant to this situation is
<http://www.econym.demon.co.uk/isotut/maxgradient.htm>


[1]Depending on which side of the plane you've positioned your camera.
-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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