[osg-users] embedding OSG into SFML window
Noè Murr
noe.murr at outlook.com
Sat Aug 24 09:36:49 PDT 2019
Hi all,
I'm trying to mbed an osgviewer into an SFML window.
Stating from this code
https://gist.github.com/colesnicov/bca684b939d19e2d1ac74d9a881b35b1,
I've written my own version that does not use the sfgui library.
You can see the code as attachment of this message.
The problem is that when I pres the 'S' key to start the stats handler I
get a bunch of OpenGL error and I get very strange visual results, as
you can see in the video attached.
If I resize the window the error is solved until the next event.
Do you know why I got this errors and how can I avoid them?
Cheers,
Noè Murr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sfml-osg.cpp
Type: text/x-c++src
Size: 5056 bytes
Desc: sfml-osg.cpp
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190824/282af80d/attachment-0001.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sfml-osg-error.mp4
Type: video/mp4
Size: 480667 bytes
Desc: sfml-osg-error.mp4
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190824/282af80d/attachment-0001.mp4>
More information about the osg-users
mailing list