POV-Ray : Newsgroups : povray.unofficial.patches : photon questions Server Time
1 Nov 2024 03:15:18 EDT (-0400)
  photon questions (Message 1 to 6 of 6)  
From: Tom Melly
Subject: photon questions
Date: 15 Jun 2001 04:52:10
Message: <3b29ccba$1@news.povray.org>
Questions, questions...

Does increasing the photon count increase the brightness or the quality?

If photons are in the global block, but not attached to a light, is their source
distributed between all lights in the scene?

Is there any significant difference between attaching them to a light or not in
a scene with only one light?

Any general comments with regard to photons much appreciated...


--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message

From: Christoph Hormann
Subject: Re: photon questions
Date: 15 Jun 2001 08:49:45
Message: <3B2A049F.45BED432@gmx.de>
Tom Melly wrote:
> 
> Questions, questions...
> 
> Does increasing the photon count increase the brightness or the quality?

A higher count will usually lead to more accurate results, meaning
caustics look less blurred.  The total brighness should not differ much.

> 
> If photons are in the global block, but not attached to a light, is their source
> distributed between all lights in the scene?

You must distinguish between global photons, which are very experimantal
and don't work very well in most cases IIRC, and the photons block in
global_settings{}.  In global_settings{} you can set various overall
settings like count/spacing.

> 
> Is there any significant difference between attaching them to a light or not in
> a scene with only one light?

I think photons are turned on for all light sources as default, so there
would be no difference, but i can't say for sure.  I usually use photons{}
blocks for all light sources either with 'reflection off refraction off'
or one/both turned on.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: JRG
Subject: Re: photon questions
Date: 15 Jun 2001 12:31:32
Message: <3b2a3864@news.povray.org>
The photons{} block attached to a light is usefull if you want to turn off
either reflection or refraction photons.
Anyway photons will be always shot from all the lightsources of the scene.
Photons block is always required for every object you want to be a target.
JRG.


Post a reply to this message

From: Nathan Kopp
Subject: Re: photon questions
Date: 16 Jun 2001 01:09:40
Message: <3b2aea14$1@news.povray.org>
"JRG" <jrg### [at] hotmailcom> wrote...
> The photons{} block attached to a light is usefull if you want to turn off
> either reflection or refraction photons.

If you turn off both reflection and refraction, POV will skip that light
source when shooting photons (since there'd be no point).

-Nathan


Post a reply to this message

From: JRG
Subject: Re: photon questions
Date: 16 Jun 2001 02:52:45
Message: <3b2b023d$1@news.povray.org>
"Nathan Kopp" <nat### [at] koppcom> ha scritto nel messaggio
news:3b2aea14$1@news.povray.org...
>
> If you turn off both reflection and refraction, POV will skip that light
> source when shooting photons (since there'd be no point).
>
> -Nathan

But if I have many light sources in the scene, should I increase the count?


Post a reply to this message

From: Nathan Kopp
Subject: Re: photon questions
Date: 17 Jun 2001 13:04:18
Message: <3b2ce312$1@news.povray.org>
"JRG" <jrg### [at] hotmailcom> wrote...
>
> "Nathan Kopp" <nat### [at] koppcom> ha scritto nel messaggio
> news:3b2aea14$1@news.povray.org...
> >
> > If you turn off both reflection and refraction, POV will skip that light
> > source when shooting photons (since there'd be no point).
> >
> > -Nathan
>
> But if I have many light sources in the scene, should I increase the
count?

POV totally skips the light.  You don't have to try to compensate.  When you
use count, POV actually tries to estimate how many photons will be
generated.  POV then adjusts the overall photon spacing to try to produce
close to the count specified.  (The final count is usually at least on the
same order of magnitude as the requested count.)

-Nathan


Post a reply to this message

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