PDA

View Full Version : textures and render speed



02-06-2001, 03:33 AM
hi,
i am working on a 3D pod-racer like game. I am using heightmapped terrain 3ds as the race track. But when i textured it things became really slow.
how can i improve the fps?
the method i used to load the texture is more or less the same as that in tut6 from NeHe i.e AUXDIB.. can you point me to some sites regarding faster texturing techniques like mipmapping maybe?

AndersO
02-06-2001, 04:00 AM
If you're using allot of textures, sort your poygons according to texture so that you dont bind textures more than you need. Ideally you should only call glBindTexture() as many times as there are textures in a frame.

Mipmapping could maybe improve speed due to less cache trashing, but I would try sorting the textures first.