Jump to content
  • Advertisement
Sign in to follow this  
jamesleighe

Generating My Own Mipmaps

This topic is 2701 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 need to generate my own mipmaps because I use atlas textures. I assume a good file format is DDS (since it can store pregenerated mipmaps), but how can I hand edit the mipmaps themselves (to prevent bleeding)?

Is there some program out there or do I have to make a full featured DDS texture writer/editor from scratch to do this?

Share this post


Link to post
Share on other sites
Advertisement
You can use the DirectX Texture Tool (comes with the SDK) to do this...it's really basic but it lets you open image files onto mipmap levels or cubemap faces and save the result as DDS. If you want to automate the process you can look into using Nvidia Texture Tools, or you can even just create and fill the D3D texture objects using a NULL device and then use D3DXSaveTextureToFile to save it out as DDS.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!