Hi Cory, OpenGL calls used to fill a background colour will be the faster way to accomplish a gradient background and it'll be a portable solution.
Robert. On Sat, May 2, 2009 at 1:24 AM, Cory Riddell <[email protected]> wrote: > If I want to draw something in the client area of the window OSG is > rendering into (via Windows GDI calls), would I do this in a > preDrawCallback? (after setting an appropriate ClearMask in the camera) > > I want to have a gradient background and I'm thinking that I could do > this easily with the GradientFill() function. I realize I could > accomplish the same thing using methods from the osgHud example, but I'm > thinking that a GDI call would be faster. > > Cory > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

