|
![](/i/fill.gif) |
I added in the pigment and still have something that looks very strange when
front lit. I am working on an animated sequence where I need the front and back
lit to both work.
_____________
#include "colors.inc"
#include "textures.inc"
#include "shapes.inc"
#include "metals.inc"
#include "skies.inc"
//++++++++++++++++++++
camera {
location <-0, 1, -5>
look_at <.5,.5,0>
}
//++++++++++++++++++
//light_source {< 0, 10, 10> color White } //back
light_source {< 0, 10,-100> color White } //front
//++++++++++++++++++
sky_sphere {
pigment {
gradient y
color_map {
[ .4 color <.9,.9,.9> ]
}
scale 1000
translate -1
}
}
//++++++++++++++++++++++
//wall with opening
#declare wind_width = 3;
#declare wind_height =3;
#declare wind_depth = 1;
#declare wall =box {
<-200,-200,wind_depth/3>
<200,200,-wind_depth/3> };
#declare window_opening = box {<-5,-.5,wind_depth/2>
<wind_width-.5,wind_height, -wind_depth/2>}
#declare wall = difference {
object {wall pigment {Cherry_Wood}}
object {window_opening }
}
wall
//+++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++
#declare Blue_gel =
box {<0, 0,0 > <1, 1, -.01 > hollow
texture {pigment {rgbt <0,0,1,1>
}
// finish { reflection rgb 1 }
}
interior {
media {
scattering {1, <1,0,0>*1000}
}
}
}
#declare Yellow_gel =
box {<0, 0,0 > <1, 1,-.01 > hollow
texture {pigment{rgbt <1,1,0,1>
}
// finish { reflection rgb 1 }
}
interior {
media {
scattering {1, <0,0,1>*1000}
}
}
translate <.5,.5, -.5>
}
Blue_gel
Yellow_gel
Post a reply to this message
|
![](/i/fill.gif) |