Tilers.mesa
Copyright © 1984 by Xerox Corporation. All rights reserved.
Last Edited by: Crow, March 8, 1986 10:29:19 am PST
DIRECTORY
ScanConvert USING [Spot],
ThreeDScenes USING [Context, VertexInfo],
ThreeDSurfaces USING [Patch];
Tilers:
CEDAR
DEFINITIONS
~ BEGIN
Types
TilersError: SIGNAL [reason: ATOM];
VertexInfo: TYPE ~ ThreeDScenes.VertexInfo;
Patch: TYPE ~ ThreeDSurfaces.Patch;
Utility procedures
AddHighlight: PROC[spot: ScanConvert.Spot] RETURNS[ScanConvert.Spot];
Simple Polygon Tilers
Call point for discriminating among tilers
PolygonTiler:
PROC[context:
REF ThreeDScenes.Context, poly:
REF Patch];
for quick display with faceted shading
ConstantTiler:
PROC[context:
REF ThreeDScenes.Context, poly:
REF Patch];
for fairly quick display with Gouraud shading
SmoothTiler:
PROC[context:
REF ThreeDScenes.Context, poly:
REF Patch];
for Highlights with Phong shading
ShinyTiler: PROC[context: REF ThreeDScenes.Context, poly: REF Patch];
Fancy Polygon Tilers
for Anti-aliasing, texture, etc.
FancyTiler: PROC[context: REF ThreeDScenes.Context, poly: REF Patch];
END.