modifications of the osgShadow header naming styles as well. The osgDB::Serializer header is also changed to add new Vec2 serializer macros because of the needs of osgShadow classes. It should compile fine on both Windows and Linux. But I have only done a few tests to generate .osgb, .osgt and .osgx formats with these new wrappers."
14 lines
651 B
C++
14 lines
651 B
C++
#include <osgShadow/LightSpacePerspectiveShadowMap>
|
|
#include <osgDB/ObjectWrapper>
|
|
#include <osgDB/InputStream>
|
|
#include <osgDB/OutputStream>
|
|
|
|
REGISTER_OBJECT_WRAPPER( osgShadow_LightSpacePerspectiveShadowMapVB,
|
|
new osgShadow::LightSpacePerspectiveShadowMapVB,
|
|
osgShadow::LightSpacePerspectiveShadowMapVB,
|
|
"osg::Object osgShadow::ShadowTechnique osgShadow::ViewDependentShadowTechnique "
|
|
"osgShadow::DebugShadowMap osgShadow::StandardShadowMap osgShadow::MinimalShadowMap "
|
|
"osgShadow::LightSpacePerspectiveShadowMapVB" )
|
|
{
|
|
}
|