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 

qt rendering thread


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


Joined: 14 Oct 2011
Posts: 71

PostPosted: Mon Nov 12, 2012 2:39 pm    Post subject:
qt rendering thread
Reply with quote

Hi,

Current state GraphicsWindowQt uses QTimer and function osgQt::setViewer for rendering traversal. It's clever, because Qt and osg events get correctly dispatched. But if fps drops, Qt Gui lags, mainly because some events (menu for example) will request redraw. I want to render scene in different thread, so it will not slow down my app when render slow frame. And maybe reset rendering if I for example move my scene.

How to achieve that ?

Thank you!

Cheers,
Filip
Back to top
View user's profile Send private message
Kilazi
Newbie


Joined: 16 Aug 2012
Posts: 15

PostPosted: Wed Nov 14, 2012 7:46 am    Post subject:
Reply with quote

Hello!

Have you looked into OsgQtBrowser and OsgQtWidgets examples?
Back to top
View user's profile Send private message
hroch
User


Joined: 14 Oct 2011
Posts: 71

PostPosted: Mon Nov 19, 2012 9:02 am    Post subject:
Reply with quote

Hi,

Ok, Thanks, I get the idea behind it. Do I have to worry about thread safety or not ?

Cheers,
Filip
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 Android OSG crashed in libcurl of mul... xiaqingran General 2 Thu Oct 16, 2014 3:10 pm View latest post
No new posts [OSG + Qt] Weird rendering Sisyphe General 0 Sun Oct 12, 2014 4:04 pm View latest post
No new posts [OSG + Qt] Weird rendering Sisyphe General 2 Sun Oct 12, 2014 4:03 pm View latest post
No new posts multi-thread of osgviewer on Android xiaqingran General 2 Thu Oct 09, 2014 6:01 pm View latest post
No new posts [OffScreen Rendering] limit camera fr... mp3butcher General 4 Tue Sep 30, 2014 1:02 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