POV-Ray : Newsgroups : povray.general : photons & reflection : Re: photons & reflection Server Time
4 Aug 2024 22:10:46 EDT (-0400)
  Re: photons & reflection  
From: stelzenegger
Date: 23 Jan 2003 06:05:02
Message: <web.3e2fcba7aa5a7cdc25152d880@news.povray.org>
OK, here's the code

#include "colors.inc"
#include "metals.inc"

global_settings {
   assumed_gamma 1
   photons {
      //  spacing 0.02
      count 150000
      media 100, 2
      }
   }

media {
    scattering {1, color White extinction 0}
    method 3
    intervals 1 samples 4
    }

light_source {
   <22.36,25,10>
   color 2*Red
   spotlight
   radius 0.1
   falloff 1.5
   tightness 5
   point_at <38,7,10>
   photons {
     reflection on
     refraction off
     }
   }

camera {
   location <20,25,-10>
   look_at <45,0,15>
   }


plane { y,0
   pigment {color CornflowerBlue}
   photons {
     reflection off
     refraction off
     }
   }

#declare cantilever=
   box {
      <0,0.25,3>,
      <25,0.26,-3>
      texture { T_Gold_5E }
      photons{
         target
         reflection on
         refraction on
         //collect off
         }
      }


object {cantilever
   finish {reflection }
   rotate <0,0,-10>
   translate <22.36,7.759-0.5,10>
   }

box {
   <-0.5,-7.5,-7.5>
   <0.5,7.5,7.5>
   pigment {color Gray90}
   rotate <0,0,25>
   translate <58,15,10>
   photons{
      target
      reflection on
      refraction off
      collect on
      }
   }

I tried count up to 15M and spacing down to 0.0002 (wow that takes time)
with no effect.

stelzenegger


Post a reply to this message

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