[osg-users] osgViewer + Fox Toolkit example
mahein at frisurf.no
Thu Sep 6 11:54:44 PDT 2007
> Markus Hein wrote:
>> Also tested rendering multiple viewer windows of the same scene. It
>> works with some small hacks.
>> regards, Markus
Tomas Hnilica schrieb:
> could you please describe your test of multiple viewer windows?
> When I add another FOX_OSG_MDIView to the MDICllient, both scenes are
> drawn to the newly created window and the first one is not actualised,
> mouse actions are token from both windows correctly. (I think this would
> be the same also for one scene)
just change the following code in FOX_OSG_MDIView::OnIdle()
implementation like this:
if( m_gwFox->makeCurrentImplementation() )
m_osgViewer->frame(); // org. line from osgviewerfox - example
then your Problem is solved.
> Could it be
> because of some mixing of ID_CHORE messages?
No, I don't think so.
I would like to suggest all osg-fox coders to study the following fox
"glviewer" example, "datatarget" example and "adie" application.
Helped me a lot to understand how to build Fox-App's. The same thing as
with the osg examples: lot's of useful code-blocks :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users