POV-Ray : Newsgroups : povray.unofficial.patches : Shadowless spotlights, Server Time
2 Sep 2024 04:19:27 EDT (-0400)
  Shadowless spotlights, (Message 11 to 17 of 17)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: ryan constantine
Subject: Re: Shadowless spotlights,
Date: 3 Aug 2000 16:36:07
Message: <3989D792.8CC89312@yahoo.com>
> I think you are right...area lights only affect shadows, the shading is
> the same as for point lights.

is this true?  i thought area lights were made of several point lights. 
if what you are saying is true, than if my area light is bigger than my
object (a sphere for example) the light side is only one hemisphere
instead of more than a hemisphere?  that seems wrong to me.  take the
following sketches for further example:

0----0----0----0<---area light           0 <--point light
        0<-sphere                        0<-sphere

in example one it seems to me that light from the outer edges of the
area light should get farther underneath the point light than in example
two.  example two should light less than one hemisphere and example one
should light way more than a hemisphere.  in my opinion, if this isn't
how it works, it's wrong and should be fixed.


Post a reply to this message

From: Ron Parker
Subject: Re: Shadowless spotlights,
Date: 3 Aug 2000 17:23:11
Message: <slrn8ojpdc.9fi.ron.parker@fwi.com>
On Thu, 03 Aug 2000 13:35:30 -0700, ryan constantine wrote:
>in example one it seems to me that light from the outer edges of the
>area light should get farther underneath the point light than in example
>two.  example two should light less than one hemisphere and example one
>should light way more than a hemisphere.  in my opinion, if this isn't
>how it works, it's wrong and should be fixed.

That's not how it works.  That's even not how it's documented to work:

|  The area_light keyword in POV-Ray creates sources that are rectangular 
|  in shape, sort of like a flat panel light. Rather than performing the 
|  complex calculations that would be required to model a true area light, 
|  it is approximated as an array of point light sources spread out over 
|  the area occupied by the light. The array-effect applies to shadows only. 
|  The object's illumination is still that of a point source. The intensity 
|  of each individual point light in the array is dimmed so that the total 
|  amount of light emitted by the light is equal to the light color specified 
|  in the declaration. 

If you want "real" area lights, use an array of point lights.  Be aware that 
that will make your render time a lot slower; so would "fixing" the current
implementation.

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


Post a reply to this message

From: ryan constantine
Subject: Re: Shadowless spotlights,
Date: 4 Aug 2000 03:23:03
Message: <398A6F2E.A4AE4F8A@yahoo.com>
> That's not how it works.  That's even not how it's documented to work:

so that should mean there are self shadow errors because parts that
would be lit be a real area light aren't lit and can't cast shadows
right?  and what about parts that aren't lit that would contribute to a
cast shadow on another object?  i've read the docs over and over, but
you know you always catch something new each time, and i just hadn't
caught what you quoted to me.  thanks.  i still wish it worked right. 
i'll have to keep point arrays in mind for the future.


Post a reply to this message

From: Ken
Subject: Re: Shadowless spotlights,
Date: 4 Aug 2000 03:43:13
Message: <398A7259.A2F7A324@pacbell.net>
ryan constantine wrote:

> i still wish it worked right.

It works exactly how it was designed to work.

-- 
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

From: Ron Parker
Subject: Re: Shadowless spotlights,
Date: 4 Aug 2000 09:37:13
Message: <slrn8oliel.hi.ron.parker@fwi.com>
On Fri, 04 Aug 2000 00:22:22 -0700, ryan constantine wrote:
>
>> That's not how it works.  That's even not how it's documented to work:
>
>so that should mean there are self shadow errors because parts that
>would be lit be a real area light aren't lit and can't cast shadows
>right?  and what about parts that aren't lit that would contribute to a
>cast shadow on another object? 

Neither of those is a concern.  Shadows work correctly.  They're designed to.

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


Post a reply to this message

From: ryan constantine
Subject: Re: Shadowless spotlights,
Date: 4 Aug 2000 11:32:51
Message: <398AE1FE.C3F54F86@yahoo.com>
that's good to know and i appreciate all of the insight.

Ron Parker wrote:
> 
> On Fri, 04 Aug 2000 00:22:22 -0700, ryan constantine wrote:
> >
> >> That's not how it works.  That's even not how it's documented to work:
> >
> >so that should mean there are self shadow errors because parts that
> >would be lit be a real area light aren't lit and can't cast shadows
> >right?  and what about parts that aren't lit that would contribute to a
> >cast shadow on another object?
> 
> Neither of those is a concern.  Shadows work correctly.  They're designed to.
> 
> --
> Ron Parker   http://www2.fwi.com/~parkerr/traces.html
> My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Mike
Subject: Re: Shadowless spotlights,
Date: 4 Aug 2000 11:42:07
Message: <398AE453.CF097941@aol.com>
More importantly, ask yourself the question: Is it partially shaded or
partially lit?  Just so happens that both are true, so there's no point
in calculating both.

Only thing that is missed are 100% accurate soft highlights, but
highlights are faked anyway so that's a moot point. :D

-Mike


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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