List of Examples
| Table of Contents | List of Figures | List of Examples | List of Tables |
- Example 2-1. Objects and Reference-Counts
- Example 2-2. Using pfDelete() with libpr Objects
- Example 2-3. Using pfDelete() with libpf Objects
- Example 2-4. Using pfCopy()
- Example 2-5. General-Purpose Scene Graph Traverser
- Example 3-1. Structure of an IRIS Performer Application
- Example 4-1. pfPipes in Action
- Example 4-2. Creating a pfPipeWindow
- Example 4-3. pfPipeWindow with alternate configuration windows
- Example 4-4. Custom initialization of pfPipeWindow state
- Example 4-5. Configuration of a pfPipeWindow Framebuffer
- Example 4-6. Opening and Closing a pfPipeWindow
- Example 4-7. Using pfChannels
- Example 4-8. Multiple Channels, One Channel per Pipe
- Example 4-9. Channel-Sharing
- Example 5-1. Making a Scene
- Example 5-2. Hierarchy Construction Using Group Nodes
- Example 5-3. Creating Cloned Instances
- Example 5-4. Automatically Updating a Bounding Volume
- Example 5-5. Using pfSwitch and pfSequence Nodes
- Example 5-6. Marking a Runway With a pfLayer Node
- Example 5-7. Setting Up Light Points
- Example 5-8. pfLightSource Pointers and Multiple Inheritance
- Example 5-9. Car Headlights as pfLightSource Nodes
- Example 5-10. Adding pfGeoSets to a pfGeode
- Example 5-11. Adding pfStrings to a pfText
- Example 5-12. Setting Up a pfBillboard
- Example 5-13. Setting Up a Partition
- Example 5-14. Inheritance demonstration program
- Example 6-1. Application Callback to Make a Pendulum
- Example 6-2. pfNode Draw Callbacks
- Example 6-3. Cull-Process Callbacks
- Example 6-4. Using Passthrough Data to Communicate With Callback Routines
- Example 7-1. Frame Control Excerpt
- Example 7-2. Setting LOD Ranges
- Example 7-3. Default Stress Function
- Example 8-1. How to Configure a pfEarthSky
- Example 8-2. How to set up a pfLPointState
- Example 8-3. Projected texture and shadow pfLightSources
- Example 8-4. How to set up a pfMorph node.
- Example 10-1. Loading Characters into a pfFont
- Example 10-2. Setting up and drawing a pfString
- Example 10-3. Using pfDecal() to draw road with stripes
- Example 10-4. Pushing and Popping Graphics State
- Example 10-5. Using pfOverride()
- Example 10-6. Inheriting State
- Example 10-7. Opening a pfWindow
- Example 10-8. Creating a Statistics Window
- Example 10-9. Using the Default Overlay Window
- Example 10-10. Creating a Custom Overlay Window
- Example 10-11. pfWindows and X Input
- Example 10-12. Constructing a Colored Cube With libpr
- Example 10-13. Constructing a Textured Cube With libpr
- Example 11-1. Matrix and Vector Math Examples
- Example 11-2. Quaternion Example
- Example 11-3. Quick Sphere Culling Against a Set of Half-Spaces
- Example 11-4. Intersecting a Segment With a Convex Polyhedron
- Example 11-5. Intersection Routines in Action
- Example 13-1. Drawing an Object Without Calling pfDraw()
- Example 13-2. General Traversal
- Example 13-3. Using the Traverser
- Example 14-1. Legal Creation of Objects in C++
- Example 14-2. Illegal Creation of Objects in C++
- Example 14-3. Class Definition for a Subclass of pfDCS
- Example 14-4. Overloading the libpf Application Traversal
- Example 14-5. Changeable Static Data Member