Re: [osg-users] VPB Terrain Simplification Missing?

2010-03-09 Thread Robert Osfield
Hi Mark,

On Mon, Mar 8, 2010 at 10:41 PM, Mark Yantek myan...@rscusa.com wrote:

 In the more recent versions of Virtual Planet Builder(0.9.11-trunk)
 terrain simplification stopped working for me. It seems VPB is functioning
 as if –no-terrain-simplification is always set. Was terrain simplification
 killed off or disabled?


VPB by default now builds databases that use osgTerrain::TerrainTile rather
than osg::Geometry tiles.  TerrainTile's are regular grids that are
tessellated at viewer runtime, rather than like the old osg::Geometry that
are tessellated and simplified at VPB build time.

The advantage of using osgTerrain is that you can change the geometry
complexity on the fly in your final application, and can also customize the
TerrainTechnque that is used to render the tiles, so you can implement your
own schemes rather than the brute force GeometryTechnique that is the
current one provided by osgTerrain.  Building in VPB using osgTerrain is
also many times faster as the simplification process is comparitively slow.

To see how you can alter the sample density at runtime have a look at the
osgmultitexturecontrol example, and in particular the
_terrain-setSampleRatio(..); line.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] VPB Terrain Simplification Missing?

2010-03-08 Thread Mark Yantek
Masters of the Scenegraph,

 

In the more recent versions of Virtual Planet Builder(0.9.11-trunk)
terrain simplification stopped working for me. It seems VPB is
functioning as if -no-terrain-simplification is always set. Was terrain
simplification killed off or disabled?

 

Thanks

 

-Mark

 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org