PDA

View Full Version : the speed is very slowly



programmer
18-10-2006, 11:39 AM
Hi ......

I made a mini game but when I run it with textures the speed is very slowly and when I run it without textures the speed is good

What can I do for that .

Srki_82
18-10-2006, 11:48 AM
Textures width and height should be power of 2... 2, 4, 8, 16, 32, 64...

So, if your texture is, let's say, 100x200 it will slow down rendering... you should resize it in some image processing program to 128x256 and that will improve performance.

JernejL
18-10-2006, 12:08 PM
it also helps sorting geometry by texture, every time you bind a different texture, it will cost you some more miliseconds. less switching = faster.

programmer
19-10-2006, 08:14 AM
I resize all textures to 128X128 but the speed is still slow .

WILL
19-10-2006, 10:28 AM
If that is the case then I think you're gonna have to offer up more details than that. Whats are you doing inside your game?

programmer
19-10-2006, 11:41 AM
This is the game :

http://www.geocities.com/floutf/Four.zip

programmer
20-10-2006, 12:52 PM
Please help me

Traveler
20-10-2006, 01:59 PM
There's a fair chance your pc configuration is causing the problems.

In any case, could you add a binary to the zip? I don't have glscene installed, but it might at least allow me to see, if I have similar problems.

XProger
20-10-2006, 08:23 PM
programmer
Refresh your videocard driver %)

programmer
21-10-2006, 02:06 AM
XProger
I refreshed my videocard driver and the speed now is very good .

but are there any different methods ? (like install program similar directx).

programmer
23-10-2006, 01:48 AM
Thanks for all :P