|
![](/i/fill.gif) |
i have created a object with the following code:
#declare Window =
union{
box{<0,0,0.1>,< 1.50,1.50,0.1>
texture {
pigment {image_map { png "net.png"}}
} }
box{<0,0,0.11>,<1.5,0.05,0.21>}
box{<0,1.50,0.11>,< 1.50,1.55,0.13>}
box{<0,0,0.11>,<0.05,1.50,0.13>}
box{<1.50,0,0.11>,<1.55,1.50,0.13>}
box{<1.50,1,0.11>,<0,1.05,0.13>}
texture {
pigment{ color White}
finish { ambient 0.9 phong 0.5}
}
}
and called with
object{ Window
scale <1,1,1>*1
rotate<0,0,0>
translate<4,2.3,2.401>
rotate y*90}
This creates a window that looks exactly how i want it, the only thing being
that, when the window is in the shadow of something, eg a tree im trying to do,
it still stays bright white rather than going dull, does anyone know how to do
this?
Post a reply to this message
|
![](/i/fill.gif) |