|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |