Re: [Plib-users] Trouble making simple colored triangle
Brought to you by:
sjbaker
From: Ben D. <be...@wa...> - 2000-10-13 20:40:17
|
I spent more time trying to debug the problem, and have more information. The reason that SSG seemed to be causing trouble is that inside ssgInit, it enables GL_COLOR_MATERIAL. What i discovered is that even if i disable GL_COLOR_MATERIAL afterwards, geometry is still rendered incorrectly! Instead of calling SSG, i tried simply calling: glEnable(GL_COLOR_MATERIAL); glDisable(GL_COLOR_MATERIAL); and was able to duplicate the white-object problem, thus it's not SSG's fault. The question remains why merely enabling and disabling this state messes up rendering. Perhaps it's a driver bug, but the Quadro is a pretty common card. Anyone have an idea? Thanks, Ben |