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 

the speed of PagedLOD create nodes


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
snowlove
Newbie


Joined: 20 Sep 2018
Posts: 2

PostPosted: Thu Sep 20, 2018 8:07 am    Post subject:
the speed of PagedLOD create nodes
Reply with quote

Hi,all
I am a new to OSG and I am not very good at English. I am grateful if you can give me some suggestions how to increase the speed of creating nodes by PagedLOD. My problem is:
1)my scene model is very big, about 8 million nodes;
2)I can not load all the nodes at once(Memory will be very large,about 12GB).Then I put a node in PagedLOD if the radius of the node's bounding box is lower than a fixed threshold(threshold =40000), so the number of PageLod is very large,by this way the memory is lower.
3)I use: viewer.getDatabasePager()->setTargetMaximumNumberOfPageLOD(100000) as the max num of PageLod nodes ,and I set the range to the node by setRange(0, 0, 100000) which is much bigger than the radius of the node's bounding box, so the node can be create if the camera move near to it.
4) When the scene is rendered´╝îsome part of the scene is loading slowly.
5)I create a node by drawable and the time to create a node is about 0.01s.
6) my environment: WIN10 64bit OSG 3.4 VS2017

The PagedLOD is multi-threaded? How can I make it faster to create the PagedLod nodes?

Thank you very much for reading my question!

Cheers,
QILIU
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General 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 Different views hide/show different n... icf80 General 8 Wed Apr 17, 2019 9:56 am View latest post
No new posts Large scale point clouds rendering wi... saedrna1 General 1 Fri Mar 08, 2019 8:01 am View latest post
No new posts Capturing all visible nodes ijwolf8 General 11 Fri Jan 18, 2019 9:16 pm View latest post
No new posts Write PagedLOD LittleBee General 3 Sat Dec 22, 2018 12:08 pm View latest post
No new posts How to speed up rendering in this case. pwang General 3 Tue Jul 31, 2018 3:00 am 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