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 .
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 .
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.
it also helps sorting geometry by texture, every time you bind a different texture, it will cost you some more miliseconds. less switching = faster.
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
I resize all textures to 128X128 but the speed is still slow .
This is the game :
http://www.geocities.com/floutf/Four.zip
Please help me
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.
programmer
Refresh your videocard driver %)
XProger
I refreshed my videocard driver and the speed now is very good .
but are there any different methods ? (like install program similar directx).
Bookmarks