-=MadMan=-
06-11-2005, 02:34 AM
Hi.
I'm porting a crossplatform 2D library under OpenGL. And occured a strange problem.
Test application works fine. The scene is rendered properly, and CPU load is very small. But after drawing some antialiased lines using GL_LINES I encounter a strange effect: application runs perfect until some invisible polygons runs into rendered scene. At this moment CPU load is about 100% It holds until this elements are at the screen. As soon I move them into invisible space everything becomes normal.
All polygons are textured.
Does anyone knows the possible cause of this effect?
Thanks.
Daniel.
I'm porting a crossplatform 2D library under OpenGL. And occured a strange problem.
Test application works fine. The scene is rendered properly, and CPU load is very small. But after drawing some antialiased lines using GL_LINES I encounter a strange effect: application runs perfect until some invisible polygons runs into rendered scene. At this moment CPU load is about 100% It holds until this elements are at the screen. As soon I move them into invisible space everything becomes normal.
All polygons are textured.
Does anyone knows the possible cause of this effect?
Thanks.
Daniel.