Page 2 of 2

PostPosted: Wed Aug 29, 2007 6:33 pm
by Madcowthomas
Tested the pluggin on a few different maps sizes and ran 100% perfect.

Awesome Job Mark!

PostPosted: Tue Mar 04, 2008 9:20 am
by duke
It's not working here, running latest dev build of L3DT pro for torque and downloaded the plugin from the downloads page after I got the same error with this build.

PostPosted: Tue Mar 04, 2008 12:03 pm
by Aaron
Hi Duke,

Thanks for the bug report. If you're having trouble with the old 'l3dt_atlas' plugin, I recommend you try to using the new 'L3DTio_Atlas2' plugin, which is installed with the beta-release that you're using. The user guide for the new plugin is on-line here. Please let me know if there are any problems.

Best regards,
Aaron.

PostPosted: Wed Mar 05, 2008 9:05 am
by duke
Oh cool! I was using File->Export, rather than Extensions->

I followed the advice of TGEA and set tree depth to 6 (and max error of 20) and it spat out alot of info about min's and max's exceeded which is to be expected on a 4096 terrain I guess. It crashed the first time so I set the application to TGEA_debug.exe rather than TGEA.exe and it gave me the following error (dammit i can't copy from the dos window):

Code: Select all
atlasGenerateUniqueTerrain - getting ready to generate a terrain with a unique schema...
o Opening 'TerrainTest/data/terrains/TestMap.deleteme.geom.atlas' for geometry...
AtlasFile::load - loading Atlas resource 577085c with TerrainTest/data/terrains/TestMap.deleteme.geom.atlas
o Opening 'TerrainTest/data/terrains/TestMap.deleteme.tex.atlas for texture data...
AtlasFile::load - loading Atlas resource 583eaec with TerrainTest/data/terrains/TestMap.deleteme.tex.atlas
o Locating geometry TOC...
o Locating texture TOC...
o Copying & registering geometry TOC...
o Copying & registering texture TOC...
o Registering config TOC...
o Creating atlas file 'TerrainTest/data/terrains/TestMap.atlas'...
AtlasDeferredFile::ensureStreamWritable - switching file into writable mode... Torque may cause a crash if you have other copies of Torque accessing it!
o Preparing for Atlas IO...
o Generating texture schema configuration chunk...
o Copying geometry chunks...
AtlasDeferredFile::ensureStreamWritable - switching file into writable mode... This may cause a crash if you have other copies of Torque accessing it!
- Copied 1365 chunks via copyChunksToTOC, stream len approx. 9874428 bytes
o Copying texture chunks...
Fatal: (c:\torque\tgea_1_0_3\engine\platform\platformmemory.cpp @ 1122) Not an allocated block!
%


(asks me to retry, crash).

PostPosted: Wed Mar 05, 2008 9:01 pm
by Aaron
Hi Duke,

I'd suggest you report this crash on the GarageGames forums, as it's deep in the Atlas generation process in TGEA, and there's nothing much I can do.

Best regards,
Aaron.