I noticed the following static function:
Code:
osgQt::setViewer(m_viewer);

It appears this is not available in any other non-Qt mode. Is this because osg 
has no timers available?

A very odd thing to me follows:

I have a #define that allows me to either use the setViewer() mentioned above 
or my own internal Qt timer.

When I use my internal Qt timer, I have the paintEvent() run the copied code 
from setViewer(). However, the graphics window never shows when x,y in 
moveEvent() is 0,0. If I adjust either x or y so it is anything other than 0,0, 
the graphics window display (obviously with background data showing).

When I call setViewer(), I do not adjust x,y in moveEvent() and it displays 
without any problem (even when it is at 0,0).

Thank you in advance for any comments.

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to