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 

performance of QT GUI when integrated with OSG


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


Joined: 04 Oct 2009
Posts: 97

PostPosted: Thu Oct 20, 2016 4:09 pm    Post subject:
performance of QT GUI when integrated with OSG
Reply with quote

Hi,

I have used class ViewerWidget(: public QWidget, public osgViewer::CompositeViewer) to integrate OSG into a QT application. Like the osgViewerQT example:

viewer3DWindow = new ViewerWidget;
QMdiSubWindow *tmpsubwin_3D = new QMdiSubWindow ;
tmpsubwin_3D->setWidget(viewer3DWindow);

And there are other QT GUIs like QT::Dialog,QT::LineEdit etc,they are in the same application but in different QMdiSubWindow.

When our 3D widget (osg widget) has a lot of thing to render,the frame is down to 10 fps or even lower.It is totally acceptable for the 3D widget.

However,the GUI widget seems also have low performance as the 3D widget.For example,when we tap some words to a QT::LineEdit,it take a long time to react our input.

When 3D widget's frame back to normal,the QT GUI widget's performance is back to normal too.

So it looks like the 3D OSG widget and QT GUI widget share the same graphic resource .When cpu or gpu usage is high,the 3D OSG widget try it best to keep performance ,while the QT GUI widget dose not have enough
resource to react.

We use linux and Qt 4.8.4.Any advice?



...

Thank you!

Cheers,
Lv
Back to top
View user's profile Send private message
lq37
User


Joined: 04 Oct 2009
Posts: 97

PostPosted: Thu Jun 22, 2017 12:42 pm    Post subject:
Reply with quote

Hi,

any advice ?

Thank you!

Cheers,
Lv
Back to top
View user's profile Send private message
lq37
User


Joined: 04 Oct 2009
Posts: 97

PostPosted: Thu Jun 22, 2017 12:42 pm    Post subject:
Reply with quote

Hi,

It looks like there is competition among dialog and osg for display resource。

when I drag a uninx dialog(not even the QT Dialog) toward the osg,the dialog is ghosting,and the frame of osg is down.

Any advice?

Thank you!

Cheers,
Lv
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 improve system performance white_water125 General 0 Tue Oct 17, 2017 6:43 am View latest post
No new posts How can I increase the performance? T... gambr General 1 Thu Aug 24, 2017 8:55 am View latest post
No new posts PrimitiveSets and performance Riccardo Corsi General 3 Fri Dec 02, 2016 3:32 pm View latest post
No new posts Modern OpenGL and VBO performance Gedalia Pasternak General 1 Wed Nov 09, 2016 5:54 pm View latest post
No new posts VPB and integrated features Trajce Nikolov NICK General 1 Thu Nov 03, 2016 10:19 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