|
|
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
|
|
|
|
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
|
|
|
|
"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
|
|
|
|
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
|
|
|
|
"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
|
|