Game Development Community

32K+1 Square Terrain Fails

by Shayne Gelo · in Torque Game Engine Advanced · 02/09/2006 (10:42 am) · 0 replies

I have heightfield data for a real world location that is 32769x32769. I'd like to use this to get the best possible detail on the terrain (which is very large), but generateChunkFileFromRaw16 chokes on this because it tries to allocate a buffer for the entire 2.0GB file. Is there any way around this, or am I going to have to dig into the code and change it? It seems a shame that the full potential of Atlas is unattainable to do this restriction.