|
|
I'm trying to draw a box, where the bottom half of the side of the box facing
the light source is cut away, allowing the light to enter the box. I've tried
using clipped_by and difference, and a few other things, but nothing is really
working. Probably because I have no idea what I'm doing. Can someone provide
some guidance?
Thanks in advance.
Rhonda
Here's the current, non-working version of my code:
background { color Blue }
camera {
location <0, 10, -50>
look_at <0, 0, 20>
}
box {
< -10, 0, 0>, // left corner
<10, 20, 20> // right corner
hollow
texture {
Aluminum
pigment { color Green }
}
interior
{ ior 1.5
}
finish {
reflection {
0.9, 1.0
fresnel on
metallic on
}
}
clipped_by { box {
<-9,1,0>,<9,10,1 >
}
}
rotate y*20
}
light_source { <5, 20, -30>
color White
}
Post a reply to this message
|
|