Changeset 8250

Show
Ignore:
Timestamp:
04/28/08 01:12:10
Author:
robert
Message:

Update presentation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/State/Multi-Pass.p3d

    r8196 r8250  
    1111<path>${DATA_DIR}/Models</path> 
    1212<path>${DATA_DIR}/Earth</path> 
     13 
     14<title-settings character_size="0.04"></title-settings> 
     15<text-settings character_size="0.022"></text-settings> 
    1316 
    1417<template_slide name="front"> 
     
    7780 
    7881Multi-Pass rendering: 
    79  
     82  
    8083    Each pass applied diectly to existing frame buffer - no clear 
    81  
     84  
    8285    Multiple passes over the same scene graph 
    83  
     86  
    8487    Each pass can adjust State by decorating 
    8588     
    8689     
    8790Multi-Stage rendering: 
    88  
     91  
    8992    Each pass does a clear of depth and or colour buffers 
    90  
     93  
    9194    Multiple passes over the same scene graph 
    92  
     95  
    9396                       OR 
    94  
     97  
    9598    Multiple stage that each have separate subgraphs 
    9699</page> 
     
    98101<page inherit="middle" title="Rendering back-end (draw traversal)"> 
    99102Rendering back end manages: 
    100  
     103  
    101104    Clearing of frame buffer for each stage 
    102105     
     
    107110Classes:    
    108111     
    109     osgUtil::StageGraph - a Composite class representing the inheritance of State 
     112    osgUtil::StageGraph  
     113        - a Composite class representing the inheritance of State 
    110114     
    111     osgUtil::RenderLeaf - binds a single Drawable with its inherited State 
    112  
    113     osgUtil::RenderingBin - a Composite class that controls the draw order 
    114  
    115     osgUtil::RenderingStage - a subclass from RenderBin that adds clear and image readback. 
     115    osgUtil::RenderLeaf  
     116        - binds a single Drawable with its inherited State 
     117  
     118    osgUtil::RenderingBin  
     119        - a Composite class that controls the draw order 
     120  
     121    osgUtil::RenderingStage 
     122        - a subclass from RenderBin that adds clear and image readback. 
    116123</page> 
    117124 
     
    120127 
    121128Classes: 
    122  
     129  
    123130    osg::StateSet - can be placed on any Node or Drawable in scene graph, 
    124131    controls the inheritance of State and RenderBin hierarchy 
     
    138145<page inherit="middle" title="Camera"> 
    139146Camera controls many differnt elements: 
    140  
     147  
    141148    View and Projections matrices - can be RELATIVE_RF or ABSOLUTE_RF 
    142  
     149  
    143150    Clearing of color, depth and stencil buffers 
    144  
     151  
    145152    Set up of render to texture/image 
    146153     
     
    150157<page inherit="middle" title="Camera placement"> 
    151158Cameras can be used in multiple ways: 
    152  
     159  
    153160    In the scene graphs - reflections, shadows 
    154161     
     
    156163     
    157164    In the Viewer - HUD, Render to Texture 
    158  
     165  
    159166    As a separete View - CompositeViewer 
    160167</page>