[osg-users] Embed in SFML window, rendering problem

Nickolai Medvedev raizel.dev at yandex.ru
Mon Oct 31 13:33:34 PDT 2016


Hi, rebootl.

I think, you need create SFML graphic context, then set he to camera.

I advise you to make normal support of a SFML window, like a SDL-window in OpenMW.

https://github.com/OpenMW/openmw/blob/master/components/sdlutil/sdlgraphicswindow.hpp
https://github.com/OpenMW/openmw/blob/master/components/sdlutil/sdlgraphicswindow.cpp

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69186#69186








More information about the osg-users mailing list