|
|
On Sun, 09 Jul 2000 22:33:51 -0800, Lt. Kettch wrote:
>Lets say I have a box that has a smaller box cut out of it, I.E. a room.
>The room also has a window. But when I put a light in the room, it does
>not show through the window. But it does seem to go through walls. What
>is wrong? Could some one post some code for me to paste in?
You could try a media container the same size as the box that you used to
take the middle out of the room, or you could use a high ambient/diffuse value
on the window material. I used ambient and diffuse on my trafficlights macro
to get that type of effect. something like:
object{GlassInWindow
pigment{rgbf <1,0,0,0.85>}
finish{ambient 5
diffuse 5
phong 0.8
reflection 0.2
specular 0.01
roughness 0.001
}
}
Not sure of the exact values I used, just play around with the diffuse and
ambient values.
--
Cheers
Steve email mailto:ste### [at] zeroppsuklinuxnet
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
6:51pm up 11 days, 18:32, 2 users, load average: 1.15, 1.05, 1.01
Post a reply to this message
|
|