POV-Ray : Newsgroups : povray.advanced-users : What do vista and light buffers do? Server Time
30 Jul 2024 02:18:53 EDT (-0400)
  What do vista and light buffers do? (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: Warp
Subject: What do vista and light buffers do?
Date: 30 Aug 2000 10:30:51
Message: <39ad1a9b@news.povray.org>
I asked this in p.general in a thread, but no-one has answered, so I'll ask
it here in its own thread:

  What do vista and light buffers do and how they work? A precise answer from
someone who knows well the algorithm, please.
  I'm very interested in knowing this.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ron Parker
Subject: Re: What do vista and light buffers do?
Date: 30 Aug 2000 10:56:15
Message: <slrn8qq8th.1rd.ron.parker@fwi.com>
On 30 Aug 2000 10:30:51 -0400, Warp wrote:
>  I asked this in p.general in a thread, but no-one has answered, so I'll ask
>it here in its own thread:
>
>  What do vista and light buffers do and how they work? A precise answer from
>someone who knows well the algorithm, please.
>  I'm very interested in knowing this.

Not a precise answer, but...

The vista buffer is a 2-d representation of the locations of the objects in 
the scene, as seen from the camera.  When tracing camera rays, you need only
check the objects at that location in the vista buffer.

The light buffers are similar, one per light, and are used for tracing 
shadow rays.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Nicolas Calimet
Subject: Re: What do vista and light buffers do?
Date: 30 Aug 2000 13:24:02
Message: <39AD45AF.9205D1B6@free.fr>
> The light buffers are similar, one per light, and are used for tracing
> shadow rays.

	Don't know well the algo though...
	For lights these are not only 2D but 3D: a box which
faces have a 2D representation of the objects around. Using light
buffers can be greatly memory expensive if a lot of lights are used
(as in my unique IRTC entry 2 years ago:
http://oz.irtc.org/ftp/pub/stills/1998-08-31/afterain.jpg
) but should speed up almost all scenes. However sometimes light
buffers are not desirable for instance when some objects are not
well projected on the light boxes (it happened me once, but don't
remember exactly how).


*** Nicolas Calimet
*** http://pov4grasp.free.fr


Post a reply to this message

From: Ron Parker
Subject: Re: What do vista and light buffers do?
Date: 30 Aug 2000 14:03:03
Message: <slrn8qqjrs.20f.ron.parker@fwi.com>
On Wed, 30 Aug 2000 19:34:39 +0200, Nicolas Calimet wrote:
>> The light buffers are similar, one per light, and are used for tracing
>> shadow rays.
>
>	Don't know well the algo though...
>	For lights these are not only 2D but 3D: a box which
>faces have a 2D representation of the objects around. Using light

That's still 2D.  

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Warp
Subject: Re: What do vista and light buffers do?
Date: 30 Aug 2000 18:40:54
Message: <39ad8d76@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
: The vista buffer is a 2-d representation of the locations of the objects in 
: the scene, as seen from the camera.

  How does povray determine those 2D areas?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ron Parker
Subject: Re: What do vista and light buffers do?
Date: 30 Aug 2000 23:55:38
Message: <slrn8qrmj7.289.ron.parker@fwi.com>
On 30 Aug 2000 18:40:54 -0400, Warp wrote:
>Ron Parker <ron### [at] povrayorg> wrote:
>: The vista buffer is a 2-d representation of the locations of the objects in 
>: the scene, as seen from the camera.
>
>  How does povray determine those 2D areas?

By projecting the bounding boxes onto a sphere, I suspect.  I've never looked.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Peter Popov
Subject: Re: What do vista and light buffers do?
Date: 31 Aug 2000 02:20:43
Message: <q1urqso7jhiulu1l4eapph6ha112bdff47@4ax.com>
On 30 Aug 2000 23:55:38 -0400, ron### [at] povrayorg (Ron Parker)
wrote:

>>: The vista buffer is a 2-d representation of the locations of the objects in 
>>: the scene, as seen from the camera.
>>
>>  How does povray determine those 2D areas?
>
>By projecting the bounding boxes onto a sphere, I suspect.  I've never looked.

That's one way to put it but maybe it only stores the bounding box
vertices in spherical coordinates with respect to every light source?
That would be faster and less memory consuming, I think.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Warp
Subject: Re: What do vista and light buffers do?
Date: 31 Aug 2000 09:56:13
Message: <39ae63fd@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
: The light buffers are similar, one per light, and are used for tracing 
: shadow rays.

  What about area lights?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nicolas Calimet
Subject: Re: What do vista and light buffers do?
Date: 31 Aug 2000 12:13:55
Message: <39AE86BB.8A3C3FE7@free.fr>
> : The light buffers are similar, one per light, and are used for tracing
> : shadow rays.
> 
>   What about area lights?

	From the POV docs:
	"The light buffer is created by enclosing each light source in an
imaginary box and projecting the bounding box hierarchy onto each of its
six sides. Since this relies on a fixed light source, light buffers will
not be used for area lights."


*** Nicolas Calimet
*** http://pov4grasp.free.fr


Post a reply to this message

From: Ken
Subject: Re: What do vista and light buffers do?
Date: 31 Aug 2000 12:20:15
Message: <39AE84FD.F155D0C0@pacbell.net>
Nicolas Calimet wrote:

>         From the POV docs:
>         "The light buffer is created by enclosing each light source in an
> imaginary box and projecting the bounding box hierarchy onto each of its
> six sides. Since this relies on a fixed light source, light buffers will
> not be used for area lights."

Hey Warp, RTFM !

TeeHee

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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