[osg-users] Mutliple viewers with multiple scenes

2016-03-07 Thread Sebastian Messerschmidt
Hi, I've got some abnormal usage-pattern of viewers and scenes in one application. There is some Qt-based application using OSG to render different scenes into individual widgets(which use an osgViewer::Viewer), which kind of works. The problem is mainly due to osgDB::Registry being a

Re: [osg-users] Mutliple viewers with multiple scenes

2016-03-07 Thread Robert Osfield
HI Sebastian, osgDB::Registry is written to handle multi-threading, not all plugins are thread safe but the mains one will be with the latest rev of the OSG. As a general approach, if you want multiple View's which have their own or share Scene's then the appropriate class to use is

Re: [osg-users] Rendering OSG objects inside an existing OpenGL loop

2016-03-07 Thread Clement Begotto
Thank you so much for the quick answer. I didn't knew about the setClearMask(0) method, It works fine now. ... Thank you again ! Cheers, Clement -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66498#66498

[osg-users] osg with Qtabwidget

2016-03-07 Thread Aaron Lee
Hi, the scene of osg can not be shown in the first tab ,but it works in the second tab. Thank you for your help Cheers, Aaron -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66493#66493 ___

[osg-users] osg +Qt and QtabWidget :the first tab disappearing scene graph

2016-03-07 Thread Aaron Lee
Hi, I have read some articals, but did not know how to sove the problem. someone wirte "I solved the problem by preventing osgQt::GLWidget::resizeEvent being called by my GLWidget subclass if either dimension was zero. " but I have no ideas about the coding. Thank you for your help. Cheers,

Re: [osg-users] 16384x4096-Textures and 8192x8192-Textures

2016-03-07 Thread Sebastian Messerschmidt
Hi Peter Hi, i´m wondering why OpenSceneGraph-Viewer can view 16384x4096-Textures but not 8192x8192-Textures. This totally depends on your GPU/Driver. Usually 8192x8192 can be displayed by any modern GPU. When OSG encounters an image with a size over the limit reported by the driver it will

[osg-users] 16384x4096-Textures and 8192x8192-Textures

2016-03-07 Thread Peter Strohm
Hi, i´m wondering why OpenSceneGraph-Viewer can view 16384x4096-Textures but not 8192x8192-Textures. Would be great if somebody could tell me a way how to view 8192x8192-Textures as well. Thank you! Cheers, Peter -- Read this topic online here: