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 

Roads


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


Joined: 18 Nov 2016
Posts: 14

PostPosted: Tue Mar 21, 2017 12:25 pm    Post subject:
Roads
Reply with quote

Hi,
I got highway tag from the QGIS(OpenStreetMap) for roads and integrated with DEM file using VPB with following command.
osgdemd -t texture/image.tif -d elevation/dem.tif --forest highway/roads.shp --height 10 --TERRAIN -o output/output.osg
After that i am getting the vertices of roads from output.osg and drawing the lines above the terrain. But some places lines are going under the terrain because of different heights of terrain. For this i tried with HUD camera by setting POST_RENDER. So, i am able to see the lines even if lines are under terrain.But this is not correct method. Is there any ways to solve this problem?
...


Thank you!

Cheers,
Bhanu
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 Limitation of Displaying buildings,ro... Rambabu General 1 Fri Apr 21, 2017 4:47 am View latest post
No new posts Roads as Shapefiles in VPB? umesh VirtualPlanetBuilder [vpb] 5 Thu Dec 18, 2014 4:04 pm View latest post
No new posts Integration of roads martifa VirtualPlanetBuilder [vpb] 12 Wed Dec 09, 2009 1:18 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