POV-Ray : Newsgroups : povray.beta-test : Photons and Animation Server Time
30 Jul 2024 18:20:22 EDT (-0400)
  Photons and Animation (Message 1 to 3 of 3)  
From: Lutz-Peter Hooge
Subject: Photons and Animation
Date: 19 Oct 2001 14:55:40
Message: <MPG.163a9620107ca9c29896a2@news.povray.org>
Hi,

There is a strange behavior with photons in an animation if the 
light_source is very dim in the first frame. 
(light_source{<1,1,1> color rgb 2*clock} for example)

Here is a scene to demonstrate it.
Change startval to change the initial brightness of the lightsource. If 
it is high enough that the photons are visible in the FIRST frame, the 
behavior is as expected.
If the brightness is just a little too dim for the photons to be visible, 
there are artefacts in the following frames.
And if th brightness in the first frame is very small (near zero)
there are no photons visible at all.

Ah, nearly forgot this: windows version, Beta 6

#version 3.5;

global_settings
{       
	assumed_gamma 2
	photons{count 30000}
}       

camera{location <-1,1.2,-3> look_at <0,.25,0>}

#declare startval=.1; 

/*
 *  <0.0001           -> no (visible) Photons
 *    0.001 ... 0.05  -> strange results in frames 2,3 etc
 *  >0.1              -> as expected
 */

#declare c=startval+clock*5; 

light_source
{
	<-5,2,0>
	color rgb c
}

plane{y,0 pigment{color rgb 1}} 

difference
{
	box{<0,0,-.5>,<1,1,.5>} sphere{<-.5,.5,0>,1}
	pigment{color rgb .1}finish{reflection .9}
	
	photons{target reflection on}
}

Lutz-Peter


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Photons and Animation
Date: 19 Oct 2001 14:59:07
Message: <MPG.163a96f6f9adb03f9896a3@news.povray.org>
I forgot to mention:

the animation-settings I use are:

Initial_Frame=1
Final_Frame=20
Initial_Clock = 0.0
Final_Clock = 1.0


Post a reply to this message

From: Vampyrium
Subject: Re: Photons and Animation
Date: 19 Oct 2001 21:23:25
Message: <3bd0d20d@news.povray.org>
-Hail

   I remember having this same problem with megapov.


Post a reply to this message

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