|
![]() |
This is primarily a version of the original Atlas terrain mesher, kept until we finish a new and significantly better mesher.
Much of this functionality is exposed as console commands and thus does not show up here.
Classes | |
struct | AtlasGenStats |
Stat-tracking helper for AtlasOldMesher. More... | |
class | AtlasOldActivationHeightfield |
Adds activation level tracking functionality for AtlasOldHeightfield. More... | |
class | AtlasOldHeightfield |
An unsigned 16bit heightfield, used in situations where we need to manipulate heightfield information directly (ie, mesh generation, collision, and so forth). More... | |
class | AtlasOldMesher |
Helper class for generating and outputting chunk geometry for an Atlas terrain. More... | |
class | ChunkTriangleBufferGenerator |
This is a utility class to generate an optimized triangle buffer for the Atlas terrain collision engine. More... | |
Functions | |
static S32 | lowestOne (const S32 x) |
Returns the bit position of the lowest 1 bit in the given value. | |
Variables | |
const U32 | gAtlasColTreeDepth = 4 |
Hardcoded size of per-chunk collision tree. | |
const U32 | gMaxChunkTreeLevels = 256 |
This is just for data tracking purposes in AtlasGenStats. | |
AtlasGenStats | gOldChunkGenStats |
Stat tracking for the chunk generation process. |
Returns the bit position of the lowest 1 bit in the given value.
If x == 0, returns the number of bits in an integer.
E.g. lowest_one(1) == 0; lowest_one(16) == 4; lowest_one(5) == 0;
const U32 gAtlasColTreeDepth = 4 |
Hardcoded size of per-chunk collision tree.
const U32 gMaxChunkTreeLevels = 256 |
This is just for data tracking purposes in AtlasGenStats.
256 is the deepest level, so we use that. If you wanted to raise this, feel free.
Stat tracking for the chunk generation process.