home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
tt
/
raysh402
/
guide.tex
/
node28_mn.html
< prev
next >
Wrap
Text File
|
1992-02-09
|
933b
|
24 lines
<H1><A ID="SECTION00800000000000000000">
Surfaces and Atmospheric Effects</A>
</H1>
<P>
Surfaces are used to control the interaction between light sources and
objects. A surface specification consists of information
about how the light interacts with both the exterior and
interior of an object .
For non-closed objects, such as polygons,
the ``interior'' of an object is the ``other side'' of the object's surface
relative to the origin of a ray.
<P>
<#545#><#1965#><EM>Rayshade</EM><#1965#><#545#> usually ensures that a primitive's surface normal is pointing
towards the origin of the incident ray when performing shading
calculations. Exceptions to this rule are transparent primitives, for
which <#546#><#1967#><EM>rayshade</EM><#1967#><#546#> uses the direction of the surface normal to determine if
the incident ray is entering or exiting the object.
All non-transparent primitives will, in effect, be double-sided.
<P>