Hi Robert,

On 12/22/2010 10:00 AM, Robert Osfield wrote:
Have a look at the osgviewerGTK example.

As I said, I've already looked at osgviewerGTK

On Tue, Dec 21, 2010 at 9:50 PM, Matteo Morelli
<[email protected]>  wrote:
For the OSG-GTK integration, I've looked at the examples providen with
OSG ('examples/osgviewerGTK' folder).

My problem is how to embed the following code fragment:

    osgViewer::Viewer viewer;
    viewer.setSceneData( createScene() );
    if (!viewer.getSceneData())
        return( 1 );

    // Loop and render. OSG calls RotateCB::operator()
    //   during the update traversal.
    return( viewer.run() );

in the OSGGTKDrawingArea class providen by osgviewerGTK.

Again,

Any hints, code fragments or other kind of help is greatly appreciated.

Regards,

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

Reply via email to