#pragma

Hi,
i've loaded some fbx models via the content pipeline with integrated textures.
can i tell the loader routine to auto-generate mipmaps when loading textures integrated in fbx models or how can i postgenerate the mipmaps out of the models.

sorry for my english ;)

thx
#pragma


Re: XNA Game Studio Express mipmapping

Shawn Hargreaves - MSFT

The content pipeline will create mipmaps by default: you only need to do anything special if you don't want them to be generated for you.





Re: XNA Game Studio Express mipmapping

#pragma

aaaah.... thx

How many mipmap levels creates the content pipeline by default.... how can i adjust those settings




Re: XNA Game Studio Express mipmapping

Shawn Hargreaves - MSFT

It will create all the way down to a 1x1 size. There's very little reason ever to do anything other than that, because the last few mipmap levels occupy almost no memory compared to the full texture and first mip, so once you've paid the cost for the first couple, you might as well do all of them.

If you really do need to change this for some reason, you can do that by writing a custom texture processor, and subclassing the ModelProcessor to call your custom texture processor. I blogged a bit about how to set this up.





Re: XNA Game Studio Express mipmapping

#pragma

oh ok :) thank you