[Papervision3D] Optimizing performance: anything else I can do?

Alan Pinstein apinstein at mac.com
Sat May 9 09:04:03 PDT 2009


> Flash stores those textures (power of 2 textyres) in the l2 cache so  
> they are faster to retrieve.  If you use BitmapMaterial.MIP_MAPPING  
> = true (or whatever the command is) then it should do it for you  
> automatically.  It is not mip-mapping in the typical meaning of  
> 3d.   I think this is only done up to a certain texture size, but  
> i'm not sure what it is.

What evidence do you have for this? I have searched the web and the  
Adobe site for information on this and find none. I don't mean to be  
skeptical, but I find that often online people give advice that is  
unfounded in reality and after wasting many hours previously chasing  
ghosts I now require references before I fully believe these things.

Have you got code, links, presentations etc where you learned this  
information?

Besides, my images are ~34MB in memory which clearly won't fit in an  
L2 cache. Even if I change this to 512x512 textures these are still  
1MB in memory. My machine has only 4MB of L2 cache and could only keep  
4 of these, which covers only 1024x1024 pixels. On a 1900x1200 screen,  
it would seem that cache thrashing alone would make this approach  
useless in helping performance. (These are kinda rough guess  
calculations, so please tell me if I am making any incorrect  
assumptions).

Alan



More information about the Papervision3D mailing list