POV-Ray : Newsgroups : povray.beta-test : Photon bug Server Time
3 Nov 2024 05:14:48 EST (-0500)
  Photon bug (Message 1 to 1 of 1)  
From: Kari Kivisalo
Subject: Photon bug
Date: 23 Sep 2001 06:50:08
Message: <3BADBE9B.439E71A1@engineer.com>
It's still in beta 3.

global_settings{
  photons {
    spacing 0.05
    autostop 0
    jitter .4
  }
  max_trace_level 5
  adc_bailout 0.001
  assumed_gamma 1.0  
} 

camera{
  location <-100,140,-340>
  direction <0, 0, 50/36>
  up        <0, 0.666, 0>
  right     <1, 0, 0>
  look_at<-100,113,-250>
}

sphere{
  0,10 translate<-100,110,-250> 
  photons{
    target
    collect off
    reflection on
    refraction on
  }

  pigment{ rgbt 1}
  finish{diffuse 0 ambient 0}
  interior{ior 1.5 }
}


// points on the sphere
light_source{
  <50,290,-350> rgb <1,0.8,0.6>  spotlight radius 1 falloff 14
  tightness 1 point_at <-100,100,-250>
}

// points on a wall (removed) behind the sphere
// comment the light source or move it before the 1st light to make photons visible

light_source{
  <-150,220,-200> rgb <1,0.9,0.8>*16  spotlight radius 1 falloff 40
  tightness 1 point_at <-100,30,0>
}

box{
  <-50,-1,-50>,<50,0,50>
  translate <-100,100,-250>
  pigment{rgb 1}
  finish{diffuse 0.6 ambient 0}
}


_____________
Kari Kivisalo


Post a reply to this message

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