|
![](/i/fill.gif) |
"Kenneth" <kdw### [at] earthlink net> wrote:
>>Likewise, using rgbf <1,0,0,.5> would cast a reddish,
> variable-density shadow.
>
Actually, using rgbft is better; varying f and t produces any shade or
density of shadow.
SO... after *finally* getting around to rendering my "two identical objects"
experiment using an area light, I discovered something interesting: The
order of the two objects in the scene file -- which one comes first --
becomes important. My original test used just a single point light, to
prove the concept; and the order didn't matter. But with an area light,
the order DOES matter. The no_image sphere--the one casting the
shadow--has to come first in the code, otherwise NO shadow is produced.
I'll leave it up to more brilliant minds than mine to figure out why that
is so. :-) But the trick works quite well, even using rgbft as above, with
no shadow problems that I can see.
Ken
Post a reply to this message
|
![](/i/fill.gif) |