POV-Ray : Newsgroups : povray.unofficial.patches : photons : Re: photons Server Time
2 Nov 2024 17:19:12 EDT (-0400)
  Re: photons  
From: Ken
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.