Atlas2 file creation functions Q
by Jeromy Stroh · in Torque Game Engine Advanced · 09/19/2006 (12:07 am) · 3 replies
So I got the TDN doc version code working, aka:
http://tdn.garagegames.com/wiki/TSE/Atlas/Using_Atlas2
But then I saw some functions in terrain_water_demo that I couldn't find in a search:
echo("doing that thing");
atlasGenerateGeometryFromHeightfield("terrain_water_demo/geometry.atlas", "terrain_water_demo/test_16_513.raw");
AtlasGeomChunk_dumpIOStatistics();
atlasGenerateBlenderTerrain("terrain_water_demo/sample.atlas", "demo/geometry.atlas", "terrain_water_demo/opacityMap.atlas", "terrain_water_demo/lightmap.atlas");
AtlasGeomChunk_dumpIOStatistics();
quit();
So my question is... Should I be using some new functions for MS4 or is the TDN example code still fine?
http://tdn.garagegames.com/wiki/TSE/Atlas/Using_Atlas2
But then I saw some functions in terrain_water_demo that I couldn't find in a search:
echo("doing that thing");
atlasGenerateGeometryFromHeightfield("terrain_water_demo/geometry.atlas", "terrain_water_demo/test_16_513.raw");
AtlasGeomChunk_dumpIOStatistics();
atlasGenerateBlenderTerrain("terrain_water_demo/sample.atlas", "demo/geometry.atlas", "terrain_water_demo/opacityMap.atlas", "terrain_water_demo/lightmap.atlas");
AtlasGeomChunk_dumpIOStatistics();
quit();
So my question is... Should I be using some new functions for MS4 or is the TDN example code still fine?
#2
09/19/2006 (1:55 pm)
Thanks so much Dennis, this helps a lot.
#3
09/19/2006 (10:32 pm)
We've also updated the TDN docs - you can find some good info at tdn.garagegames.com/wiki/TSE/Atlas/Using_Atlas2. There's also an update to Atlas coming out into CVS soon that fixes several annoying issues.
Torque Owner Dennis Trevillyan
WatreGames
A more recent post is www.garagegames.com/mg/forums/result.thread.php?qt=50615 shows some of the newer features in MS4.