Adrian -                                                                        
                               
  A way that I've used for that type of functionality is through a              
                               
Camera::DrawCallback subclass.  You can get the rendered scene through          
                               
an (osg::Image) readPixels() call and pass it out through whatever
stream you                                  
like frame by frame.  It isn't extremely fast since it depends on the           
                               
readPixels() call, but on a Quadro or the like it has always been 'fast         
                               
enough' for my purposes.                                                        
                               
                                                                                
                               
  For the video stream output, I can't offer too much advice because I          
                               
have usually been happy to work with the raw frames, but you can pretty         
                               
much tie whatever you like at that point. 

Rudy

On Mon, Feb 01, 2010 at 03:51:27PM +0100, Adrian Egli OpenSceneGraph (3D) wrote:
> Hello all,
> 
> i am looking for a library or idea how we could render osg into a video
> stream?
> 
> /adrian
> 
> -- 
> ********************************************
> Adrian Egli

> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to