Change Terrain so that it subclassed from CoordinateSystemNode.
Implemented new update scheme of GeometryTechnique to avoid potential threading issues. Added Terrain support to .ive.
This commit is contained in:
@@ -13,7 +13,7 @@ REGISTER_DOTOSGWRAPPER(Terrain)
|
||||
(
|
||||
new osgTerrain::Terrain,
|
||||
"Terrain",
|
||||
"Object Node Terrain Group",
|
||||
"Object Node Terrain CoordinateSystemNode Group",
|
||||
&Terrain_readLocalData,
|
||||
&Terrain_writeLocalData
|
||||
);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
REGISTER_OBJECT_WRAPPER( osgTerrain_Terrain,
|
||||
new osgTerrain::Terrain,
|
||||
osgTerrain::Terrain,
|
||||
"osg::Object osg::Node osg::Group osgTerrain::Terrain" )
|
||||
"osg::Object osg::Node osg::CoordinateSystemNode osgTerrain::Terrain" )
|
||||
{
|
||||
ADD_FLOAT_SERIALIZER( SampleRatio, 1.0f ); // _sampleRatio
|
||||
ADD_FLOAT_SERIALIZER( VerticalScale, 1.0f ); // _verticalScale
|
||||
|
||||
Reference in New Issue
Block a user