Skip to main content
GameDev.net gamedev.net
🔒 Locked

Texture Question

Started by Mike00 Aug 27, 2000 at 3:48 PM 2 replies 500+ views
Original Post
Mike00
Mike00
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!
zedzeek
zedzeek
apart from going GL_TEXTURE_MAG_FILTER twice.
how much slower ±5% is normal
could it be youre also texturing the model now too?
Julio
Julio
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
Mike00
Mike00
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.