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-buildings.x3d;../data/vienna/vienna-roofs.x3d |
---|
13 | #;../data/vienna/vienna-plane.x3d |
---|
14 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
15 | # filename ../data/atlanta/atlanta2.x3d |
---|
16 | # filename ../data/soda/soda.dat |
---|
17 | filename ../data/soda/soda5.dat |
---|
18 | } |
---|
19 | |
---|
20 | Preprocessor { |
---|
21 | # stored sample rays |
---|
22 | samplesFilename rays.out |
---|
23 | useGlRenderer false |
---|
24 | # type sampling |
---|
25 | type vss |
---|
26 | # type rss |
---|
27 | detectEmptyViewSpace true |
---|
28 | } |
---|
29 | |
---|
30 | VssPreprocessor { |
---|
31 | samplesPerPass 100000 |
---|
32 | initialSamples 0 |
---|
33 | vssSamples 0 |
---|
34 | vssSamplesPerPass 500000 |
---|
35 | useImportanceSampling true |
---|
36 | loadInitialSamples false |
---|
37 | storeInitialSamples false |
---|
38 | useViewSpaceBox false |
---|
39 | # testBeamSampling true |
---|
40 | } |
---|
41 | |
---|
42 | |
---|
43 | SamplingPreprocessor { |
---|
44 | totalSamples 500000 |
---|
45 | samplesPerPass 3 |
---|
46 | } |
---|
47 | |
---|
48 | |
---|
49 | VssTree { |
---|
50 | useRss false |
---|
51 | epsilon 1e-6 |
---|
52 | |
---|
53 | maxDepth 40 |
---|
54 | minPvs 30 |
---|
55 | minRays 800 |
---|
56 | minSize 0.001 |
---|
57 | maxCostRatio 1.5 |
---|
58 | maxRayContribution 0.5 |
---|
59 | |
---|
60 | maxTotalMemory 50 |
---|
61 | maxStaticMemory 20 |
---|
62 | |
---|
63 | splitType regular |
---|
64 | # splitType heuristic |
---|
65 | # splitType hybrid |
---|
66 | splitUseOnlyDrivingAxis true |
---|
67 | |
---|
68 | interleaveDirSplits true |
---|
69 | dirSplitDepth 0 |
---|
70 | |
---|
71 | numberOfEndPointDomains 10000 |
---|
72 | ct_div_ci 0.0 |
---|
73 | randomize false |
---|
74 | |
---|
75 | refDirBoxMaxSize 0.1 |
---|
76 | } |
---|
77 | |
---|
78 | RssPreprocessor { |
---|
79 | samplesPerPass 100000 |
---|
80 | #initialSamples 500000 |
---|
81 | #vssSamples 10000000 |
---|
82 | #for view cell construction |
---|
83 | initialSamples 0 |
---|
84 | vssSamples 0 |
---|
85 | vssSamplesPerPass 500000 |
---|
86 | useImportanceSampling true |
---|
87 | |
---|
88 | directionalSampling true |
---|
89 | objectBasedSampling false |
---|
90 | |
---|
91 | Export { |
---|
92 | pvs false |
---|
93 | rssTree false |
---|
94 | rays true |
---|
95 | numRays 5000 |
---|
96 | } |
---|
97 | |
---|
98 | useViewcells true |
---|
99 | updateSubdivision true |
---|
100 | loadInitialSamples false |
---|
101 | storeInitialSamples false |
---|
102 | } |
---|
103 | |
---|
104 | |
---|
105 | RssTree { |
---|
106 | |
---|
107 | epsilon 1e-6 |
---|
108 | |
---|
109 | maxDepth 40 |
---|
110 | minPvs 3 |
---|
111 | minRays 30 |
---|
112 | minSize 0.001 |
---|
113 | maxCostRatio 1.0 |
---|
114 | maxRayContribution 0.5 |
---|
115 | maxRays 1000000 |
---|
116 | maxTotalMemory 200 |
---|
117 | maxStaticMemory 100 |
---|
118 | |
---|
119 | # splitType regular |
---|
120 | # splitType heuristic |
---|
121 | splitType hybrid |
---|
122 | splitUseOnlyDrivingAxis true |
---|
123 | importanceBasedCost false |
---|
124 | |
---|
125 | interleaveDirSplits true |
---|
126 | dirSplitDepth 0 |
---|
127 | |
---|
128 | numberOfEndPointDomains 10000 |
---|
129 | ct_div_ci 0.0 |
---|
130 | randomize false |
---|
131 | |
---|
132 | refDirBoxMaxSize 0.1 |
---|
133 | } |
---|
134 | |
---|
135 | Limits { |
---|
136 | |
---|
137 | threshold 1e-6 |
---|
138 | small 1e-6 |
---|
139 | infinity 1e9 |
---|
140 | } |
---|
141 | |
---|
142 | Unigraphics { |
---|
143 | meshGrouping 1 |
---|
144 | } |
---|
145 | |
---|
146 | KdTree { |
---|
147 | sahUseFaces true |
---|
148 | Termination { |
---|
149 | minCost 1 |
---|
150 | maxDepth 18 |
---|
151 | maxCostRatio 0.9 |
---|
152 | ct_div_ci 0.5 |
---|
153 | } |
---|
154 | |
---|
155 | # splitMethod spatialMedian |
---|
156 | splitMethod SAH |
---|
157 | splitBorder 0.01 |
---|
158 | } |
---|
159 | |
---|
160 | MeshKdTree { |
---|
161 | Termination { |
---|
162 | minCost 1 |
---|
163 | maxDepth 18 |
---|
164 | maxCostRatio 0.9 |
---|
165 | ct_div_ci 0.5 |
---|
166 | } |
---|
167 | |
---|
168 | # splitMethod spatialMedian |
---|
169 | splitMethod SAH |
---|
170 | splitBorder 0.01 |
---|
171 | } |
---|
172 | |
---|
173 | |
---|
174 | |
---|
175 | ViewCells { |
---|
176 | # samples used for view cell construction |
---|
177 | Construction { |
---|
178 | samples 0 |
---|
179 | samplesPerPass 50000 |
---|
180 | } |
---|
181 | |
---|
182 | #number of active view cells |
---|
183 | active 1024 |
---|
184 | maxStaticMemory 40 |
---|
185 | |
---|
186 | exportToFile true |
---|
187 | loadFromFile false |
---|
188 | |
---|
189 | #type kdTree |
---|
190 | #type vspKdTree |
---|
191 | #type bspTree |
---|
192 | type vspBspTree |
---|
193 | |
---|
194 | #type sceneDependent |
---|
195 | |
---|
196 | height 5.0 |
---|
197 | maxViewCells 3000 |
---|
198 | |
---|
199 | #percentage of total visible objects where pvs is considered invalid |
---|
200 | maxPvsRatio 1.0 |
---|
201 | |
---|
202 | pruneEmptyViewCells false |
---|
203 | processOnlyValidViewCells false |
---|
204 | |
---|
205 | PostProcess { |
---|
206 | # how much samples are used for post processing |
---|
207 | samples 300000 |
---|
208 | renderCostWeight 1.0 |
---|
209 | maxCostRatio 0.1 |
---|
210 | minViewCells 1 |
---|
211 | avgCostMaxDeviation 0.01 |
---|
212 | maxMergesPerPass 5000 |
---|
213 | useRaysForMerge false |
---|
214 | refine false |
---|
215 | compress false |
---|
216 | merge true |
---|
217 | } |
---|
218 | |
---|
219 | Visualization { |
---|
220 | # how much samples we use for visualization |
---|
221 | samples 100000 |
---|
222 | #colorCode PVS |
---|
223 | #colorCode MergedLeaves |
---|
224 | #colorCode MergedTreeDiff |
---|
225 | colorCode Random |
---|
226 | exportRays false |
---|
227 | exportGeometry true |
---|
228 | exportMergedViewCells false |
---|
229 | useCuttingPlane true |
---|
230 | cuttingPlaneAxis 1 |
---|
231 | } |
---|
232 | |
---|
233 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
234 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
235 | # filename ../data/vienna/viewcells-25.x3d |
---|
236 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
237 | # filename ../scripts/viewcells_vienna.xml |
---|
238 | filename ../scripts/viewcells_atlanta.xml |
---|
239 | } |
---|
240 | |
---|
241 | |
---|
242 | Simulation { |
---|
243 | objRenderCost 1.0 |
---|
244 | vcOverhead 1.0 |
---|
245 | # always between 0 and 1 |
---|
246 | moveSpeed 0.0001 |
---|
247 | } |
---|
248 | |
---|
249 | |
---|
250 | VspKdTree { |
---|
251 | epsilon 1e-6 |
---|
252 | |
---|
253 | Construction { |
---|
254 | samples 500000 |
---|
255 | } |
---|
256 | |
---|
257 | Termination { |
---|
258 | maxDepth 40 |
---|
259 | minPvs 0 |
---|
260 | minRays 1 |
---|
261 | minSize 0.001 |
---|
262 | maxCostRatio 5.9 |
---|
263 | maxViewCells 169 |
---|
264 | missTolerance 4 |
---|
265 | maxRayContribution 2.5 |
---|
266 | } |
---|
267 | |
---|
268 | maxTotalMemory 100 |
---|
269 | maxStaticMemory 40 |
---|
270 | |
---|
271 | splitType regular |
---|
272 | #splitType heuristics |
---|
273 | splitUseOnlyDrivingAxis true |
---|
274 | ct_div_ci 0.0 |
---|
275 | |
---|
276 | # maximal cost for merging a view cell |
---|
277 | PostProcess { |
---|
278 | maxCostRatio 0.005 |
---|
279 | minViewCells 10000 |
---|
280 | maxPvsSize 5000 |
---|
281 | } |
---|
282 | |
---|
283 | |
---|
284 | Visualization { |
---|
285 | } |
---|
286 | } |
---|
287 | |
---|
288 | VspBspTree { |
---|
289 | Construction { |
---|
290 | samples 300000 |
---|
291 | epsilon 0.0005 |
---|
292 | randomize false |
---|
293 | renderCostWeight 1.0 |
---|
294 | } |
---|
295 | |
---|
296 | |
---|
297 | # random polygon = 1 |
---|
298 | # axis aligned = 2 |
---|
299 | # least ray splits = 256 |
---|
300 | # balanced rays = 512 |
---|
301 | # pvs = 1024 |
---|
302 | |
---|
303 | splitPlaneStrategy 1026 |
---|
304 | |
---|
305 | # maximal candidates for split planes |
---|
306 | maxPolyCandidates 100 |
---|
307 | |
---|
308 | usePolygonSplitIfAvailable false |
---|
309 | # maximal tested rays for split cost heuristics |
---|
310 | maxTests 10000 |
---|
311 | |
---|
312 | maxTotalMemory 50 |
---|
313 | maxStaticMemory 50 |
---|
314 | |
---|
315 | # factors for evaluating split plane costs |
---|
316 | Factor { |
---|
317 | leastRaySplits 1.0 |
---|
318 | balancedRays 1.0 |
---|
319 | pvs 1.0 |
---|
320 | } |
---|
321 | |
---|
322 | Termination { |
---|
323 | # parameters used for autopartition |
---|
324 | minRays -15 |
---|
325 | minPolygons -1 |
---|
326 | maxDepth 25 |
---|
327 | minPvs -15 |
---|
328 | minProbability 0.00000001 |
---|
329 | maxRayContribution 1.8 |
---|
330 | maxCostRatio 1.8 |
---|
331 | missTolerance 6 |
---|
332 | globalCostMissTolerance 4 |
---|
333 | minGlobalCostRatio 0.0000001 |
---|
334 | # minGlobalCostRatio 0.0001 |
---|
335 | maxViewCells 40000 |
---|
336 | |
---|
337 | |
---|
338 | # used for pvs criterium |
---|
339 | ct_div_ci 0.0 |
---|
340 | |
---|
341 | AxisAligned { |
---|
342 | minRays 50000 |
---|
343 | maxRayContribution 9.9 |
---|
344 | } |
---|
345 | } |
---|
346 | |
---|
347 | useSplitCostQueue false |
---|
348 | |
---|
349 | useCostHeuristics true |
---|
350 | splitUseOnlyDrivingAxis false |
---|
351 | usePolygonSplitIfAvailable false |
---|
352 | |
---|
353 | Visualization { |
---|
354 | # x3d visualization of the split planes |
---|
355 | exportSplits false |
---|
356 | } |
---|
357 | } |
---|
358 | |
---|
359 | BspTree { |
---|
360 | Construction { |
---|
361 | samples 50000 |
---|
362 | epsilon 0.005 |
---|
363 | } |
---|
364 | |
---|
365 | |
---|
366 | # random polygon = 1 |
---|
367 | # axis aligned = 2 |
---|
368 | # least splits = 4 |
---|
369 | # balanced polygons = 8 |
---|
370 | # balanced view cells = 16 |
---|
371 | # largest polygon area = 32 |
---|
372 | # vertical axis = 64 |
---|
373 | # blocked rays = 128 |
---|
374 | # least ray splits = 256 |
---|
375 | # balanced rays = 512 |
---|
376 | # pvs = 1024 |
---|
377 | |
---|
378 | # least splits + balanced polygons |
---|
379 | #splitPlaneStrategy 12 |
---|
380 | |
---|
381 | #axis aligned + vertical axis |
---|
382 | #splitPlaneStrategy 66 |
---|
383 | |
---|
384 | # axis aligned + balanced view cells |
---|
385 | # splitPlaneStrategy 18 |
---|
386 | |
---|
387 | # largest polygon area |
---|
388 | #splitPlaneStrategy 32 |
---|
389 | |
---|
390 | # axus aligned + balanced polygons |
---|
391 | #splitPlaneStrategy 72 |
---|
392 | |
---|
393 | # axis aligned + blocked rays |
---|
394 | #splitPlaneStrategy 130 |
---|
395 | |
---|
396 | #splitPlaneStrategy 384 |
---|
397 | #splitPlaneStrategy 130 |
---|
398 | |
---|
399 | splitPlaneStrategy 32 |
---|
400 | |
---|
401 | maxPolyCandidates 100 |
---|
402 | maxRayCandidates 0 |
---|
403 | |
---|
404 | maxTests 10000 |
---|
405 | |
---|
406 | # factors for evaluating split plane costs |
---|
407 | Factor { |
---|
408 | verticalSplits 1.0 |
---|
409 | largestPolyArea 1.0 |
---|
410 | blockedRays 1.0 |
---|
411 | leastRaySplits 1.0 |
---|
412 | balancedRays 1.0 |
---|
413 | pvs 1.0 |
---|
414 | leastSplits 1.0 |
---|
415 | balancedPolys 1.0 |
---|
416 | balancedViewCells 1.0 |
---|
417 | } |
---|
418 | |
---|
419 | Termination { |
---|
420 | # parameters used for autopartition |
---|
421 | minRays -1 |
---|
422 | minPolygons 1 |
---|
423 | maxDepth 30 |
---|
424 | minPvs -1 |
---|
425 | minProbability 0.00001 |
---|
426 | maxRayContribution 9999 |
---|
427 | maxViewCells 10000 |
---|
428 | |
---|
429 | # used for pvs criterium |
---|
430 | ct_div_ci 0.0 |
---|
431 | |
---|
432 | maxCostRatio 0.9 |
---|
433 | |
---|
434 | # axis aligned splits |
---|
435 | AxisAligned { |
---|
436 | minPolys 5000 |
---|
437 | minRays 500 |
---|
438 | minObjects 10 |
---|
439 | ct_div_ci 0.5 |
---|
440 | } |
---|
441 | } |
---|
442 | |
---|
443 | AxisAligned { |
---|
444 | splitBorder 0.01 |
---|
445 | } |
---|
446 | |
---|
447 | |
---|
448 | Visualization { |
---|
449 | # x3d visualization of the split planes |
---|
450 | exportSplits false |
---|
451 | } |
---|
452 | } |
---|