Texture Question

Started by
2 comments, last by Mike00 23 years, 7 months ago
I have a model, with a big square behind it for the background. It runs fine, and the model moves fast, but as soon as I enable texturing, and put a 64x64 texture covering the square, the model moves much slower. I''m using this kind: glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR); to generate my texture.... Any ideas on how to make it faster? Thanks!
Advertisement
apart from going GL_TEXTURE_MAG_FILTER twice.
how much slower ±5% is normal
could it be youre also texturing the model now too?
well, you could make the texture smaller, (32x32), you could also use some type of culling algorithm to draw the textures that can be seen.

JoeMont001@aol.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
No, I'm not texturing the model too.

Anyway, I changed one to MIN, and both to NEAREST and it's a lot faster now.

How does a game like Everquest do it, where you're in a full 3d world, with so many textures everywhere and it runs fine?

Thanks

Edited by - Mike00 on August 27, 2000 8:49:05 PM

Edited by - Mike00 on August 27, 2000 8:52:22 PM

This topic is closed to new replies.

Advertisement