POV-Ray : Newsgroups : povray.unofficial.patches : isosurface bug? : Re: isosurface bug? Server Time
2 Sep 2024 04:18:16 EDT (-0400)
  Re: isosurface bug?  
From: Pabs
Date: 14 May 2000 23:07:50
Message: <391F6A2F.52A86C22@hotmail.com>
hall wrote:

> I tried the following two scenes in MegaPOV, and expected to get a unit
> sphere in both of them, needless to say this did not happpen.  The first
> rendered the expected sphere, the second didn't.  Is this a bug or am I just
> not seeing a stupid mistake?  Any help would be appreciated--Quadhall.
>
> *****************
> scene 1
> #version unofficial MegaPOV 0.4;
> light_source { <0,0,-8> 1}
> camera { location <0,0,-5> look_at <0,0,0> }
> isosurface
> {
>  function {sqrt(sqr(x)+sqr(y)+sqr(z))}
>  contained_by{sphere {0,4}}
>  threshold 1
>  pigment{color rgb <1,1,1>}
> }
> ***********************
> scene 2
> version unofficial MegaPOV 0.4;
> light_source { <0,0,-8> 1}
> camera { location <0,0,-5> look_at <0,0,0> }
> isosurface
> {
>  function {(sqr(x)+sqr(y)+sqr(z))}
>  contained_by{sphere {0,4}}
>  threshold 1
>  pigment{color rgb <1,1,1>}
> }

I think because you have used the same bounding object, but not sqrt'ed the
second iso the surface is outside your contained_by object or something

Just an idea
Pabs


Post a reply to this message

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