I can't seem to find an answear to this one;
I've got a couple of terrains (9 * (1025 * 1025)), wich need to be loaded and displayed as they are in the same game world, I tried to do this, I took about one minute to load it and I got a descent frame rate, ~60.
When I checked the memory useage it was about 1,5 gb of ram wich is just too much. So I thought of loading them during run-time when needed, I did this, got it loading, when I got close to them.
But to my problem: When I was trying to unload them, when I got far enought away from them, I call the function terrain->removeAll();
This doesn't remove the terrain from the memory, neither from the scene, I tried to call ZeroMemory on it, but then I get an exception from the scenemanager when I try to draw the scene!
Please help me!
(Sorry for bad gramma, I'm a bit tired