POV-Ray : Newsgroups : povray.programming : recursion of photons : Re: recursion of photons Server Time
5 Jul 2024 14:07:58 EDT (-0400)
  Re: recursion of photons  
From: Warp
Date: 11 Jul 2003 19:18:40
Message: <3f0f45d0@news.povray.org>
Penners <pen### [at] hotmailcom> wrote:
>   I am working on a scene in which I would like to use media photons.  I
> looked into the source code to see how media photons (and photons in
> general) work, and it seems funny to me that the photons getting deposited,
> whether they be caustic or volume, are not continually traced via recursion
> after their first hit with a surface or media.

  What do you mean?

  I don't have any problems getting photons to reflect and refract in media.
For example: http://www.cs.tut.fi/~warp/images/photontest.jpg
(It doesn't use any trick, it's simply photons shot at a big media
container.)

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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