Hi Gordon, Had some serious problems parsing the below paragraph. Creating an pbuffer and then rendering to it for N frames, each frame copying the current image to video library/disk for later assembly should be easy. The osgsimple doesn't use a pbuffer by should show an easy way of putting it together by just changing the RenderSurface to be a pbuffer.
Robert. On 11/16/06, Gordon Tomlinson <[EMAIL PROTECTED]> wrote:
Hi Robert Thanks for the reply We need to do this as wee need to capture N frames for video capture while we follow a defined path etc, and have to use offscreen as windows can place other app windows over the OSG one or a screen saver etc could kick in and we would end up capturing that as well, and were our apps are deployed were not allowed to force the OSG app to the top and stop the screen saver kicking etc( which I have done before in other apps ;) ) Best Regards Gordon __________________________________________________________ "Self defence is not a function of learning tricks but is a function of how quickly and intensely one can arouse one's instinct for survival" - Master Tambo Tetsura -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Osfield Sent: Thursday, November 16, 2006 4:40 PM To: osg users Subject: Re: [osg-users] RE: Switching between Off Screen and On Screenrendering Hi Gordon, You won't really swap rendering bettern render surfaces, you'd just set up a seperate pbuffer and camera/sceneview and set it up with the same view and projection matrices, capture the image, then disposal of it all. Robert. On 11/16/06, Gordon Tomlinson <[EMAIL PROTECTED]> wrote: > > > > > Hi Folks > > I have not done any offscreen rendering with OSG and have just been posed a > question I'm not sure about so I thought I woulld ask ;) > > Basically what we want to do is > > Render to the normal OSG screen rendersurface, then we want to be able to > swap the rendering from the screen to an offscreen p-buffer for a period of > time then switch back to rendering to the normal on screen rendersurface > > Is it possible to switch likes this ? > > Thanks > > > > > > > Gordon > > > __________________________________________________________ > > > > > "Self defence is not a function of learning tricks > but is a function of how quickly and intensely one > can arouse one's instinct for survival" > - Master Tambo Tetsura > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
