mipmaps with 3D textures (bitmap fill)
Hi all,
I must say I'm a little puzzled by the mipmap functionality in the newer flash players.
Here http://www.kaourantin.net/2007/06/mip-map-what.html Tinic describes the way that mipmaps work in flash player if the images are specific sizes (e.g. powers of 2 like 256x256 etc). The demo here http://www.kaourantin.net/swf/mipmap.html shows this working quite clearly and I have myself demonstrated that when using a simple bitmap object with smoothing set to true then scaling has a much better result when the images are the correct dimensions for mipmap capabilities.
However I have not seen mipmaps work in 3D when using bitmapFill and drawTriangles. The bitmap quality seems to look crappy regardless of the bitmap size. Do mipmaps ever work in 3D with bitmap fill etc? This topic direct from Adobe seems to imply that it does
with the comment "Use bitmap sizes that are divisible by 4 or 8 for two-dimensional images (such as 640 x 128, which can be reduced as follows: 320 x 64 > 160 x 32 > 80 x 16 > 40 x 8 > 20 x 4 > 10 x 2 > 5 x 1) and 2^n for three-dimensional textures"
However a few other sources such as this one implies that it doesnt
http://blog.alternativaplatform.com/en/2009/12/25/mipmapping/#comments
with the comment "Mipmapping was introduced in Flash Player 9 but it doesn’t work with 3D drawing and requires textures to be even in resolution. That is why we developed our own method of filtering."
Can anyone answer this question and perhaps give a code example of mipmap making any different with 3D (Without using a third party 3D package that does their own mipmapping).
Cheers