1 | ############################################################################## |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
7 | |
---|
8 | # filename glasgow1.x3d |
---|
9 | # filename vienna.x3d |
---|
10 | # filename ../data/vienna/vienna-simple.x3d |
---|
11 | # filename ../data/vienna/vienna-buildings.x3d |
---|
12 | # filename ../data/vienna/vienna-roofs.x3d |
---|
13 | # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d |
---|
14 | # filename ../data/vienna/vienna-buildings_vienna-roofs_vienna-roads_vienna-plane_cropped.obj |
---|
15 | filename ../data/vienna/vienna_cropped.obj |
---|
16 | #;../data/vienna/vienna-plane.x3d |
---|
17 | # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d |
---|
18 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
19 | # filename ../data/atlanta/atlanta2.x3d |
---|
20 | # filename ../data/soda/soda.dat |
---|
21 | # filename ../data/soda/soda5.dat |
---|
22 | # filename ../data/artificial/cube_test.x3d |
---|
23 | # filename ../data/grandcanyon1_RotXmin90.obj |
---|
24 | # filename ../data/CityModel.obj |
---|
25 | # filename ../data/arena/arena-low-lods.obj |
---|
26 | } |
---|
27 | |
---|
28 | |
---|
29 | Preprocessor { |
---|
30 | useGlRenderer false |
---|
31 | type vss |
---|
32 | detectEmptyViewSpace true |
---|
33 | loadMeshes false |
---|
34 | # internal raycaster |
---|
35 | rayCastMethod 0 |
---|
36 | # intel raycaster |
---|
37 | #rayCastMethod 1 |
---|
38 | exportVisibility false |
---|
39 | loadKdTree false |
---|
40 | exportKdTree false |
---|
41 | # exportObj true |
---|
42 | applyVisibilityFilter false |
---|
43 | applyVisibilitySpatialFilter false |
---|
44 | } |
---|
45 | |
---|
46 | |
---|
47 | VssPreprocessor { |
---|
48 | initialSamples 0 |
---|
49 | vssSamples 0 |
---|
50 | useImportanceSampling true |
---|
51 | loadInitialSamples false |
---|
52 | storeInitialSamples false |
---|
53 | } |
---|
54 | |
---|
55 | |
---|
56 | VssTree { |
---|
57 | useRss false |
---|
58 | epsilon 1e-6 |
---|
59 | |
---|
60 | maxDepth 2 |
---|
61 | minPvs 30 |
---|
62 | minRays 800 |
---|
63 | minSize 0.001 |
---|
64 | maxCostRatio 1.5 |
---|
65 | maxRayContribution 0.5 |
---|
66 | |
---|
67 | maxTotalMemory 50 |
---|
68 | maxStaticMemory 20 |
---|
69 | |
---|
70 | splitType regular |
---|
71 | # splitType heuristic |
---|
72 | # splitType hybrid |
---|
73 | splitUseOnlyDrivingAxis true |
---|
74 | |
---|
75 | interleaveDirSplits true |
---|
76 | dirSplitDepth 0 |
---|
77 | |
---|
78 | numberOfEndPointDomains 10000 |
---|
79 | ct_div_ci 0.0 |
---|
80 | randomize false |
---|
81 | |
---|
82 | refDirBoxMaxSize 0.1 |
---|
83 | } |
---|
84 | |
---|
85 | |
---|
86 | Limits { |
---|
87 | threshold 1e-6 |
---|
88 | small 1e-6 |
---|
89 | infinity 1e9 |
---|
90 | } |
---|
91 | |
---|
92 | |
---|
93 | Unigraphics { |
---|
94 | meshGrouping 1 |
---|
95 | } |
---|
96 | |
---|
97 | |
---|
98 | KdTree { |
---|
99 | sahUseFaces true |
---|
100 | |
---|
101 | Termination { |
---|
102 | minCost 0 |
---|
103 | maxDepth 20 |
---|
104 | |
---|
105 | maxCostRatio 1.5 |
---|
106 | ct_div_ci 0.5 |
---|
107 | } |
---|
108 | |
---|
109 | # splitMethod spatialMedian |
---|
110 | splitMethod SAH |
---|
111 | splitBorder 0.01 |
---|
112 | } |
---|
113 | |
---|
114 | MeshKdTree { |
---|
115 | Termination { |
---|
116 | minCost 1 |
---|
117 | maxDepth 18 |
---|
118 | maxCostRatio 0.9 |
---|
119 | ct_div_ci 0.5 |
---|
120 | } |
---|
121 | |
---|
122 | # splitMethod spatialMedian |
---|
123 | splitMethod SAH |
---|
124 | splitBorder 0.01 |
---|
125 | } |
---|
126 | |
---|
127 | |
---|
128 | ViewCells { |
---|
129 | |
---|
130 | # samples used for view cell construction |
---|
131 | # (after the sampling used for the hierarchy) |
---|
132 | Construction { |
---|
133 | samples 0 |
---|
134 | samplesPerPass 1000000 |
---|
135 | } |
---|
136 | |
---|
137 | # number of active view cells |
---|
138 | active 50000 |
---|
139 | maxStaticMemory 40 |
---|
140 | |
---|
141 | exportToFile true |
---|
142 | loadFromFile false |
---|
143 | |
---|
144 | exportPvs false |
---|
145 | |
---|
146 | # type of view cells |
---|
147 | type vspOspTree |
---|
148 | |
---|
149 | #percentage of total visible objects where pvs is considered invalid |
---|
150 | maxPvsRatio 1.0 |
---|
151 | |
---|
152 | processOnlyValidViewCells false |
---|
153 | |
---|
154 | #samplingType object_directional |
---|
155 | #samplingType directional |
---|
156 | samplingType box |
---|
157 | #samplingType reverse_object |
---|
158 | #samplingType object |
---|
159 | |
---|
160 | PostProcess { |
---|
161 | # how much samples are used for post processing |
---|
162 | samples 0 |
---|
163 | maxMergesPerPass 5000 |
---|
164 | useRaysForMerge false |
---|
165 | refine false |
---|
166 | compress false |
---|
167 | merge false |
---|
168 | } |
---|
169 | |
---|
170 | Visualization { |
---|
171 | # how much samples we use for visualization |
---|
172 | samples 200 |
---|
173 | exportRays true |
---|
174 | exportGeometry true |
---|
175 | exportMergedViewCells false |
---|
176 | useClipPlane true |
---|
177 | clipPlaneAxis 1 |
---|
178 | clipPlanePos 0.3 |
---|
179 | maxOutput 2 |
---|
180 | } |
---|
181 | |
---|
182 | showVisualization true |
---|
183 | #showVisualization false |
---|
184 | evaluateViewCells false |
---|
185 | |
---|
186 | Evaluation { |
---|
187 | samples 80000000 |
---|
188 | samplesForStats 80000000 |
---|
189 | samplesPerPass 2000000 |
---|
190 | |
---|
191 | stepSize 500 |
---|
192 | |
---|
193 | #samplingType object_directional |
---|
194 | #samplingType reverse_object |
---|
195 | #samplingType object |
---|
196 | samplingType box |
---|
197 | |
---|
198 | statsPrefix ../scripts/viewCells |
---|
199 | } |
---|
200 | } |
---|
201 | |
---|
202 | |
---|
203 | ################################ |
---|
204 | # |
---|
205 | # View space partitioning kd tree |
---|
206 | # |
---|
207 | |
---|
208 | VspTree { |
---|
209 | Construction { |
---|
210 | renderCostDecreaseWeight 1.0 |
---|
211 | } |
---|
212 | |
---|
213 | Termination { |
---|
214 | minPvs 0 |
---|
215 | maxViewCells 500000 |
---|
216 | } |
---|
217 | |
---|
218 | useCostHeuristics true |
---|
219 | splitUseOnlyDrivingAxis false |
---|
220 | |
---|
221 | # maximum number of tests per node |
---|
222 | maxTests 50000 |
---|
223 | } |
---|
224 | |
---|
225 | |
---|
226 | ########################## |
---|
227 | # |
---|
228 | # The bounding volume hierarchy |
---|
229 | # |
---|
230 | |
---|
231 | BvHierarchy { |
---|
232 | |
---|
233 | Construction { |
---|
234 | renderCostDecreaseWeight 1.0 |
---|
235 | } |
---|
236 | |
---|
237 | Termination { |
---|
238 | maxLeaves 50000000 |
---|
239 | } |
---|
240 | |
---|
241 | minRaysForVisibility 15 |
---|
242 | |
---|
243 | # use only surface area heuristic |
---|
244 | useCostHeuristics true |
---|
245 | useSah false |
---|
246 | |
---|
247 | splitUseOnlyDrivingAxis false |
---|
248 | |
---|
249 | maxTests 50000 |
---|
250 | } |
---|
251 | |
---|
252 | |
---|
253 | ############################################################### |
---|
254 | # |
---|
255 | # Manages the construction of view space and object space partition |
---|
256 | # |
---|
257 | |
---|
258 | Hierarchy { |
---|
259 | # the type of object space partition: view space is always vsp (=kd) partition |
---|
260 | type bvh |
---|
261 | |
---|
262 | Construction { |
---|
263 | |
---|
264 | samples 3000000 |
---|
265 | |
---|
266 | # type 0 = sequential computation, 1 = interleaved, 2 = gradient |
---|
267 | type 2 |
---|
268 | |
---|
269 | ############################### |
---|
270 | # only for interleaved method |
---|
271 | |
---|
272 | # minimal steps of same type for gradient method |
---|
273 | minStepsOfSameType 100 |
---|
274 | # maximum steps of same type for gradient method |
---|
275 | maxStepsOfSameType 900 |
---|
276 | |
---|
277 | # maximum number of repair steps per gradient step |
---|
278 | maxRepairs 1000 |
---|
279 | } |
---|
280 | |
---|
281 | Termination { |
---|
282 | # maximal number of leaves |
---|
283 | maxLeaves 100000 |
---|
284 | # maximal memory in MB |
---|
285 | maxMemory 18 |
---|
286 | # minimum ratio of global cost decrease |
---|
287 | minGlobalCostRatio -1 |
---|
288 | } |
---|
289 | } |
---|