Game Development Community

Atlas Maps, thier issue's and problems for me

by Raymond Say · in Torque Game Engine Advanced · 03/15/2006 (1:32 pm) · 8 replies

Im having problems with generating atlas maps. I have followed both the tutorials availible for terragen and l3dt. The result is the same. I get a nearly empty map. A small amount of ground, with no texture. i have tried using the exact formula's given in both tutorials, all to no avail. Im going to post a picture for others to look at, to see if they have any ideas. I also get a major amoung of " min/ max exceeded" while generating the chunk files. No errors reported while generating the tqt. Log files of both are availible if needed.

here is the image

#1
03/15/2006 (3:31 pm)
What your seeing is the backfaces for terrain that is really tall and skinny. Mess with the height scale when generating terrain. Once you work that out then focus on the texture issue.
#2
03/16/2006 (6:35 am)
Yeah, looks like your character is inside the terrain. Try using alt-c to free the camera and then fly upwards until you get above the terrain (you will pass through it). As Tom says, it looks like it's very tall and skinny.

Usually it's the space distance between samples that causes this, you probably used one distance in the tool that generated the height map and another when generating the chu file. Either that or (less likely) you've accidentally scaled the Z dimension of your map.
#3
03/16/2006 (7:03 am)
That shot was from outside the char, the char starts falling right away.
Here is a copy of my information from the log file.
GenerateTQT("rpgdemo/data/terrains/large.jpg", "rpgdemo/data/terrains/large.tqt", 3, 512);
Allocating ~3072 kb of JPEG decompression working area...
Generating 4x4 leaf tiles...
  Done!
==>generateChunkFileFromRaw16( "rpgdemo/data/terrains/large.raw", 2048, 2.0, 1.0 / 96, "rpgdemo/data/terrains/large.chu", 3.0, 6);
Generating chunked geometry (depth=6, baseMaxError=3.000000)
   o Calculating activation levels...
      - done.
   o Propagating activation levels...
      - done.
   o Writing file header...
      - done.
   o Generating empty TOC...
      - done.
   o Generating meshes...
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Min exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!
      - done.
=== Chunk Statistics ===\
\===== Level    Count    Avg. Size
            0        1024      168.868164
            1         256      603.679688
            2          64      1255.953125
            3          16      2279.312500
            4           4      5144.750000
            5           1      13289.000000
========================================
                chunks:       1365
           input verts:    4194304
          output verts:      43273

       avg verts/chunk:         32
NOTE: verts/chunk is low; for higher poly throughput consider setting the tree depth to 5 and reprocessing.
          output bytes:      50533
      bytes/input vert:       0.01
     bytes/output vert:       1.17
        real triangles:     478181

the chunk, raw, tqt, jpg, and mission file are all here
Any help would be great.
#4
03/16/2006 (7:06 am)
As far as loading the mission, here is the error I get.
Continuence from the last post due to character limits.
Executing rpgdemo/data/missions/terraintest.mis.
AtlasResource::loaderThread - 0 iterations before death.
AtlasInstance( - ) - Completed precache in 343 cycles!
rpgdemo/data/missions/terraintest.mis (0): Register object failed for object Terrain of class TerrainBlock.
*** Mission loaded
Mission Type: 
Connect request from: IPX:20202020:2020706F7369:26996
Connection established 1730
CADD: 1731 local
*** Sending mission load to client: rpgdemo/data/missions/terraintest.mis

Once again, I really appreciate the help.
#5
03/16/2006 (3:28 pm)
Problem solved with the help of EricP, He helped me adjust the perameters in Atlas creation.
#6
03/16/2006 (11:30 pm)
Raymond:

I also have had same problems as you.
And of course it is great that one can get help
from the community like this. But would'nt it
be nice to publish the solution and not just
the question. Its great that your problem is
solved, but how?

Cheers
Roland
#7
03/22/2006 (8:23 am)
Turns out Roland that my problem was 1 of Fog. The stock atlas mission that I was using was placing enough fog on the map that I could not see that my charecter was being spawned 1/4 mile off to the side of my map. The "AtlasActivationHeightfield::generateNodeData - Max exceeded! May have paging issues!" turns out is just a warning, and doesnt stop the creation of a valid map.

I finally just turned off the fog on my map, and went into the mission. I could see my map off in the distance.

Makes me feel like a real fool looking back, but we have to make mistakes sometimes to learn.
#8
03/22/2006 (11:59 pm)
Raymond:

Thanks for the info.
I seems that there is one more fool :) and thats me.
This helped me.

Thanks