TGEA 1.8.0 - Cant create megaterrain
by Jon Paynter · in Torque Game Engine Advanced · 11/22/2008 (4:06 pm) · 2 replies
Attempting to create a megaterrain to test stuff that was broken in 1.7.x
Start TGEA Advanced
click walkthrough
hit F11 for mission editor
Pick World editor creator off window menu
goto Environment->MegaTerrain
Fill in a name, my png file, a detial texture and 1 regular texture.
hit ok - and I get the following in the console:
Heightmap - height and width must be 512
Ive verified the png file is 512x512 pixels and a greyscale.
I tried re-saving the same file as .jpg with the same results.
I tried resizing to 511x511 and 513x513 with the same results.
Start TGEA Advanced
click walkthrough
hit F11 for mission editor
Pick World editor creator off window menu
goto Environment->MegaTerrain
Fill in a name, my png file, a detial texture and 1 regular texture.
hit ok - and I get the following in the console:
Heightmap - height and width must be 512
Ive verified the png file is 512x512 pixels and a greyscale.
I tried re-saving the same file as .jpg with the same results.
I tried resizing to 511x511 and 513x513 with the same results.
#2
Thanks again for reporting, Jon.
11/25/2008 (3:07 pm)
The megaterrain console function did a 'GBitmap* heightmap = GBitmap::load( ... );' and thus was releasing its bitmap data prematurely.Thanks again for reporting, Jon.
Associate Rene Damm