Added initial cut of osgShadow::OccluderGeometry

This commit is contained in:
Robert Osfield
2006-11-07 13:43:01 +00:00
parent d199fd0072
commit c9fed221a5
5 changed files with 148 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ include $(TOPDIR)/Make/makedefs
CXXFILES = \
OccluderGeometry.cpp\
ShadowedScene.cpp\
ShadowTechnique.cpp\
ShadowMap.cpp\

View File

@@ -0,0 +1,39 @@
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this distribution, and on the openscenegraph.org website.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#include <osgShadow/OccluderGeometry>
using namespace osgShadow;
OccluderGeometry::OccluderGeometry()
{
}
OccluderGeometry::OccluderGeometry(const OccluderGeometry& oc, const osg::CopyOp& copyop):
osg::Drawable(oc,copyop)
{
}
void OccluderGeometry::computeOccluderGeometry(osg::Node* subgraph, float sampleRatio)
{
}
void OccluderGeometry::computeOccluderGeometry(osg::Drawable* drawable, float sampleRatio)
{
}
void OccluderGeometry::drawImplementation(osg::RenderInfo& renderInfo) const
{
}

View File

@@ -20,7 +20,6 @@
#include <osgShadow/ShadowedScene>
using namespace osgShadow;
using namespace osg;
ShadowedScene::ShadowedScene()
{