HI Sashidar, If you want a slave camera with its own window/pbuffer then you need to assign this window to the Camera before attaching to the viewer. Have a look at the osgcamera, osgwindows and osghud examples for places where slave cameras are used.
Robert. On Nov 30, 2007 3:05 AM, Sashidhar Guntury <[EMAIL PROTECTED]> wrote: > Hi! > > I have this viewer to which I'm adding a slave camera. The camera is > initialized to 852x480 (while my screen resolution is 1280x800.) Now the > problem is that when I give a > > viewer.addSlave(camera.get(), > ...); > > it displays everything in a window of 852x480. Shouldn't it be displaying > the original fullscreen window? My slave's renderTargetImplementation is > FRAME_BUFFER, but when I set it to PIXEL_BUFFER or PIXEL_BUFFER_OBJECT, it > gives me a segfault. Where am I going wrong? > > what I want to do is have a slave camera added to the > viewer (which is initialized to PIXEL_BUFFER.) This slave camera would be > recording images and storing them... > > > thanks for the help :-) > > Bye! > Sashidhar > > _______________________________________________ > 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

