Hi,
Gottfried Gross wrote:
Hi JP,
thx for the quick response.
Yes, there is a ClearNode, but I'm not sure, if it makes much sense
using it, because I think I will need a camera anyway to specify
which colorbuffer exactly I want to clear. As far as I know I can
only call setDrawBuffer() on a camera object, or is there another
way?
I'm not sure... There is
_Camera->setClearColor(osg::Vec4(0.1f,0.1f,0.3f,1.0f));
_Camera->setClearMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
as well, but I'm not sure exactly what you want to do. I e.g. don't
understand why you would want to call setDrawBuffer? Maybe if you could
explain your problem in a bit more detail I can help. How many camera's
do you want, how many buffers, swap in single frame or swap after frame,
etc...
jp
Cheers, Gottfried
------------------ Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23997#23997
_______________________________________________ osg-users mailing
list [email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org