config.ini 3.1 KB
Newer Older
Ahmad Reza's avatar
Ahmad Reza committed
1
[Simulator]
2
3
## Seedvalue for the same random sequence
## Different number creates a different random sequence
Ahmad Reza's avatar
Ahmad Reza committed
4
seedvalue = 12
5

Karol Actun's avatar
Karol Actun committed
6
7
## Maximum round number in swarm-world, 0 = infinit
max_round =  0
8

Ahmad Reza's avatar
Ahmad Reza committed
9
10
## 1 = Call of particles in randmom order 
## 0 = Call of particles in added order in scenario 
Ahmad Reza's avatar
Ahmad Reza committed
11
particle_random_order = True
12
13

## Viewing window size in pixels
Karol Actun's avatar
Karol Actun committed
14
15
window_size_x = 1920
window_size_y = 1080
16

Karol Actun's avatar
Karol Actun committed
17
18
19
20
21
22
23
[Visualization]
# Visualization 1 = On, 0 = Off
visualization = 1

#gui
gui = default_gui

Karol Actun's avatar
Karol Actun committed
24

Karol Actun's avatar
Karol Actun committed
25
26
27
28
29
30
31
# Grid Configs. uncomment your choice!

;# Quadratic Grid grid default configs:
;grid_class = QuadraticGrid
;# .obj (Wavefront) filenames in lib/visualization/models
;particle_model_file = 2d_particle.obj
;tile_model_file = 2d_quad_tile.obj
32
;location_model_file = 2d_location.obj
Karol Actun's avatar
Karol Actun committed
33
34
35
36
37
38
39
40
41
;grid_size = 1000
; end of Quadratic grid configs


;# Triangular grid default configs:
;grid_class = TriangularGrid
;# .obj (Wavefront) filenames in lib/visualization/models
;particle_model_file = 2d_particle.obj
;tile_model_file = 2d_hex_tile.obj
42
;location_model_file = 2d_location.obj
Karol Actun's avatar
Karol Actun committed
43
44
45
46
47
48
49
50
;grid_size = 100
; end of Triangular grid configs

;
;# cubic grid default configs:
;grid_class = CubicGrid
;particle_model_file = 3d_particle_low_poly.obj
;tile_model_file = 3d_cube_tile.obj
51
;location_model_file = 3d_location.obj
Karol Actun's avatar
Karol Actun committed
52
53
54
55
56
57
58
59
;grid_size = 10
; end of cubic grid configs


# ccp grid default configs:
grid_class = CCPGrid
particle_model_file = 3d_particle.obj
tile_model_file = 3d_ccp_tile.obj
60
location_model_file = 3d_location.obj
Karol Actun's avatar
Karol Actun committed
61
62
63
64
65
66
grid_size = 10
# end of ccp grid configs

# matter default colors (rgba)
particle_color = (0.8, 0.3, 0.3, 1.0)
tile_color = (0.3, 0.3, 0.8, 1.0)
67
location_color = (0.3, 0.8, 0.3, 1.0)
Karol Actun's avatar
Karol Actun committed
68
69
70
71
72
73
74
75
76
77
78
79
grid_color = (0.0, 0.0, 0.0, 1.0)
cursor_color = (0.5, 0.5, 0.5, 0.5)
center_color = (1.0, 0.0, 0.0, 0.5)

# background  (rgb)
background_color = (0.8, 0.8, 0.8)
# color of grid lines (rgba)
line_color = (0.0, 0.0, 0.0, 1.0)
# length/scaling of the grid lines (max should be 1,1,1)
line_scaling = (1.0, 1.0, 1.0)
# flag for showing the lines
show_lines = True
80
81
82
83
84
85
# color of grid coordinates (rgba)
coordinates_color = (0.0, 0.0, 0.0, 1.0)
# size/scaling of the coordinate model. wouldn't make it bigger than 0.2, 0.2, 0.2
coordinates_scaling = (0.05, 0.05, 0.05)
# flag for showing the coordinate models
show_coordinates = True
Karol Actun's avatar
Karol Actun committed
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# flag for showing the center of the grid
show_center = True
# camera focus color
focus_color = (1.0, 1.0, 1.0, 0.5)
# show camera focus
show_focus = True

# Camera init values
look_at = (0.0, 0.0, 0.0)
phi = -90
theta = 0
radius = 10
fov = 40
cursor_offset = -10
render_distance = 1000
Karol Actun's avatar
Karol Actun committed
101

102
[World]
Karol Actun's avatar
Karol Actun committed
103

104
105
106
## False = Unlimited world size
## True = limited world size
border = False
107

Ahmad Reza's avatar
Ahmad Reza committed
108
## Swarm-World world size in points
Ahmad Reza's avatar
Ahmad Reza committed
109
## Works only with border flag set on True
110
111
size_x = 2000.0
size_y = 2000.0
112
113

## Maximum number of particles that can be created while simulating
Karol Actun's avatar
Karol Actun committed
114
max_particles = 100000000
115
116
117

[Matter]
## with memory (mm) limitation 1=Yes 0=No
118
memory_limitation = False
119

Ahmad Reza's avatar
Ahmad Reza committed
120
## mm size in quantity 
121
## Works only with memory_limitation flag set on 1
122
location_mm_size = 2
Ahmad Reza's avatar
Ahmad Reza committed
123
124
125
126
particle_mm_size = 2
tile_mm_size = 2

[File]
127
scenario = lonely_particle
Karol Actun's avatar
Karol Actun committed
128
solution =  random_walk_with_take_and_drop
129