OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

VPB Terrain Simplification Missing?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> VirtualPlanetBuilder [vpb]
View previous topic :: View next topic  
Author Message
myantek
Newbie


Joined: 20 Apr 2009
Posts: 2

PostPosted: Mon Mar 08, 2010 10:39 pm    Post subject:
VPB Terrain Simplification Missing?
Reply with quote

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

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12264

PostPosted: Tue Mar 09, 2010 9:52 am    Post subject:
VPB Terrain Simplification Missing?
Reply with quote

Hi Mark,

On Mon, Mar 8, 2010 at 10:41 PM, Mark Yantek < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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.

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> VirtualPlanetBuilder [vpb] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Missing features with GL Core profile Hugal31 General 1 Tue Apr 16, 2019 11:23 am View latest post
No new posts Use PNG as texture for terrain in osg... Rodrigo General [3rdparty] 12 Mon Jan 07, 2019 5:13 pm View latest post
No new posts Missing 'png' image reader sdef General [3rdparty] 2 Mon Nov 12, 2018 5:51 am View latest post
No new posts missing color for simple model with G... aroth General 1 Fri Jul 27, 2018 1:55 pm View latest post
No new posts Missing OpenThreads PDB when building... guyv Build system [build] 0 Thu Jul 12, 2018 12:39 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP