Added support for cullable state, that uses a polytope to define the extents

of objects that will be influenced by it.
This commit is contained in:
Robert Osfield
2005-09-07 16:18:43 +00:00
parent 58112d9591
commit 765db1998c
5 changed files with 106 additions and 20 deletions

View File

@@ -16,6 +16,7 @@
#include <osg/buffered_value>
#include <osg/CameraNode>
#include <osg/Texture2D>
#include <osg/TexGenNode>
#include <osgSim/Export>
@@ -92,7 +93,7 @@ class OSGSIM_EXPORT OverlayNode : public osg::Group
osg::ref_ptr<osg::Texture2D> _texture;
bool _continousUpdate;
osg::BoundingSphere _overlaySubgraphBound;
osg::Polytope _textureFrustum;
};
}