Dirk Reiners schrieb: > It is a simple question: you need to create and assign a new Background. ;) > > Example: > > #include <OpenSG/SolidBackground.h> > SolidBackgroundPtr bgr = SolidBackground::create(); > beginEditCP( bgr ); > bgr->setColor( Color3f( 1.0, 1.0, 1.0 )); > endEditCP( bgr ); > mgr->getWindow()->getPort(0)->setBackground( bgr ); > > (from Tutorials/27RationalSurface.cpp). There are other, more interesting > Backgrounds, too. > > Hope it helps > > Dirk > Another one on background color: How do I clear the alpha value to 0.0? What I want to achieve is rendering an FBO-Object with transparent background!?
Thanks! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
