POV-Ray : Newsgroups : povray.text.scene-files : Reflected Laser Beam Server Time
2 May 2024 10:41:13 EDT (-0400)
  Reflected Laser Beam (Message 1 to 2 of 2)  
From: Blue Herring
Subject: Reflected Laser Beam
Date: 10 Feb 2008 11:10:00
Message: <web.47af219494e592ceb05f96f70@news.povray.org>
This is the basic laser test scene file referred to in p.g message
http://news.povray.org/web.47af1f65c0351d35b05f96f70%40news.povray.org

#version 3.61;

#declare Use_Photons = yes;

#declare Load_Photons = no;

#declare Photon_File = "laser_test.ph";

#include "colors.inc"

global_settings {
  assumed_gamma 1.0
  max_trace_level 7
  #if(Use_Photons)
    photons {
      spacing 0.05
      media 200
      //max_trace_level 10
      //radius ,,10,1
      #if(Load_Photons & file_exists(Photon_File))
        load_file Photon_File
      #else
        save_file Photon_File
      #end
    }
  #end
}

camera {
  location <0, 0, -25>
  up y
  right x * image_width/image_height
  look_at x * -9
}

light_source {
  x * 30, Red * 10
  cylinder
  point_at x * 24
  radius 0.1
  falloff 0.5
  tightness 0.25
  photons {
    reflection on
    refraction on
  }
}

box {
  <-0.5, -4, -4>, <0, 4, 4>
  hollow
  pigment { White }
  finish {
    reflection { 1 }
  }
  photons {
    target
    reflection on
    refraction on
  }
  rotate z * 45
  translate x * -9
}

box {
  <-0.5, -8, -8>, <0.5, 8, 8>
  pigment { White }
  rotate z * 90
  translate  <-9, 9, 0>
}

#declare Scatter_M =
  material {
    texture {
      pigment { rgbt 1 }
      finish {
        ambient 0
        diffuse 0
      }
    }
    interior {
      media {
        method 3
        intervals 1
        samples 70, 1000
        scattering {
          1, rgb 0.1
          extinction 0.00001
        }
      }
    }
  }



sphere {
  0, 40
  hollow
  material { Scatter_M }
  photons {
    pass_through
  }
}


Post a reply to this message

From: Blue Herring
Subject: Re: Reflected Laser Beam
Date: 10 Feb 2008 11:25:00
Message: <web.47af25295cec6d1b05f96f70@news.povray.org>
Image for this scene:
http://news.povray.org/web.47af23af94e592ceb05f96f70%40news.povray.org


Post a reply to this message

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