Advertisement

is ortho slower FPS?

Started by January 07, 2004 06:33 AM
2 comments, last by BigBoy 21 years, 2 months ago
Hi, I''ve got a 800x800 window and drawing to it in ortho mode (the program is a 2d one). With nothing on the screen, it chugs along at around 210 FPS. If I place around 50 40*40 pixel textured tiles (for want of a better word), the FPS drops to about 33. Is this normal behaviour? I should add that I''m using GLFW, though I wouldn''t think that it should impact it if anything. Cheers, Jeroen
Cheers,Jeroen
depends... probably not normal behaviour, but what spec is your 3d card? How big are the textures? hard to tell without much info.

No, orthographic viewing isn''t slower than perspective. You''re probably doing something wrong in your drawing loop.
[size="1"]
Advertisement
Your questions weren''t far off the mark. My images were 512x512, far larger than what was being displayed. So I reduced them to 128x128 (probably still a little bigger than needed), and the FPS shot up to 98. I then set the screen colours to 16 bit (it was 32 bit), and this increased the FPS to 128. I''m still using a screen resolution of 1400x1050 (the display is nice and crisp), anddecreasing this also increases the FPS a tad.

FYI, the card I have is a NVIDIA Geforce2 Go on a 1Gh Dell Inspiron 8000 (laptop).

Thanks for the reply.
Jeroen
Cheers,Jeroen
Definitly your resolution.

This topic is closed to new replies.

Advertisement