POV-Ray : Newsgroups : povray.text.scene-files : Photon mapping spotlight bug Server Time
28 Jul 2024 18:25:17 EDT (-0400)
  Photon mapping spotlight bug (Message 1 to 1 of 1)  
From: Chris Huff
Subject: Photon mapping spotlight bug
Date: 20 Jun 1999 07:49:37
Message: <376CD649.6EA6C657@compuserve.com>
#include "colors.inc"

#declare phd = 1;
global_settings {
 assumed_gamma 1.8
 max_trace_level 64
 photons {
  gather 20, 100
  radius 0.1*phd, 2, 0.1*phd
  jitter 0.2
  autostop 45
 }
}

camera {
 perspective
 location < 0.0, 5.0, -8 >
 angle 45
 look_at < 0.0, 0.0, 0.0 >
}

plane {y, 0
 texture {
  pigment {checker color Gray60 color Gray90}
  finish {
   brilliance 0
  }
 }
}


box {< -2, 0, 0>, < 2, 0.25, 1>
 texture {
  pigment {color White}
  finish {
   reflection 1
  }
 }
 photons {
  separation 0.015*phd
  reflection on
 }
}

light_source {< 1.5, 0, -8 > color rgb <1,1,1>
 spotlight
 point_at < -1.45, 0, 0>
 radius 1
 tightness 50
 falloff 2
 rotate < 5, 0, 0>
}


Post a reply to this message

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