Re: [osg-users] Linux packaging: Qt 4 vs 5

2016-07-15 Thread Alberto Luaces
Hi Stuart, Stuart Mentzer writes: > Hello, > > The OpenSceneGraph-qt/-devel (OSG 3.4.0) packages on Fedora 24 are > built against Qt 4. I'm wondering if that is suggested by OSG (maybe > due to the single thread restriction on Qt 5) or is the choice of the > Fedora packager. > I think the main

Re: [osg-users] Linux packaging: Qt 4 vs 5

2016-07-15 Thread François Cami
Hi, On Fri, Jul 15, 2016 at 9:15 AM, Alberto Luaces wrote: > Hi Stuart, > > Stuart Mentzer writes: > >> Hello, >> >> The OpenSceneGraph-qt/-devel (OSG 3.4.0) packages on Fedora 24 are >> built against Qt 4. I'm wondering if that is suggested by OSG (maybe >> due to the single thread restriction o

Re: [osg-users] Linux packaging: Qt 4 vs 5

2016-07-15 Thread Robert Osfield
Hi Qt'ers, I feel the Qt4 vs Qt5 issues really require use to have two separate libs built i.e. osgQt4 and osgQt5. With 3rd party applications currently depending upon a osgQt header the distro's that depend upon this will obviously prefer to maintain a osgQt header and osgQt lib name. Would it

[osg-users] Bindless Textures

2016-07-15 Thread David Heitbrink
Has any one implemented bindless textures? I am trying to add this to my app to improve batching. I have a large scene, with lots of unique draw calls. We do use texture atlas's, the number of small objects is limited. I would like to further improve batching without having to redo textures. I d

Re: [osg-users] Bindless Textures

2016-07-15 Thread Glenn Waldron
David, This may or may not be helpful, but a while back I made a bindless version of osg::Texture2D here you can look at. It's mostly a experiment but you might be able to glean something front it: https://github.com/gwaldron/osgearth/blob/bindless/src/osgEarth/Texture https://github.com/gwaldron/

Re: [osg-users] Speedup simplifier

2016-07-15 Thread David Heitbrink
what you can do is run the simplifier, then use osgDB::writeNodeFile() to save the simplified result then load that the next time you run. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68144#68144 _

Re: [osg-users] Get monitor resolutions on extended desktops

2016-07-15 Thread David Heitbrink
if you are using windows you can use EnumDisplayMonitors, this will go through your list of physical displays attached to your computer. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68145#68145 ___

Re: [osg-users] Linux packaging: Qt 4 vs 5

2016-07-15 Thread Stuart Mentzer
On Fri, Jul 15, 2016 at 9:15 AM, Alberto Luaces wrote: I am able to run our OSG applications with Qt 5 on Windows and I'd like to try it on Linux to see if we can transition off Qt 4. Would it make sense to request OpenSceneGraph-qt5 packages be added by the main distros? (I am assuming those

Re: [osg-users] OSX/X11 graphics context not updating after window resize

2016-07-15 Thread Ravi Mathur
Well I'm dumb. Turns out, I was using CMake to find OpenGL, which linked to the Cocoa version of GL instead of X11 like I needed. After linking to the correct OpenGL libraries, I no longer need to call glXMakeCurrent; glViewport does the job like it's supposed to. Just thought I'd share for pos