|
![](/i/fill.gif) |
max_trace_level makes no difference in this case.
consider this example:
global_settings { max_trace_level 10 }
camera {
perspective
location <1, 1.5, 2>
look_at <0.5, 0.5, 0>
angle 45
}
light_source {
<10, 10, 10>,
color rgb <1, 1, 1>
}
object {
polygon { 4, <0, 0>, <1, 0>, <1, 1>, <0, 1> }
texture {
finish { ambient 1.000000 diffuse 1.000000 }
// 35.tga is an image with alpha channel of the number "35" on a fully
transparent background.
pigment { uv_mapping image_map { tga "35.tga" interpolate 2 } }
}
}
object {
plane { <0.000000, 1.000000, 0.000000>, 0.000000 }
texture {
finish { ambient 1.000000 diffuse 1.000000 }
pigment { color rgbft <0.400000, 0.400000, 1.000000, 0.000000, 0.000000>
}
}
}
// note that the shadow cast by the polygon on the plane is the outline of
the polygon, not the outline of the number "35"
Post a reply to this message
|
![](/i/fill.gif) |