POV-Ray : Newsgroups : povray.general : Media Alignment ? Server Time
15 Nov 2024 13:23:01 EST (-0500)
  Media Alignment ? (Message 1 to 8 of 8)  
From: Ken
Subject: Media Alignment ?
Date: 18 Jan 1999 05:20:02
Message: <36A30A4C.A2BD23CA@pacbell.net>
On a recent scene I was working on ( see povray images "If you can't go
to heaven") I was using media inside of a plane. I could only see the media
when the camera is inside the plane and not while outside. Why ?
The plane used is at y*0 with the camera at y*-2 using planar for the
density type. If I put the camera at y*2 or even y*20 with the look_at
at y*-10 to make sure I'm pointed an the surface of the plane the media is
still invisible in the scene.

--
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Ken
Subject: Re: Media Alignment ?
Date: 18 Jan 1999 05:40:07
Message: <36A30F01.82E05509@pacbell.net>
Ken wrote:

> On a recent scene I was working on ( see povray images "If you can't go
> to heaven") I was using media inside of a plane. I could only see the media
> when the camera is inside the plane and not while outside. Why ?
> The plane used is at y*0 with the camera at y*-2 using planar for the
> density type. If I put the camera at y*2 or even y*20 with the look_at
> at y*-10 to make sure I'm pointed an the surface of the plane the media is
> still invisible in the scene.
>
> --
> Ken Tyler
>
> tyl### [at] pacbellnet

Perhaps Ken it is because a plane is not a closed container ?

--
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Marc Schimmler
Subject: Re: Media Alignment ?
Date: 18 Jan 1999 05:59:12
Message: <36A313FF.1E26DEA4@ica.uni-stuttgart.de>
Ken wrote:
> 
> Ken wrote:
> 
> > On a recent scene I was working on ( see povray images "If you can't go
> > to heaven") I was using media inside of a plane. I could only see the media
> > when the camera is inside the plane and not while outside. Why ?
> > The plane used is at y*0 with the camera at y*-2 using planar for the
> > density type. If I put the camera at y*2 or even y*20 with the look_at
> > at y*-10 to make sure I'm pointed an the surface of the plane the media is
> > still invisible in the scene.
> >
> > --
> > Ken Tyler
> >
> > tyl### [at] pacbellnet
> 
> Perhaps Ken it is because a plane is not a closed container ?
> 
> --
> Ken Tyler
> 
> tyl### [at] pacbellnet


I see you doing your best to stay at the top of the stats!  :-)


Marc
-- 
Marc Schimmler


Post a reply to this message

From: Ron Parker
Subject: Re: Media Alignment ?
Date: 18 Jan 1999 09:59:25
Message: <36a34c4d.0@news.povray.org>
On Mon, 18 Jan 1999 02:37:53 -0800, Ken <tyl### [at] pacbellnet> wrote:
>Ken wrote:
>
>> On a recent scene I was working on ( see povray images "If you can't go
>> to heaven") I was using media inside of a plane. I could only see the media
>> when the camera is inside the plane and not while outside. Why ?
>> The plane used is at y*0 with the camera at y*-2 using planar for the
>> density type. If I put the camera at y*2 or even y*20 with the look_at
>> at y*-10 to make sure I'm pointed an the surface of the plane the media is
>> still invisible in the scene.
>>
>> --
>> Ken Tyler
>>
>> tyl### [at] pacbellnet
>
>Perhaps Ken it is because a plane is not a closed container ?

That's about right.  For fun, try putting another object inside the
plane. Then you'll be able to see media from outside the plane, but only 
in the places where the ray ends up hitting the other object (even if
the object itself is completely invisible.)  

POV only calculates media effects along a ray after it determines the 
exit point for the ray.  Planes, being infinite, tend not to have exit 
points unless the ray enters another object or starts from inside the 
plane.  (And not all rays that start inside the plane have exit points:
try pointing your camera parallel to the plane when it's inside for 
another weird effect) To fix this, you might try adding another plane 
with the same normal but situated below the plane you're working with, 
or you might try using a large box.


Post a reply to this message

From: Ken
Subject: Re: Media Alignment ?
Date: 18 Jan 1999 10:22:06
Message: <36A35117.DEA3C1D5@pacbell.net>
That's about the response I expected. Thanks.

--
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Spider
Subject: Re: Media Alignment ?
Date: 18 Jan 1999 16:07:57
Message: <36A3A1B3.69FDDF02@bahnhof.se>
I thought I read somewhere in the doc's that it is calculated if inside a hollow
object,
otherways not, (calculating in and outside)

//Spider

Ron Parker wrote:
> 
> On Mon, 18 Jan 1999 02:37:53 -0800, Ken <tyl### [at] pacbellnet> wrote:
> >Ken wrote:
> >
> >> On a recent scene I was working on ( see povray images "If you can't go
> >> to heaven") I was using media inside of a plane. I could only see the media
> >> when the camera is inside the plane and not while outside. Why ?
> >> The plane used is at y*0 with the camera at y*-2 using planar for the
> >> density type. If I put the camera at y*2 or even y*20 with the look_at
> >> at y*-10 to make sure I'm pointed an the surface of the plane the media is
> >> still invisible in the scene.
> >>
> >> --
> >> Ken Tyler
> >>
> >> tyl### [at] pacbellnet
> >
> >Perhaps Ken it is because a plane is not a closed container ?
> 
> That's about right.  For fun, try putting another object inside the
> plane. Then you'll be able to see media from outside the plane, but only
> in the places where the ray ends up hitting the other object (even if
> the object itself is completely invisible.)
> 
> POV only calculates media effects along a ray after it determines the
> exit point for the ray.  Planes, being infinite, tend not to have exit
> points unless the ray enters another object or starts from inside the
> plane.  (And not all rays that start inside the plane have exit points:
> try pointing your camera parallel to the plane when it's inside for
> another weird effect) To fix this, you might try adding another plane
> with the same normal but situated below the plane you're working with,
> or you might try using a large box.


Post a reply to this message

From: Ron Parker
Subject: Re: Media Alignment ?
Date: 18 Jan 1999 16:42:37
Message: <36a3aacd.0@news.povray.org>
On Mon, 18 Jan 1999 22:03:47 +0100, Spider <spi### [at] bahnhofse> wrote:
>I thought I read somewhere in the doc's that it is calculated if inside a hollow
object,
>otherways not, (calculating in and outside)

That is true, too, but the effect I think Ken is seeing is not
simply due to the presence or absence of the 'hollow' keyword.
Try it: make a hollow plane and put media in it.  You won't be
able to see the media.  Add a completely transparent sphere
below the plane, and you'll see a roughly-circular spot of media.

----------------------------
plane {y, 0 hollow pigment {color rgbt 1} interior {media {emission red .1}}}
  
/* uncomment the next line to see the media */
//sphere {-y, .5 pigment {color rgbt 1}}
     
camera {location -8*z look_at 0}
----------------------------


Post a reply to this message

From: Spider
Subject: Re: Media Alignment ?
Date: 18 Jan 1999 17:14:51
Message: <36A3B161.B8DE308E@bahnhof.se>
I know this( I doubt anyone of you would make that mistake) , but what I wondered
about is
what more there is that I have missed... I thought this "feature" was documented ;-)


//Spider
Ron Parker wrote:
> 
> On Mon, 18 Jan 1999 22:03:47 +0100, Spider <spi### [at] bahnhofse> wrote:
> >I thought I read somewhere in the doc's that it is calculated if inside a hollow
object,
> >otherways not, (calculating in and outside)
> 
> That is true, too, but the effect I think Ken is seeing is not
> simply due to the presence or absence of the 'hollow' keyword.
> Try it: make a hollow plane and put media in it.  You won't be
> able to see the media.  Add a completely transparent sphere
> below the plane, and you'll see a roughly-circular spot of media.
> 
> ----------------------------
> plane {y, 0 hollow pigment {color rgbt 1} interior {media {emission red .1}}}
> 
> /* uncomment the next line to see the media */
> //sphere {-y, .5 pigment {color rgbt 1}}
> 
> camera {location -8*z look_at 0}
> ----------------------------


Post a reply to this message

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