POV-Ray : Newsgroups : povray.general : "volume" lights Server Time
2 Nov 2024 17:17:55 EDT (-0400)
  "volume" lights (Message 1 to 9 of 9)  
From: SharkD
Subject: "volume" lights
Date: 7 Dec 2008 06:35:01
Message: <web.493bb430a1eea09fa3cd40010@news.povray.org>
One of the limitations of area lights is that the light they cast is different
depending on the angle. What is the best way to create a light that casts soft
shadows, but does so equally in each direction?

-Mike


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: "volume" lights
Date: 7 Dec 2008 08:03:45
Message: <493bc9b1$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SharkD wrote:
> One of the limitations of area lights is that the light they cast is different
> depending on the angle. What is the best way to create a light that casts soft
> shadows, but does so equally in each direction?
> 
	Add "orient" to your area light and it will turn to always face in
the right direction.

		Jerome
- --
mailto:jeb### [at] freefr
http://jeberger.free.fr
Jabber: jeb### [at] jabberfr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkk7yicACgkQd0kWM4JG3k+OMwCcD83E24cl6GwKoMRtlvkMwYNt
1H4AoJkA+BG8zVAtHC1HLSpVDCSm2XQ/
=L1dx
-----END PGP SIGNATURE-----


Post a reply to this message

From: SharkD
Subject: Re: "volume" lights
Date: 7 Dec 2008 08:25:00
Message: <web.493bcdf0991b1dd0bb691c840@news.povray.org>
=?ISO-8859-1?Q?=22J=E9r=F4me_M=2E_Berger=22?= <jeb### [at] freefr> wrote:
>  Add "orient" to your area light and it will turn to always face in
> the right direction.

This doesn't eliminate the problem whereby the light source only casts the
shadows properly in a single direction.

-Mike


Post a reply to this message

From: Zeger Knaepen
Subject: Re: "volume" lights
Date: 7 Dec 2008 09:01:10
Message: <493bd726$1@news.povray.org>
"SharkD" <nomail@nomail> wrote in message 
news:web.493bcdf0991b1dd0bb691c840@news.povray.org...
> =?ISO-8859-1?Q?=22J=E9r=F4me_M=2E_Berger=22?= <jeb### [at] freefr> wrote:
>>  Add "orient" to your area light and it will turn to always face in
>> the right direction.
>
> This doesn't eliminate the problem whereby the light source only casts the
> shadows properly in a single direction.

uhm... that's *exactly* what it eliminates, no?

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: SharkD
Subject: Re: "volume" lights
Date: 7 Dec 2008 11:35:01
Message: <web.493bfb07991b1dd0bb691c840@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote:
> uhm... that's *exactly* what it eliminates, no?

No, it doesn't. I want the light source to light an entire scene evenly.
Rotating the light source just means the angle has *changed*. It doesn't
*increase* the number of angles. It still only points to one location.

-Mike


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: "volume" lights
Date: 7 Dec 2008 11:40:34
Message: <493bfc82@news.povray.org>
SharkD wrote:
> "Zeger Knaepen" <zeg### [at] povplacecom> wrote:
>> uhm... that's *exactly* what it eliminates, no?
> 
> No, it doesn't. I want the light source to light an entire scene evenly.
> Rotating the light source just means the angle has *changed*. It doesn't
> *increase* the number of angles. It still only points to one location.

"orient" rotates the light to face in the right direction *individually for
every ray*. Each time the shadow is calculated, the area light will be
pointing at the point being tested.


Post a reply to this message

From: SharkD
Subject: Re: "volume" lights
Date: 7 Dec 2008 13:10:00
Message: <web.493c1113991b1dd0bb691c840@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> wrote:
> "orient" rotates the light to face in the right direction *individually for
> every ray*. Each time the shadow is calculated, the area light will be
> pointing at the point being tested.

Oh! Awesome! I didn't realize that.

-Mike


Post a reply to this message

From: Jim Charter
Subject: Re: "volume" lights
Date: 7 Dec 2008 13:11:29
Message: <493c11d1@news.povray.org>
Nicolas Alvarez wrote:
> SharkD wrote:
> 
>>"Zeger Knaepen" <zeg### [at] povplacecom> wrote:
>>
>>>uhm... that's *exactly* what it eliminates, no?
>>
>>No, it doesn't. I want the light source to light an entire scene evenly.
>>Rotating the light source just means the angle has *changed*. It doesn't
>>*increase* the number of angles. It still only points to one location.
> 
> 
> "orient" rotates the light to face in the right direction *individually for
> every ray*. Each time the shadow is calculated, the area light will be
> pointing at the point being tested.
> 
Sounds like you want to broaden the area of the 'grid' of lights.  Best 
results are usually around 10% of the distance to the light source.  If 
you want more softness than that you can have by increasing the area of 
the grid, but need to seriousless increase the 'number' of lights in the 
grid too.  Use 'adaptive' in that case.  Remember this only affects 
shadows though, the highlight will still be a point.  This features gets 
good effects in a broad range of normal cases.  THe serach for 
convincing soft diffuse lighting has lead many to improvise 'dome 
lighting' systems.  Just search the ng's


Post a reply to this message

From: clipka
Subject: Re: "volume" lights
Date: 7 Dec 2008 14:00:01
Message: <web.493c1cc3991b1dd08f4fceef0@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> One of the limitations of area lights is that the light they cast is different
> depending on the angle. What is the best way to create a light that casts soft
> shadows, but does so equally in each direction?
>
> -Mike

Adding the "circular" and "orient" keywords to your area lights will do exactly
what you're looking for.


Post a reply to this message

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