Hi Sean,

In the coming OpenSceneGraph 3.0 Cookbook (will be published in March), I
provide such an example that renders OSG scene graph using
osgUtil::SceneView directly in GLUT. You may find the source code at:
https://github.com/xarray/osgRecipes/tree/master/cookbook/chapter9/ch09_06
The source code are completely in public domain so you may choose to buy
the book or not. :-)

But as Jason suggested, this is not recommended in most cases as you can't
make use of a lot of OSG features anymore.

Cheers,

Wang Rui


2012/2/29 Sean O'Connell <soconn...@zebraimaging.com>

> In my application I have a bunch of cameras that render to textures.  Is
> there a way for me to trigger them to render without calling
> osgViewer::frame or going through the osgViewer class?  Ideally I could
> simply call camera->renderView() or something similar.  Is this possible?
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=45868#45868
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to