|
|
Pahidla nous apporta ses lumieres en ce 2007/10/03 23:15:
> Hi,
>
> I'm trying to fake a scene outside the window with an image but the problem
> is that the window panes throw a shadow on the image. Is there a way to
> prevent that?
>
> Thanks,
>
> Pahidla
>
>
Set the finish of that image as follow:
finish{ambient 1 diffuse 0}
This is my prefered way.
An object with diffuse 0 is not lighted by any light_source in the scene. As a
result, it won't show any shadow.
An object with ambient 1 will be fully illuminated without any light.
Another way, is to set the window,and the wall in witch it's set, as no_shadow.
Or, you could place that image some distance behind the wall and window, scale
it a little larger, so that any shadow it receive falls in a non-visible part.
Use another light outside the room to illuminate it, or use ambient 1.
--
Alain
-------------------------------------------------
Episcopalian: It's not so bad if shit happens, as long as you serve the right
wine with it.
Post a reply to this message
|
|
|
|
> Another way, is to set the window,and the wall in witch it's set, as no_shadow.
Using no_shadow is the better way since this significantly speeds up an
indoors scene (often by 2x). Infact, extend that to include all walls not
casting shadows (read: every single wall + roof & floor if the room is just a
modified box).
As a rule of thumb one should always use the no_shadow keyword whenever it
doesn't break a scene.
Post a reply to this message
|
|