Introduced class interfaces for FixedFunctionTechnique and ShaderTechnique volume rendering techniques.

This commit is contained in:
Robert Osfield
2009-01-13 17:20:32 +00:00
parent 7bcdaa74bf
commit f260737cd8
19 changed files with 1289 additions and 11 deletions

View File

@@ -167,7 +167,14 @@ osg::BoundingSphere VolumeTile::computeBound() const
{
osg::BoundingSphere bs;
osg::notify(osg::NOTICE)<<"TODO VolumeTile::computeBound()"<<std::endl;
for(Layers::const_iterator itr = _layers.begin();
itr != _layers.end();
++itr)
{
if (itr->valid()) bs.expandBy((*itr)->computeBound());
}
return bs;
return bs;
}