Ok, it builds now, "osgprerender --image" works if what is intended is to invert the colours of a rectangle inside of the cow texture. I really never tried that example with the "--image" switch, but I think it's doing its work nicely.
El Viernes 18 Abril 2008ES 15:55:54 Robert Osfield escribió: > Hi Alberto, > > Sorry, missed this check in (I was managing multiple patches at once.) > The include/osg/Camera updates are now checked in. > > Robert. > > On Fri, Apr 18, 2008 at 2:44 PM, Alberto Luaces <[EMAIL PROTECTED]> wrote: > > The SVN gives this error: > > > > [ 1%] Building CXX object > > src/osg/CMakeFiles/osg.dir/FrameBufferObject.o > > > > /home/alberto/OSGSVN2/trunk/src/osg/FrameBufferObject.cpp: In member > > function 'void osg::FrameBufferObject::updateDrawBuffers()': > > /home/alberto/OSGSVN2/trunk/src/osg/FrameBufferObject.cpp:619: > > > > error: 'COLOR_BUFFER15' is not a member of 'osg::Camera' > > > > make[2]: *** [src/osg/CMakeFiles/osg.dir/FrameBufferObject.o] Error 1 > > make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2 > > make: *** [all] Error 2 > > > > El Viernes 18 Abril 2008ES 15:37:42 Robert Osfield escribió: > > > Hi All, > > > > > > I've tracked down the below problem and checked in a bug fix for it. > > > So please svn udpate and test. > > > > > > Robert. > > > > > > On Fri, Apr 18, 2008 at 2:16 PM, Robert Osfield > > > > > > <[EMAIL PROTECTED]> wrote: > > > > I have just done more testing, and found that while the follow > > > > works: > > > > > > > > > > > > osgprerender cow.osg --image --fbo > > > > > > > > Without the --image it fails - I just get a back window. > > > > > > > > osgprerender cow.osg --fbo > > > > > > > > As yet I don't know why, other RTT effect like osgspotlight and > > > > osgshadow work. > > > > > > > > Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

