Hi Zach,
On 11/28/06, Zach Deedler <[EMAIL PROTECTED]> wrote:
When loading a large model/database the screen OSG1.0 used to go white
before it started rendering. Now, it shows a frozen image of the desktop
until it loads with 1.2 and CVS. I'm sure this has to be related to the
flickering.
I don't see these symptoms when loading the Quake3 video game on the same
computer. (The game shows a white background before rendering)
There was a change made in Producer after 1.0 that sets the background
brush of the graphics window to NULL. This is what is causing the
desktop to show, instead of a white window. However, this change
should cause less flickering, since a NULL brush means the background
won't be cleared by Windows. Try changing the following line in
RenderSurface_Win32.cpp:
wndclass.hbrBackground = NULL;
back to:
wndclass.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
-Farshid
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/