Hi Eric,

I doubt its an OSX specific issue, as to what it could be I can't
really guess, I can't build a mental model of what your apps looks
like now so I don't have any chance of guessing what might be up.

All I can say is that I want to support taking snapshots with
osgViewer, the three ways I can see are

 1) Grab the frame buffer contents just like
osgProducer::ViewerEventHandler does right
     now using a camera post draw callback.

 2) Create a temporary Camera to render the scene using an existing
graphics context
     and a fbo or simply use the back buffer.

 3) Crate a temporary Camera to render the scene using a pbuffer
graphics context.

As part of the porting work osg the osgviewer application I'd like to
implement a screen grab function, when I do this I'll have a play with
the above options.  Perhaps this work will provide some guidance for
you.

Robert.

On 1/12/07, E. Wing <[EMAIL PROTECTED]> wrote:
One other thing. This might be an OS X issue, but I'll ask just in case.
I noticed that when I add this new Camera node and render to
offscreen, I lose the image in my onscreen view for a moment. I know
if I don't undo the camera node insertion, then I will continue to get
a plain blue screen.

So I'm thinking that something is being rendered to the screen, even
though it shouldn't be. Have you experienced anything like this? I'm
also wondering if there is a way I can get the FBO snapshot without
having to modify my scene graph. It seems a little strange to me to
modify the scene graph for this.

Thanks,
Eric
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to