The mesh code comprises most of the program :) it's a geo-mod system. So the rendering shouldn't slow down, no matter how many times I create a mesh, add to it, deform it and free it?
[edit] I just tried using AvailVidMem() to determine if I was leaking memory but it only tells me about texture memory used. When I first build the mesh it uses so much memory, then every mesh built subsequently doesn't use any more memory (they share a brush). How do I get System Memory? And in fact, if I were not freeing meshes, would that be system memory or something else?
[edit] I just tried using AvailVidMem() to determine if I was leaking memory but it only tells me about texture memory used. When I first build the mesh it uses so much memory, then every mesh built subsequently doesn't use any more memory (they share a brush). How do I get System Memory? And in fact, if I were not freeing meshes, would that be system memory or something else?