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 

Frame Drop


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


Joined: 26 Dec 2016
Posts: 6

PostPosted: Tue Jul 02, 2019 4:03 pm    Post subject:
Frame Drop
Reply with quote

Hi all,I’m just rendering a simple Cylinder. It’s code as following. I repeated load it 10 times.
Quote:
osg::ref_ptr<osg::TessellationHints> hints = new osg::TessellationHints;hints->setDetailRatio(100.0f);
Quote:
geode->addDrawable(new osg::ShapeDrawable(new osg::Cylinder(osg::Vec3(6.0f, 0.0f, 0.0f), _radius, _height), hints));

when I first push ‘s’ ,the frame of the scene is about 60Hz and then I countinue push ‘s’, the frame would drop to 40Hz, finally I push ‘s’, the frame just is 20Hz.
The sum cost time of event update cull draw and gpu is about 14.5ms(62Hz),not the same as above 20Hz, I don’t know why? Could anyone give me some advice?
Best wishes!
Judy

------------------
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 -> 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 How to reset osgAnimation (put the an... GiacomoB General 1 Fri Jul 26, 2019 12:11 pm View latest post
No new posts I need any ideas on how to wait for a... christoph General 2 Wed Feb 27, 2019 12:24 pm View latest post
No new posts Dynamic VBO Performance Drop ravidavi General 2 Thu Dec 06, 2018 8:36 pm View latest post
No new posts CPU load and performance drop when ru... particleSim General 1 Fri Oct 05, 2018 9:39 am View latest post
No new posts Switch call to viewer::frame() betwee... DrPowers General 4 Tue Sep 11, 2018 6:48 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