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