POV-Ray : Newsgroups : povray.beta-test : Improvement suggestion to 6.10.3 Server Time
4 Nov 2024 17:34:05 EST (-0500)
  Improvement suggestion to 6.10.3 (Message 1 to 7 of 7)  
From: Warp
Subject: Improvement suggestion to 6.10.3
Date: 16 Oct 2001 12:27:39
Message: <3bcc5ffb@news.povray.org>
I think that the section "6.10.3 Photons and Light Sources" is a bit
confusing because first there's one version of the photons-block inside
a light source and then another.
  It could be better if the first example was changed to:

light_source {
  MyLight
  [light_photon_block]
}

  Also the 'area_light' switch should be explained.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: ingo
Subject: Re: Improvement suggestion to 6.10.3
Date: 17 Oct 2001 03:45:53
Message: <Xns913D6354E985Eseed7@povray.org>
in news:3bcc5ffb@news.povray.org Warp wrote:

>   I think that the section "6.10.3 Photons and Light Sources" is a
>   bit 
> confusing because first there's one version of the photons-block
> inside a light source and then another.

I do not exactly understand what you mean, but after looking at it I 
noticed that example and syntax are swapped. The second part should 
come first. The first part should be marked as an example. Would this 
solve your problem?

>   Also the 'area_light' switch should be explained.

Never tried it, so if someone can explain me what it does?

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Bob H 
Subject: Re: Improvement suggestion to 6.10.3
Date: 17 Oct 2001 09:10:56
Message: <3bcd8360@news.povray.org>
"ingo" <ing### [at] homenl> wrote in message
news:Xns### [at] povrayorg...
> in news:3bcc5ffb@news.povray.org Warp wrote:
>
> >   Also the 'area_light' switch should be explained.
>
> Never tried it, so if someone can explain me what it does?

Allows the area light in a light source to be used instead of its usual
point source.  Not much to explain there I guess, which is probably why it
wasn't.
If there's anything more to it than that it'd be Nathan whom would know.

Bob H.


Post a reply to this message

From: Warp
Subject: Re: Improvement suggestion to 6.10.3
Date: 17 Oct 2001 15:30:44
Message: <3bcddc64@news.povray.org>
ingo <ing### [at] homenl> wrote:
:>   Also the 'area_light' switch should be explained.

: Never tried it, so if someone can explain me what it does?

  AFAIK photons are by default shot from the location of the light source, no
matter if it's an area light or not. However, if the light is an area light
and you specify 'area_light' in its photons block, then the photons will be
shot from all parts of the area light (perhaps randomly?).

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: ingo
Subject: Re: Improvement suggestion to 6.10.3
Date: 17 Oct 2001 17:30:17
Message: <Xns913DEF19C7215seed7@povray.org>
in news:3bcddc64@news.povray.org Warp wrote:

> However, if the light is an area light
> and you specify 'area_light' in its photons block, then the photons
> will be shot from all parts of the area light (perhaps randomly?).

That would mean we have a real 'soft light'.

Nathan, can you confirm, please.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Warp
Subject: Re: Improvement suggestion to 6.10.3
Date: 18 Oct 2001 02:50:48
Message: <3bce7bc8@news.povray.org>
ingo <ing### [at] homenl> wrote:
: That would mean we have a real 'soft light'.

  It means that the caustics will simulate a lot better those of an area
light instead of a point light.
  The 'soft light' part is made by the shadow testing routine, which has
little to do with photons (AFAIK).

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Ron Parker
Subject: Re: Improvement suggestion to 6.10.3
Date: 19 Oct 2001 18:53:49
Message: <slrn9t1bj0.ifv.ron.parker@fwi.com>
On 18 Oct 2001 02:50:48 -0400, Warp wrote:
>ingo <ing### [at] homenl> wrote:
>: That would mean we have a real 'soft light'.
>
>  It means that the caustics will simulate a lot better those of an area
>light instead of a point light.
>  The 'soft light' part is made by the shadow testing routine, which has
>little to do with photons (AFAIK).

Not entirely.  It's also a function of the diffuse illumination routine,
which determines the intensity of the light by the angle to the center
of the area light rather than by integrating the illumination over the
entire area of the area light.  Photons might be able to even that out
a little.

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

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