Natasha Westland wrote:
The osgviewerGTK example does work but that embeds the viewer in its own application. I have tried modifying the OSGGTKDrawingArea class so that it would work given my scenario but to no avail (for example, I can't just open a gtk dialog when instantiating an OSGGTKDrawingArea object. I tried modifying the appropriate methods so instead of creating a new window, it embeds itself using the code in my below example but I get the same behavior). The viewer is created, embedded in the GTK application and then is never seen again. The reason for the upgrade from OSG 1.0 to 2.8.2 was due to the upgrade of our OS (from FC 5 to CentOS). The underlying libraries were newer and mandated the upgrade. Thanks for the response.

I'm very likely going to have to do something similar soon. We're already using 2.8, but we're also currently using a home-made viewer and using osgUtil::SceneView directly. This works, but has some issues (no threading, have to set up the DatabasePager manually, etc). A lot of our apps are GTK-based as well.

If I get a chance, I'll try to implement some of my ideas and I'll pass along anything I learn.

--"J"

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to