Re: [osg-users] Rendering without calling osgViewer::frame

2012-03-11 Thread Sergey Polischuk
whenever you use rtt camera there are some other things tbd for resize to work check this thread http://forum.openscenegraph.org/viewtopic.php?t=8602 29.02.2012, 07:53, Sean O'Connell soconn...@zebraimaging.com: 3.  I don't know if this is related, but when adding my camera to the 3rd party

Re: [osg-users] Rendering without calling osgViewer::frame

2012-02-29 Thread Sean O'Connell
I'm currently working on a project where I have to integrate library into a 3rd party application's source code. The library consists of a custom osg Camera that takes 9 snapshots of the user's scene. The headache's I've run into are the following: 1. I cannot seem to turn off the 3rd

Re: [osg-users] Rendering without calling osgViewer::frame

2012-02-29 Thread Sean O'Connell
3. I don't know if this is related, but when adding my camera to the 3rd party app's osgViewer I am unable to change the color and depth buffer resolution. Calling setTextureSize and Camera::setViewport will seem to increase the size of the texture but the actual contents that get rendered

Re: [osg-users] Rendering without calling osgViewer::frame

2012-02-29 Thread Jason Daly
On 02/28/2012 10:49 PM, Sean O'Connell wrote: I'm currently working on a project where I have to integrate library into a 3rd party application's source code. The library consists of a custom osg Camera that takes 9 snapshots of the user's scene. The headache's I've run into are the

[osg-users] Rendering without calling osgViewer::frame

2012-02-28 Thread Sean O'Connell
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?

Re: [osg-users] Rendering without calling osgViewer::frame

2012-02-28 Thread Jason Daly
On 02/28/2012 06:20 PM, Sean O'Connell wrote: 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

Re: [osg-users] Rendering without calling osgViewer::frame

2012-02-28 Thread Wang Rui
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