Hi. I am doing a pic in which a photo of a mountain range is used as a
background. Trouble is with shadows. A large object throws a shadow on the
ground which is ok. However it is also throwing a shadow onto the
background mountain range. Is there some way to prevent the shadow from
hitting it while still remaining on the ground?
> Hi. I am doing a pic in which a photo of a mountain range is used as a> background. Trouble is with shadows. A large object throws a shadow on the> ground which is ok. However it is also throwing a shadow onto the> background mountain range. Is there some way to prevent the shadow from> hitting it while still remaining on the ground?
You can force an object to ignore light sources completely with
finish {diffuse 0 ambient 1}
If you want to alter the color of the image (to make it match the rest of
the scene's lighting, for instance), you can change "ambient 1" to "ambient
<r,g,b>", or just change the 1 to a lower value.
- Slime
[ http://www.slimeland.com/ ]
Barehunter <web.432e3b9f5b656ae519a709290@news.povray.org> Monday 19 of
September 2005 06:16
> Is there some way to prevent the shadow from> hitting it while still remaining on the ground?
Perhaps using light groups
--
> > Is there some way to prevent the shadow from> > hitting it while still remaining on the ground?>> Perhaps using light groups
Sadly, there's no way to use light groups to prevent a shadow from falling
on an object. =(
A no_external_shadow keyword for light groups (affecting only light from the
light sources within the group) would be very convenient.
- Slime
[ http://www.slimeland.com/ ]
Barehunter wrote:
> Hi. I am doing a pic in which a photo of a mountain range is used as a> background. Trouble is with shadows. A large object throws a shadow on the> ground which is ok. However it is also throwing a shadow onto the> background mountain range. Is there some way to prevent the shadow from> hitting it while still remaining on the ground?
As someone suggested, use ambient for the photo. Other than that,
re-scaling the photo larger and moving it further away...
RG