I’ve got two problems
1.
I have a big scene of 30k polygons.
It runs around 7 FPS but when I draw an image directly to the frame buffer (with glDrawpixel) the scene slows down to 4-5 FPS
Why? Is this function so slow or I’m doing something wrong.
2.
I tried to select the object which is under the mouse pointer with the selection render mode. I use gluPickMatrix with gluPerspective and have a came defined with gluLookAt.
The problem is that it look as if the whole world would bee upside down in the selection buffer. The result looks mirrored horizontally. It works fine when I use gluOrtho2d projection.
Well, the answer to #1- DON’T use glDrawPixels. It is slow. You’re not doing anything wrong. Direct framebuffer access is always slow (BTW, this happens in D3D, too. I was playing sports car GT today. Turned on the mirror frame (drawn with ddraw). Went from ~60fps to like 10-15.)