PDA

View Full Version : FPS drop by close look at Texture ???



uwi2k2
01-12-2012, 06:49 AM
Hi all,

i am encountering a strange problem in may game.
Its about jumping from plate to plate...
so if i stand o a plate looking at the rest of the world fps is fine:
http://apoon.de/xmas/gl_1.jpg

So if i now just move the mouse to look at the floor of the plate i am standing on, it drops dramaticly:
http://apoon.de/xmas/gl_2.jpg

of course here is no big change in the game logic happening.... its just looking down by mousemovement...

if i do a high jump and look at the world from above rate is as well a bit smaller:
http://apoon.de/xmas/gl_3.jpg

can anyone help me or give me a hint what is happening here ?

the textures a *.raw files 256x256 and are repeatet some times on the object.

thanx a lot
uwi2k2

tanzanite
01-12-2012, 01:00 PM
Overdraw? Might help if you draw the platforms first and then the pink-gray background box (what hardware is this on?).

ZbuffeR
01-12-2012, 04:46 PM
Do you use mipmaping ?
Otherwise, when looking textured objects from far away will be very costly (cost is roughly equal to distance multiplied by number of visible pixels).

uwi2k2
01-13-2012, 12:47 AM
hi thanx for the answers.

1. yess i use mipmaps
2. its a Compaq 6710b laptop 4 years old. GPU supports opengl 1.8

but i saw now that the framedropping somehow goes together with the screen resolution aspect ratio. in some ratios this does not happen ....

any idea ?

uwi