Hi Erwan, Have a look at the osgcamera and osgprerender examples. To get imagery out you can attach an osg::Image to the viewers camera and on each frame it'll be automatically copied, or just use a camera post/final draw callback.
FYI, Producer/osgProducer is required for the OSG-1.x version of the OSG, but no OSG-2.x as we now have a native windowing/camera/threading implementation in osgViewer. Robert. On Mon, Dec 1, 2008 at 4:29 PM, Erwan Bigorgne <[EMAIL PROTECTED]> wrote: > hello, > I'm a newcomer in osg... and a little bit lost. > Anyway here is my problem : Aiming at test some computer vision algorithms, > I intent to code a simple Image server. I have already installed osg libs, > coded and run some simple graphes... But despite the tutorials (thanks) and > documentation (again) at my disposal, I just can't figure out how to do a > simple thing i.e. how to define an adhoc camera(?), viewer(?), producer(?) > and access to its (if it exists) framebuffer or rendered frame. ( I'm using > opencv... lets say a 512x512 uchar table :) > > Thanks by advance. > Erwan > > > > _______________________________________________ > 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

