POV-Ray : Newsgroups : povray.general : MIKA Help photons{} Server Time
18 Nov 2024 07:16:58 EST (-0500)
  MIKA Help photons{} (Message 1 to 3 of 3)  
From: Marc Champagne
Subject: MIKA Help photons{}
Date: 21 Sep 2002 09:36:42
Message: <Xns929061C903969POVMIKA@204.213.191.226>
Hi folks!
    	    	    	    	
Need help in understanding the 'photons{ }' directive...

The Scene:

  A light source & camera (but of course)
  A diamond-CSG-object, transparent, some reflection, lots of IOR
  A box-object, no IOR, no reflection (surface on which diamond rests) 

If I understand the manual correctly, all surfaces will show photon
caustics by default.

Therefore:

   The box should not need a 'photons{}' directive.
   The diamond should have a 'photons{ target refr on refl on }'

I'm not quite sure if the diamond itself should have a 'collect off'.

From what I gather, all light entering a diamond's crown comes back
out through the crown.  Since the light has bounced at least twice
inside the diamond before leaving again, I believe caustics are in order
therefore the 'collect off' should not be applied to it (what are your
thoughts here?) 

The target keyword...

passsage from the manual:
  
  The density of the photons can be adjusted by specifying the
  spacing_multiplier. If, for example, you specify a spacing_multiplier
  of 0.5, then the spacing for photons hitting this object will be 1/2
  of the distance of the spacing for other objects.

Generally I have seen more photons collected with target .8 rather than
with target .4, should it not be the reverse? 

All input and comments will be appreciated.

Thanks

-- 
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA


Post a reply to this message

From: Warp
Subject: Re: MIKA Help photons{}
Date: 21 Sep 2002 09:45:58
Message: <3d8c7816@news.povray.org>
Marc Champagne <nos### [at] pleasecom> wrote:
> I'm not quite sure if the diamond itself should have a 'collect off'.

  In theory the diamond should collect photons as any other object in
the scene. It's just that photons seldom show any effect on transparent
objects and so it's an optimization to turn photon collection off for
the transparent object (less memory usage and faster rendering).
  There are, however, cases where photons *do* show some effect in the
refracting object itself (for example when it's only partially transparent).
You'll have to test which looks better.

  'collect off' does not affect reflection and refraction of light. It just
tells that photons should not be stored at the surface of the object for
lighting calculation.

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


Post a reply to this message

From: Marc Champagne
Subject: Re: MIKA Help photons{}
Date: 21 Sep 2002 09:52:03
Message: <Xns92906462F933BPOVMIKA@204.213.191.226>
Warp <war### [at] tagpovrayorg> wrote in news:3d8c7816@news.povray.org:

> There are, however, cases where photons *do* show some effect in the
> refracting object itself (for example when it's only partially
> transparent). You'll have to test which looks better. 

...in the refracting object or on the refracting object?

> 'collect off' does not affect reflection and refraction of light. It
> just tells that photons should not be stored at the surface of the
> object for lighting calculation.

and therefore will not affect dispersion either, right?

I better understand 'collect off' now, thanks

-- 
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA


Post a reply to this message

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