Game Development Community

Atlas conversion crash

by KungKrille · in Torque Game Engine Advanced · 04/11/2008 (3:13 am) · 6 replies

I'm trying TGEA demo out and want to convert a terrain from L3DT (tried Terragen as well) to atlas format. I followed the tutorial from here: http://www.exodusproject.com/torquewiki/doku.php?id=atlas2_terrains . When I come to the part about converting the texture to atlas the demo crashes. The only reason I can think of is the error I get when I do the conversion from RAW to chu:
AtlasOldActivationHeightfield::generateNodeData - Max exceeded! May have paging issues
AtlasOldActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!

I have tried several RAW files and tweaked vertical scale, height error and tree depth from fine adjustments to extreme. Nothing worked. I have working on this in 2 days now and just can't figure this out. Have you any suggestions they are most welcome

#1
04/16/2008 (5:08 am)
Ok, I used the built-in exporter in L3DT and got my atlas file. I don't get it working in Forge Demo though. I added these lines in a mission:

new AtlasInstance2(NewTerrain) {
position = "0 0 66.8";
rotation = "1 0 0 0";
scale = "1 1 1";
atlasFile = "scriptsAndAssets/data/terrains/terrain.atlas";
};

No terrain shows up and I get this message in the console:

scriptsAndAssets/data/missions/atlas_test.mis (0): Unable to instantiate non-conobject class AtlasInstance2

Are there more scripts i have to change or doesn't the demo allow you to import atlas terrain?
#2
04/23/2008 (4:10 am)
Is it possible to import atlas terrain in the Forge Demo?
#3
04/23/2008 (5:32 am)
If this is version 1.7.0 AtlasInstance2 should be AtlasInstance.
#4
04/23/2008 (1:24 pm)
Crashes in the texture importer sound like the old incorrect texchunk setup bug. Fixed with tiles in 1.7.0 and fix for large JPEGs here

Don't worry about the min/max exceeded stuff.
#5
04/24/2008 (12:43 am)
Thank you Bill. I just deleted "2" and it works :)

Rene, I'm evaluating the TGEA demo version so I haven't access to the link. It's good to know that there is a fix though
#6
04/24/2008 (2:24 am)
Oh, and you clearly said so above. Sorry about not reading properly.

Still, the tiled importer works in the 1.7 demo and L3DT is using it anyway.

Really hope you like what you see in the demo and decide to go with TGEA. It's a great product with a lot of potential.

Have fun.