🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Texture Question
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!
apart from going GL_TEXTURE_MAG_FILTER twice.
how much slower ±5% is normal
could it be youre also texturing the model now too?
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
JoeMont001@aol.com www.polarisoft.n3.net
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
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
Popular Topics
Advertisement