October 28th, 2011, 04:43 PM
Ok, just saw that you are using glColorMaterial....
Are you using surface normals?
October 28th, 2011, 04:42 PM
Use glMaterial (not glColor) to set your model's appearance and be sure that you're assigning surface normals. This will improve the look of your model a lot.
October 28th, 2011, 04:39 PM
If you've fixed it, that's good.
I have seen situations where the CChildFrame behind the CView repaints and causes a flicker.
Jack Dingler
October 20th, 2011, 04:50 PM
I believe you're running into some architecture limitations in trying to do this.
I'm actually surprised that you can allocate 2gb of memory with this call.
The problem you you may be butting...
October 20th, 2011, 12:57 PM
You'll need to a create a second image to copy the rotate pixels to.
For that image, you'll reverse the width and height.
You'll be reading the pixels from the first image, then reversing the x...