slow OpenGL in MFC
-
Hi, I am using MFC(singledocument) to display some 3D physical simulation with OpenGL. My problem is that the display is really slow when my display-window is large. Does anyone have any good ideas on how to speed up the display? The graphics is really simple, (i.e not photographic).I only need 8bit colors. For the smoothness of animation I need doublebuffering, but antialiasing is already turned off. Often only small parts of the window changes between frames. Is it possible to redraw only parts of the screen? I have also tried different settings for the pixelformat, f.x lowering the colordepth etc, but that has not made any large impact. Any ideas on the topic is welcome. Thanks. JoNy
-
Hi, I am using MFC(singledocument) to display some 3D physical simulation with OpenGL. My problem is that the display is really slow when my display-window is large. Does anyone have any good ideas on how to speed up the display? The graphics is really simple, (i.e not photographic).I only need 8bit colors. For the smoothness of animation I need doublebuffering, but antialiasing is already turned off. Often only small parts of the window changes between frames. Is it possible to redraw only parts of the screen? I have also tried different settings for the pixelformat, f.x lowering the colordepth etc, but that has not made any large impact. Any ideas on the topic is welcome. Thanks. JoNy
-
Are you SURE you're finding your 3d hardware correctly?? Perhaps your app isn't initializing OpenGL correctly, and you're ending up with the software implementation??