mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
make TREE_SCALE roughly 10 miles
This commit is contained in:
parent
86307ea67f
commit
4eedc6df29
1 changed files with 4 additions and 2 deletions
|
@ -24,8 +24,10 @@ const glm::vec3 IDENTITY_FRONT = glm::vec3( 0.0f, 0.0f,-1.0f);
|
|||
const bool LOW_RES_MONO = false; // while in "low res mode" do voxels switch to monochrome
|
||||
const uint64_t CHANGE_FUDGE = 1000 * 200; // useconds of fudge in determining if we want to resend changed voxels
|
||||
|
||||
const int TREE_SCALE = 128; // This is the number of meters of the 0.0 to 1.0 voxel universe
|
||||
const float VOXEL_SIZE_SCALE = 50000.0f; // This controls the LOD bigger will make smaller voxels visible at greater distance
|
||||
const int TREE_SCALE = 16384; // ~10 miles.. This is the number of meters of the 0.0 to 1.0 voxel universe
|
||||
|
||||
// This controls the LOD. Larger number will make smaller voxels visible at greater distance.
|
||||
const float VOXEL_SIZE_SCALE = TREE_SCALE * 400.0f;
|
||||
|
||||
const int NUMBER_OF_CHILDREN = 8;
|
||||
const int MAX_VOXEL_PACKET_SIZE = 1492;
|
||||
|
|
Loading…
Reference in a new issue