POV-Ray : Newsgroups : povray.binaries.scene-files : Photon issues. Server Time
1 Sep 2024 20:17:34 EDT (-0400)
  Photon issues. (Message 1 to 1 of 1)  
From: Oldstench
Subject: Photon issues.
Date: 18 Mar 2004 01:39:18
Message: <kvgi50dfc9rrko7j4vmgq7ib3ohjqejmvn@4ax.com>
See p.b.i.

global_settings {
  assumed_gamma 1
   photons {
     count 1000000
   }
}



//---------------Camera--------------

camera {
  location <0,1.2,-2.5>
  look_at y*.45
  right x*image_width/image_height
  angle 85
}

//-----------------------------------


//--------------Light----------------

light_source {
  <2,3,2>
  rgb 1
  area_light 
    x*4, y*4
    16,16
    orient 
  photons {
    reflection on
    refraction on
  }
}


//--------------Floor----------------

plane {
  y, 0
  pigment {
    checker
      color rgb 1/2
      color rgb 1
  }
  finish {
    ambient 0
  }
}

//-----------------------------------


//------------Sphere-----------------

sphere {
  0,.5
  pigment {
    color rgbft <0,0,1,.3,.2>
  }
  finish {
    ambient 0
    phong 1
    phong_size 230
    reflection {.1,.2}
  }
  interior {
    ior 2
  }
  photons {
    target
    reflection on
    refraction on
    //collect off
  }
  translate <-1,.5,0>
}


Post a reply to this message

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