I just change line 1308 and 1312 to previous version and things works
ok. I don't know why you switch the two lines. I attached my version of
CullVisitor.
hesicong2006 wrote:
But, another problem. After fix setClearDepth problem, RTT camera
setClearColor doesn't work!!!
I modified osgprerender.cpp line 319, from
camera->setClearColor(osg::Vec4(0.1f,0.1f,0.3f,1.0f));
to
camera->setClearColor(osg::Vec4(1,0,0,1));
but the background color do not change.
Please check it, thanks!
Robert Osfield wrote:
On Sat, May 24, 2008 at 9:45 AM, hesicong2006 <[EMAIL PROTECTED]> wrote:
OK, it works.
BTW, osgscreencapture.cpp can't compile, it says GL_STREAM_READ not defined!
Pesky windows headers...
Could you try an svn update to see if the #define's I've added solve things.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3128 (20080523) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
|
CullVisitor.rar
Description: Binary data
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org