Hi,

Brett Thomas Lee wrote:
Hi,



Thank you! very much.I also have an another question.What is attach in

mPreRenderCamera->attach(osg::Camera::COLOR_BUFFER,img.get()); code.If I attach an image to color buffer whenever I update the camera scene does
the image gets automatically updated??or Do I need to attach it every frame??

attach only once, see osgprerender example.

jp




Cheers,
Brett

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17164#17164





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to