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