POV-Ray : Newsgroups : povray.unofficial.patches : photons Server Time
3 Sep 2024 00:18:24 EDT (-0400)
  photons (Message 1 to 2 of 2)  
From: Jan Danielsson
Subject: photons
Date: 21 Apr 1999 07:53:58
Message: <wnaqnavryffbasnyhaznvygryvnpbz.fai6320.pminews@news.povray.org>
What exactly should a 'photons'-block in a 'light_source'-block do?

I've tried with and without, there's no difference that I can see.


 /j


Post a reply to this message

From: Ken
Subject: Re: photons
Date: 21 Apr 1999 09:41:11
Message: <371DC7AE.C5C39D07@pacbell.net>
Jan Danielsson wrote:
> 
> What exactly should a 'photons'-block in a 'light_source'-block do?
> 
> I've tried with and without, there's no difference that I can see.
> 
>  /j

 Here is a portion of a reply that Nathan make concerning how
to specify the global settings, and the object and light source
parameters. There are combinations that effect each situatins
differently and you need to know what may affect the outcome of
this. Read on:

=============

Let's say you have a scene with three lights and three lenses (I made
this scene once, and I'll use it for a demo scene).  Now, the three
lights are set up like this:

light_source { loc1, color Red   photons{refraction on}}
light_source { loc2, color Green }
light_source { loc3, color Blue  photons{refraction off}}

The three lenses are set up like this:

object { Lens1 photons { density 0.02*phd refraction on} }
object { Lens2 photons { density 0.02*phd } }
object { Lens3 photons { density 0.02*phd refraction off} }

Now, from the first lens, you'll see caustics from the red and green lights.
From the second lens, you'll only see caustics from the red light.
And you won't see any caustics from the third lens.

So if you turn on refraction in your object, you don't have to for the
lights.  I hope this is kind of clear.

===================================


-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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