[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.1.3 Raytraced Shadows

Tracing shadow rays can be used as an alternative to shadow maps. This has the advantage of being simple to use, but it can be slow compared to shadow maps, especially with complex scenes. To enable tracing of shadow rays for a luminaire, use this directive in the RIB file (before the LightSource directive):
 
Attribute "light" "shadows" ["on"]
You can control how each objects will cast shadows by using Attribute "visiblity" "transmission". Refer to section 4.2 Attributes.

Also, the shadow() shadeop has a support for ray-traced shadows: by passing "!" or "shadow" as a prameter instead of a shadow map name, a shadow ray will be traced!



This document was generated by Aghiles Kheffache on July, 31 2003 using texi2html
3Delight 1.0.0. Copyright 2000-2003 The 3Delight Team. All Rights Reserved.