Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Mike00

Texture Question

This topic is 6625 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!