Hi Sergey,
Thanks for your reply and suggestions. I will take a look at the link you
mentioned.
Regards,
Sanat
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39272#39272
___
osg-users mailing
Hi,
I have been trying to modify the osgViewerQtWidget example which has a
composite viewer embedded as a widget in a Qt main window.
I want to use a single Viewer instead and am thus far not successful. My Qt ui
is a simple main window with the central widget upgraded to a ViewerQOSG
widget.
Hi Sanat,
seems you might want to look at this thread
http://forum.openscenegraph.org/viewtopic.php?t=2308
notice
// Push matricies
and
osg::State *state = getCamera()-getGraphicsContext()-getState();
state-reset();
state-apply(m_lastStateSet.get());
Regards
Sergey
Hi Sanat,
sorry, I might be not very clear ( it is just that thread helped me a lot ).
but why not to use this example
http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/examples/osgviewerQt/osgviewerQtContext.cpp
as a starting point?
Regards
Sergey
Hi Sanat,
http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/examples/osgviewerQt/osgviewerQtContext.cpphttp://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/examples/osgviewerQt/osgviewerQtContext.cpp
with this more simple example it would be easier to
5 matches
Mail list logo