RSL
|
Listing 1
Surfaces that are not part of the named group(s) are ignored. A simple scene, listing 2, is used to illustrate the use of trace-sets for occlusion. |
Listing 2
|
In the following code snippet, the group name passed to the "subset" parameter ensures the sphere will only show occlusion caused by objects with that group name. Surface "rt_occlusion" "subset" ["NAME_OF_OCCLUDERS "] Sphere 1 -1 1 360 The next four listings and figures show the effects of a variety of subsets. |
Listing 3
|
|
Listing 4
|
|
Listing 5
|
|
Listing 6
|
|
© 2002- Malcolm Kesson. All rights reserved.