Missing Terrains after compile...
by Nicolai Dutka · in Torque Game Engine Advanced · 09/08/2009 (3:44 pm) · 1 replies
2 days ago, I wiped out my hard drive and re-installed Windows. I did make a backup of my TGEA_1_8_1 folder and restored that.
I then installed Visual Studio 2008, Windows SDK, and DirectX SDK, then configured VS2008 to use the DirectX SDK files following the docs included with TGEA.
I compiled my project, copied the new .exe to my game folder, and ran it. When I get into the game, my terrains are missing for every single level!
If I run the older .exe for my game, get into the levels... POOF, my terrains are back!
Any ideas WTF is going on?
I then installed Visual Studio 2008, Windows SDK, and DirectX SDK, then configured VS2008 to use the DirectX SDK files following the docs included with TGEA.
I compiled my project, copied the new .exe to my game folder, and ran it. When I get into the game, my terrains are missing for every single level!
If I run the older .exe for my game, get into the levels... POOF, my terrains are back!
Any ideas WTF is going on?
Torque 3D Owner Nicolai Dutka
Anyway, my backup was missing a small chunk of code in my terrData.cpp file after I had added the resource for 15 terrain textures... I stuck the code back in there and voila!