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

6
## Maximum round number in swarm-world, 0 = infinite
Karol Actun's avatar
Karol Actun committed
7
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
;grid_size = 1000
34
;# end of Quadratic grid configs
Karol Actun's avatar
Karol Actun committed
35
36


37
38
39
40
41
42
43
44
45
# 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
location_model_file = 2d_location.obj
grid_size = 100
# end of Triangular grid configs

Karol Actun's avatar
Karol Actun committed
46
47
48
49
50

;# 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
;grid_size = 10
53
;# end of cubic grid configs
Karol Actun's avatar
Karol Actun committed
54

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

# matter default colors (rgba)
particle_color = (0.8, 0.3, 0.3, 1.0)
tile_color = (0.3, 0.3, 0.8, 1.0)
68
location_color = (0.3, 0.8, 0.3, 1.0)
Karol Actun's avatar
Karol Actun committed
69
70
71
72
73
74
75
76
77
78
79
80
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
81
82
83
84
85
86
# 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
87
# flag for showing the center of the grid
88
show_center = False
Karol Actun's avatar
Karol Actun committed
89
90
91
# camera focus color
focus_color = (1.0, 1.0, 1.0, 0.5)
# show camera focus
92
show_focus = False
Karol Actun's avatar
Karol Actun committed
93
94
95
96
97
98
99
100
101

# 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
102

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

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

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

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

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

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

[File]
128
129
scenario = test_interfaces
solution =  test_all_the_interfaces
130