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