|
![](/i/fill.gif) |
Somehow my thick mind can't figure out how to use photons properly. Why
doesn't this object reflect light rays!!!???
-----------
#version 3.5;
#include "colors.inc"
#include "glass.inc"
#include "textures.inc"
global_settings {
// copied right from one of the examples
assumed_gamma 1
max_trace_level 25
photons {
spacing 0.03
autostop 0
jitter 0
}
}
camera {
// I want to look at angles, not perspective
// camera is straight overhead
orthographic
location <0, 50, 0> * .5
look_at <0,0,0>
}
light_source { //background lighting
<0, 30, 0>
color White *.25
}
box { // fog box
<10,-5,10>,<-10,5,-10>
pigment { White filter 1 }
hollow on
interior{
media {
scattering { 1, rgb 0.03}
intervals 1
samples 5
method 3
}
}
}
light_source { //spotlight
// i'd like to make this a laser
// if I could just figure out how
0*x
color Red * 10
cylinder
spotlight
translate <-20,1.0 ,0>
point_at <0, 1, 0>
radius .1
tightness 80
falloff 6
photons {
refraction on
reflection on
}
}
box { //mirror
<1,1,.01>
<-1,-1,-.01>
texture {
Polished_Chrome
finish {reflection .90}
}
scale <1,1,1> *7
photons {
target
reflection on
refraction off
collect off
}
rotate -y*45
}
---------------------
Alan Walkington
Post a reply to this message
Attachments:
Download 'test5.jpg' (23 KB)
Preview of image 'test5.jpg'
![test5.jpg](/povray.binaries.images/attachment/%3C3e8cd2ff%40news.povray.org%3E/test5.jpg?preview=1)
|
![](/i/fill.gif) |