|
|
>
> > Truth is you CAN apply media to the interior of a triangle. The problem
>
> How? I thought a triangle / smooth_triangle doesn't have interiors?
Au contraire! Try it and see. Consider the following example and
note the difference in defraction between the triangle on the left
and the defraction of the triangle on the right.
camera{location<0,1,-3>look_at 0}
light_source{<0,5,-20> rgb 1}
triangle{<-1,0,0>,<-.5,1,0>,< 0,0,0>pigment{rgbf .5}interior{ior 1.0}}
triangle{< 0,0,0>,< .5,1,0>,< 1,0,0>pigment{rgbf .5}interior{ior 2.0}}
plane{y,0 pigment{checker color rgb 1 color rgb 0 scale .5}finish{ambient .5}}
--
Ken Tyler
Post a reply to this message
|
|