Re: [osg-users] Render to Texture with independent framerate (Solution)

2010-03-18 Thread Georg Martius
Hi folks, I would like to post my solution to the problem of rendering to a texture independently on the framerate of the viewer, the code is attached. My solution is to derived a Viewer from osgViewer::Viewer, added a custom offScreenRender() function mimicking frame() and

Re: [osg-users] Render to Texture with independent framerate

2010-03-11 Thread Georg Martius
Hi, thanks again for answering. J.P. Delport wrote: Hi, Georg Martius wrote: Hi JP, thanks for you hint. I tried to code from the linked thread. Unfortunately it does not really work very well. To get you updated: I have 2 cameras, one is the original viewer cam and the other

Re: [osg-users] Render to Texture with independent framerate

2010-03-10 Thread Georg Martius
Hi JP, thanks for you hint. I tried to code from the linked thread. Unfortunately it does not really work very well. To get you updated: I have 2 cameras, one is the original viewer cam and the other is a pbuffer one. My scenegraph has two nodes: root - scene - RRT Camera - scene2 I have

[osg-users] Render to Texture with independent framerate

2010-03-05 Thread Georg Martius
...@lists.openscenegraph.org/msg36229.html -- Georg Martius, Tel: +49 177 6413311 - --- http://www.flexman.homeip.net -- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg