List of Examples

| Table of Contents | List of Figures | List of Examples | List of Tables |

Example 1-1. How to Use User Data
Example 1-2. Objects and Reference Counts
Example 1-3. Using pfDelete() with libpr Objects
Example 1-4. Using pfDelete() with libpf Objects
Example 1-5. Using pfCopy()
Example 1-6. General-Purpose Scene Graph Traverser
Example 2-1. pfPipes in Action
Example 2-2. Using pfChannels
Example 2-3. Multiple Channels, One Channel per Pipe
Example 2-4. Channel Sharing
Example 3-1. Making a Scene
Example 3-2. Hierarchy Construction Using Group Nodes
Example 3-3. Creating Cloned Instances
Example 3-4. Automatically Updating a Bounding Volume
Example 3-5. Using pfSwitch and pfSequence Nodes
Example 3-6. Marking a Runway with a pfLayer Node
Example 3-7. Adding pfGeoSets to a pfGeode
Example 3-8. Adding pfStrings to a pfText
Example 3-9. Setting Up a pfBillboard
Example 3-10. Setting Up a pfPartition
Example 3-11. Inheritance Demonstration Program
Example 4-1. Application Callback to Make a Pendulum
Example 4-2. pfNode Draw Callbacks
Example 4-3. Cull-Process Callbacks
Example 4-4. Using Passthrough Data to Communicate with Callback Routines
Example 5-1. Frame Control Excerpt
Example 5-2. Setting LOD Ranges
Example 5-3. Default Stress Function
Example 6-1. How to Configure a pfEarthSky
Example 6-2. Fog initialization Using pfVolFogAddPoint()
Example 6-3. Specifying Patchy Fog Boundaries Using pfVolFogAddNode()
Example 8-1. Loading Characters into a pfFont
Example 8-2. Setting Up and Drawing a pfString
Example 9-1. Using pfDecal() to a Draw Road with Stripes
Example 9-2. Pushing and Popping Graphics State
Example 9-3. Using pfOverride()
Example 9-4. Inheriting State
Example 11-1. Configuring a System with Three Hyperpipe Groups
Example 11-2. Mapping Hyperpipes to Graphic Pipes
Example 11-3. More Complete Example of Mapping Hyperpipes to Graphic Pipe
Example 11-4. Set FBConfigAttrs for Each pfPipeWindow.
Example 11-5. Search the pfPipeWindow List of the pfPipe
Example 12-1. Estimating System Memory Requirements
Example 13-1. Opening a pfWindow
Example 13-2. Using the Default Overlay Window
Example 13-3. Creating a Custom Overlay Window
Example 13-4. pfWindows and X Input
Example 14-1. Creating a pfPipeWindow
Example 14-2. pfPipeWindow With Alternate Configuration Windows for Statistics
Example 14-3. Custom Initialization of pfPipeWindow State
Example 14-4. Configuration of a pfPipeWindow Framebuffer
Example 14-5. Opening and Closing a pfPipeWindow
Example 16-1. Fluxed pfGeoSet
Example 16-2. Connecting Engines and Fluxes
Example 17-1. Aligning Light Points Above a pfASD Surface
Example 18-1. Raster Callback Skeleton
Example 18-2. Preprocessing a Display List - Light Point Process code
Example 18-3. Setting pfCalligraphic Parameters
Example 18-4. Calligraphic Lights
Example 19-1. Matrix and Vector Math Examples
Example 19-2. Quaternion Example
Example 19-3. Quick Sphere Culling Against a Set of Half-Spaces
Example 19-4. Intersecting a Segment With a Convex Polyhedron
Example 19-5. Intersection Routines in Action
Example 22-1. Valid Creation of Objects in C++
Example 22-2. Invalid Creation of Objects in C++
Example 22-3. Class Definition for a Subclass of pfDCS
Example 22-4. Overloading the libpf Application Traversal
Example 22-5. Changeable Static Data Member