Added OveralyNode into VS project file, and fleshed out more code in the OveralyNode implementation.

This commit is contained in:
Robert Osfield
2005-08-26 20:01:21 +00:00
parent 42752347aa
commit f3be713d66
4 changed files with 107 additions and 7 deletions

View File

@@ -57,9 +57,14 @@ class OSGSIM_EXPORT OverlayNode : public osg::Group
protected :
virtual ~OverlayNode() {}
void init();
typedef osg::buffered_object< osg::ref_ptr<osg::CameraNode> > CameraList;
mutable CameraList _cameras;
typedef osg::buffered_value< int > TextureObjectValidList;
mutable TextureObjectValidList _textureObjectValidList;
osg::ref_ptr<osg::CameraNode> _camera;
// overaly subgraph is render to a texture
osg::ref_ptr<osg::Node> _overlaySubgraph;