Show
Ignore:
Timestamp:
09/18/06 22:54:48 (8 years ago)
Author:
robert
Message:

Introduced new osg::View, and osg::RenderInfo? classes into the core OSG to help
handle scenes with multiple views with elements that need coordinating on a per view basis.

Added beginings of new osgText::FadeText? class (not functionality yet).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgshaderterrain/osgshaderterrain.cpp

    r5519 r5573  
    365365        typedef std::vector<osg::Vec4> PositionSizeList; 
    366366         
    367         virtual void drawImplementation(osg::State& state) const 
     367        virtual void drawImplementation(osg::RenderInfo& renderInfo) const 
    368368        { 
    369369            for(PositionSizeList::const_iterator itr = _trees.begin(); 
     
    372372            { 
    373373                glColor4fv(itr->ptr()); 
    374                 _geometry->draw(state); 
     374                _geometry->draw(renderInfo); 
    375375            } 
    376376        }