POV-Ray : Newsgroups : povray.unofficial.patches : iso bug? Server Time
1 Nov 2024 19:15:41 EDT (-0400)
  iso bug? (Message 1 to 5 of 5)  
From: Tom Melly
Subject: iso bug?
Date: 23 Jun 2000 08:16:10
Message: <3953550a$1@news.povray.org>
Don't know if this has been reported, and I don't know if it is a bug or if
I'm just doing something stupid, but the following code only renders a
portion of the sphere unless you move the camera.

I'm using 3.1g wmp 05a (windows).

#version unofficial MegaPov 0.5;

light_source{<0,0,0> color rgb<1,1,1>1.00 translate <-20000, 20000, -20000>}
camera{location  <1.0, 1.0, -4.0> look_at <0.0, 0.0,  0.0>} //  not okay
//camera{location  <1.0, 1.0, -6.0> look_at <0.0, 0.0,  0.0>} // okay

#declare isoSphere =
isosurface{
  function{x^2 + y^2 + z^2}
  threshold 1
  sign 1
  accuracy .001 eval method 2
  contained_by{box{<-2,-2,-2>,<2,2,2>}}
}

object{
  isoSphere
  pigment{rgb 1}
}


Post a reply to this message

From: Gilles Tran
Subject: Re: iso bug?
Date: 23 Jun 2000 09:11:44
Message: <395361BF.4647367A@inapg.inra.fr>
Tom Melly wrote:

> Don't know if this has been reported, and I don't know if it is a bug or if
> I'm just doing something stupid, but the following code only renders a
> portion of the sphere unless you move the camera.
>

Look for the max_gradient in the stats and replace
  accuracy .001 eval method 2
by
accuracy .001 max_gradient 6

G.


Post a reply to this message

From: Tom Melly
Subject: Re: iso bug?
Date: 23 Jun 2000 09:23:56
Message: <395364ec$1@news.povray.org>
"Gilles Tran" <tra### [at] inapginrafr> wrote in message
news:395361BF.4647367A@inapg.inra.fr...
> Tom Melly wrote:
>
> > Don't know if this has been reported, and I don't know if it is a bug or
if
> > I'm just doing something stupid, but the following code only renders a
> > portion of the sphere unless you move the camera.
> >
>
> Look for the max_gradient in the stats and replace
>   accuracy .001 eval method 2
> by
> accuracy .001 max_gradient 6
>

Many thanks - a quick re-read of the docs combined with your fix, and the
solution seems to be to remove the "method 2". max_gradient 1 is then okay
(or can also be omitted).


Post a reply to this message

From: Gilles Tran
Subject: Re: iso bug?
Date: 23 Jun 2000 09:37:55
Message: <395367E0.994876D7@inapg.inra.fr>
There's a thorough explanation for this behaviour in Mike Williams' tutorial
here :
http://www.econym.demon.co.uk/isotut/keywords.htm
Sometimes method 1 is enough, sometimes not...
G.

Tom Melly wrote:

> Many thanks - a quick re-read of the docs combined with your fix, and the
> solution seems to be to remove the "method 2". max_gradient 1 is then okay
> (or can also be omitted).


Post a reply to this message

From: Tom Melly
Subject: Re: iso bug?
Date: 23 Jun 2000 10:10:14
Message: <39536fc6@news.povray.org>
"Gilles Tran" <tra### [at] inapginrafr> wrote in message
news:395367E0.994876D7@inapg.inra.fr...
> There's a thorough explanation for this behaviour in Mike Williams'
tutorial
> here :
> http://www.econym.demon.co.uk/isotut/keywords.htm
> Sometimes method 1 is enough, sometimes not...
> G.
>

An essential site, whether you know what you are doing or not! (and the
source of the parameters that gave me the trouble in the first place).


Post a reply to this message

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