Jump to content
  • Advertisement

Archived

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

Greg K

MipMapping questions

This topic is 6172 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

How do I do it. I looked through the help and thought I knew how but then I went to try it out and it doesn''t work. Can anyone give me an example.

Share this post


Link to post
Share on other sites
Advertisement
DX7 ?, DX8 ?, Using D3DX ?

Assuming DX8:

1. Specify the number of mipmap levels to CreateTexture.

2. Lock each level and fill all the maps required.

3. Use SetTextureStageState with D3DTSS_MIPFILTER, D3DTSS_MIPMAPLODBIAS and D3DTSS_MAXMIPLEVEL to control.


It really is as simple as that - the performance benefits depend on the hardware in use and the amount of minification of textures taking place (texture minification is a perf. killer).

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
Thank you both for your help. I actually figured out the problem on my own. I was using SYSTEMMEM instead of MANAGED.

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!