-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.txt
89 lines (62 loc) · 1.94 KB
/
config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# configuration file
# all the settings must be defined unless otherwise stated
# marching cubes settings
numCubesX = 100
numCubesY = 50
numCubesZ = 100
cubeSize = 0.07
minRegionSize = 10000
# noise generation settings
surfaceLevel = 15. # = noise threshold to be considered as a surface
noiseScale = 2.5
lacunarity = 2.
persistence = 0.35
octaves = 8
closeEdges = true
floorOffset = 20.
hardFloor = 2.
floorWeight = 100.
noiseWeight = 50.
stepSize = 5.
stepWeight = 0.5
# terrain offset and seed
# if seed is defined, the offsets are calculated based on that seed, otherwise seed is random
# if any of the offsets are defined, the given value of the offset component replaces the generated one
# the randomizeOnGeneration option must be set to false for the seed to be take in account
# offsetSeed = 22991
# offsetX = 0.
offsetY = 0. # better keep y offset to 0 to keep the floor's parameters relevant
# offsetZ = 0.
# mesh color
meshColorR = 1.
meshColorG = 0.7
meshColorB = 0.5
# boids settings
# main color
boidColorR = 0.8
boidColorG = 0.7
boidColorB = 0.5
boidColorDeviation = 0.2
applyLightingOnBoids = true
boidWidth = 0.12
boidHeight = 0.2
numBoids = 100
minSpeed = 0.1
maxSpeed = 1.5
maxForce = 0.05
viewRadius = 1.
viewAngle = 60. # angle in degrees
avoidRadius = 0.5
predictionLength = 1. # how far ahead should the boid look for collisions
numRayDirs = 100
cohesionCoef = 15.
alignmentCoef = 20.
separationCoef = 30.
obstacleCoef = 80.
# program settings
randomizeOnGeneration = true # change the seed randomly on each new generation
enableMeshOnStart = true
# camera
rotSpeed = 0.3
zoomSpeed = 0.5
translateSpeed = 0.6