POV-Ray : Newsgroups : povray.general : Camera Question Server Time
20 Nov 2024 08:40:36 EST (-0500)
  Camera Question (Message 1 to 7 of 7)  
From: dave
Subject: Camera Question
Date: 10 Oct 2001 16:09:55
Message: <3bc4ab13@news.povray.org>
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.

I'm not sure why I'm getting the message.. Any help would be great

Thanks
D


Post a reply to this message

From: Ron Parker
Subject: Re: Camera Question
Date: 10 Oct 2001 16:14:25
Message: <slrn9s9b12.9vb.ron.parker@fwi.com>
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

From: JRG
Subject: Re: Camera Question
Date: 10 Oct 2001 16:15:43
Message: <3bc4ac6f@news.povray.org>
Your plane's normal is pointing downwards, which makes your camera inside
the *interior* of the plane.
I would suggest you to use normalized normal, so that it's easy to know
where your plane really is.
I mean, simply use: plane {y, height_you_want_your_plane_to_be}

--
Jonathan

<dav### [at] intrepidvoygrcom> ha scritto nel messaggio
news:3bc4ab13@news.povray.org...
> 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.
>
> I'm not sure why I'm getting the message.. Any help would be great
>
> Thanks
> D
>


Post a reply to this message

From: Slime
Subject: Re: Camera Question
Date: 10 Oct 2001 16:28:23
Message: <3bc4af67$1@news.povray.org>
If for some reason you *want* your plane to have the normal facing down (for
instance, if you want it to have something in the interior like an IOR or
media), specify "hollow" and media will work fine inside of it.

plane {-y,6 hollow}

--
- Slime
[ http://www.slimeland.com/ ]
[ http://www.slimeland.com/images/ ]
<dav### [at] intrepidvoygrcom> wrote in message news:3bc4ab13@news.povray.org...
> 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.
>
> I'm not sure why I'm getting the message.. Any help would be great
>
> Thanks
> D
>


Post a reply to this message

From: dave
Subject: Re: Camera Question
Date: 10 Oct 2001 16:28:33
Message: <3bc4af70@news.povray.org>
Thanks to all.. look for another message upcoming.. ;)

Dave

JRG <jrg### [at] hotmailcom> wrote:
> Your plane's normal is pointing downwards, which makes your camera inside
> the *interior* of the plane.
> I would suggest you to use normalized normal, so that it's easy to know
> where your plane really is.
> I mean, simply use: plane {y, height_you_want_your_plane_to_be}

> --
> Jonathan

> <dav### [at] intrepidvoygrcom> ha scritto nel messaggio
> news:3bc4ab13@news.povray.org...
>> 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.
>>
>> I'm not sure why I'm getting the message.. Any help would be great
>>
>> Thanks
>> D
>>


Post a reply to this message

From: dave
Subject: Re: Camera Question
Date: 10 Oct 2001 16:30:47
Message: <3bc4aff6@news.povray.org>
I realized I was thinking of PLANE wrong... I don't use it much, so I was just
mistaken
of syntax.. :)

Thanks
D

JRG <jrg### [at] hotmailcom> wrote:
> Your plane's normal is pointing downwards, which makes your camera inside
> the *interior* of the plane.
> I would suggest you to use normalized normal, so that it's easy to know
> where your plane really is.
> I mean, simply use: plane {y, height_you_want_your_plane_to_be}

> --
> Jonathan

> <dav### [at] intrepidvoygrcom> ha scritto nel messaggio
> news:3bc4ab13@news.povray.org...
>> 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.
>>
>> I'm not sure why I'm getting the message.. Any help would be great
>>
>> Thanks
>> D
>>


Post a reply to this message

From: Rune
Subject: Re: Camera Question
Date: 10 Oct 2001 19:02:02
Message: <3bc4d36a@news.povray.org>
dav### [at] intrepidvoygrcom wrote:
> Warning:  Camera is inside a non-hollow object.

> and only have two objects.. a plane that is -y*6, 1

You have set the normal of your plane to point downwards rather than
upwards.

The plane should be y, -6

Hope that helps,

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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