Hi,
Thanks for the replies.
Brian: when I set the nodemask on the main camera to zero it no longer renders,
which is good, but the FBO no longer gets rendered (I get a totally black image
in the associated osg::Image).
JP: If I just insert my FBO into the scene (as POST_RENDER) two things
Hi,
jake chambers wrote:
Hi,
Thanks for the replies.
Brian: when I set the nodemask on the main camera to zero it no longer renders, which is good, but the FBO no longer gets rendered (I get a totally black image in the associated osg::Image).
JP: If I just insert my FBO into the scene
Hi,
I have an application where I setup a normal osgViewer view with
setUpViewOnSingleScreen(). This works fine.
I also create an FBO camera to which I add my scene. When I want to take a
screenshot of the application I call osgviewer-setSceneData(myFBOCamera) and
render via
Hi,
have a look at the osgautocapture example. Set the main camera to render
offscreen, pbuffer.
jp
jake chambers wrote:
Hi,
I have an application where I setup a normal osgViewer view with
setUpViewOnSingleScreen(). This works fine.
I also create an FBO camera to which I add my scene.
Hi,
sorry I might have answered too fast. What do you want the main camera
to render when you are taking screenshots? What is it rendering when
when you only attach the FBO camera?
AFAIK you still need to call viewer frame() to trigger the FBO, but you
can make the main camera just render
@lists.openscenegraph.org
From: J.P. Delport jpdelp...@csir.co.za
Sent by: osg-users-boun...@lists.openscenegraph.org
Date: 08/11/2009 10:15AM
Subject: Re: [osg-users] Turning off main osgViewer camera
Hi,
sorry I might have answered too fast. What do you want the main camera
to render when you
6 matches
Mail list logo