another update:
now i got rid of the error by setting the start tick timer of the viewer to be
equal to the timer on the existing main scene view this way
Code:
osg::Timer_t timer = _sceneView->getStartTick();
_viewer->realize();
_viewer->setStartTick(timer);
i can even omit the command with O
update:
i found this thread
http://forum.openscenegraph.org/viewtopic.php?t=9176
and using this command
Code:
_viewer->setRunFrameScheme(osgViewer::ViewerBase::ON_DEMAND);
i got rid of the annoying irresponsivness. i am still getting the error though.
however, i bumped into another issue - so
thank you sth!
i am now able to store the state of the window. never the less, with the error
going on i am still not able to move forward.
i forgot to mention, that if i try to open the window and run the realize()
method on my compositeViewer - in say 5 seconds from launching the application
Hi,
Am 30.12.11 10:48, schrieb Andrey Ibe:
> i was looking for some kind of window "onClose" callback function to allow me
> to store the current window state (graphics contexts' traits) with position
> and size, but i couldn't find any.
have you tried a custom event handler which handles
osgGA
Hi,
i'm trying to create some kind of window manager, which would allow me to open
a certain pop-up window with RTT camera on request and later reopen it if it
has been closed.
i was looking for some kind of window "onClose" callback function to allow me
to store the current window state (grap
5 matches
Mail list logo