|
|
On 10 Oct 2001 16:09:55 -0400, dav### [at] intrepidvoygrcom wrote:
>Heah all, I know I've read this somewhere before..
>
>And I know I've fixed it.. but I can't seem to figure out this warning.
>
>I mean, I understand it, but I'm not sure how to fix it:
>
>Warning: Camera is inside a non-hollow object. Fog and participating media may not
work as expected.
>
>Now I have my Camera at:
><0, 2, -10>
>and only have two objects.. a plane that is -y*6, 1 and a sphere at the origin that
>has a diameter of 3.
Why would you use a normal of -y*6?
In any event: the inside of the plane is the side away from the normal,
which in this case is every coordinate with y greater than -6. That
includes your camera. The easiest fix is to add the keyword "inverse" to
the plane. The best fix is to change it to plane {y,-6} which will give
the same visual results but invert the insideness of the plane.
--
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}
Post a reply to this message
|
|