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 | loadMeshes true |
---|
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/soda-viewcells-1000.xml.zip |
---|
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 | # filename ../data/vienna/vienna-viewcells-1000.xml.zip |
---|
315 | |
---|
316 | |
---|
317 | # filename ../data/PowerPlant/power_plant_viewcells1.xml |
---|
318 | } |
---|
319 | |
---|
320 | |
---|
321 | Simulation { |
---|
322 | objRenderCost 1.0 |
---|
323 | vcOverhead 1.0 |
---|
324 | # always between 0 and 1 |
---|
325 | moveSpeed 0.0001 |
---|
326 | } |
---|
327 | |
---|
328 | |
---|
329 | |
---|
330 | VspBspTree { |
---|
331 | Construction { |
---|
332 | samples 800000 |
---|
333 | epsilon 0.0005 |
---|
334 | randomize false |
---|
335 | renderCostWeight 1.0 |
---|
336 | } |
---|
337 | |
---|
338 | |
---|
339 | # random polygon = 1 |
---|
340 | # axis aligned = 2 |
---|
341 | # least ray splits = 256 |
---|
342 | # balanced rays = 512 |
---|
343 | # pvs = 1024 |
---|
344 | |
---|
345 | splitPlaneStrategy 1026 |
---|
346 | |
---|
347 | # maximal candidates for split planes |
---|
348 | maxPolyCandidates 150 |
---|
349 | |
---|
350 | usePolygonSplitIfAvailable false |
---|
351 | |
---|
352 | # maximal tested rays for split cost heuristics |
---|
353 | maxTests 10000 |
---|
354 | |
---|
355 | maxTotalMemory 50 |
---|
356 | maxStaticMemory 50 |
---|
357 | |
---|
358 | subdivisionStats ../subdivisionStats.log |
---|
359 | |
---|
360 | # factors for evaluating split plane costs |
---|
361 | Factor { |
---|
362 | leastRaySplits 1.0 |
---|
363 | balancedRays 1.0 |
---|
364 | pvs 1.0 |
---|
365 | } |
---|
366 | |
---|
367 | Termination { |
---|
368 | # parameters used for autopartition |
---|
369 | minRays -15 |
---|
370 | minPolygons -1 |
---|
371 | maxDepth 25 |
---|
372 | minPvs -15 |
---|
373 | minProbability 0.00000001 |
---|
374 | maxRayContribution 1.8 |
---|
375 | maxCostRatio 1.8 |
---|
376 | missTolerance 6 |
---|
377 | globalCostMissTolerance 4 |
---|
378 | minGlobalCostRatio 0.0000001 |
---|
379 | # minGlobalCostRatio 0.0001 |
---|
380 | # $$MAXVIEWCELLS |
---|
381 | maxViewCells 1 |
---|
382 | |
---|
383 | |
---|
384 | # used for pvs criterium |
---|
385 | ct_div_ci 0.0 |
---|
386 | |
---|
387 | AxisAligned { |
---|
388 | minRays 50000 |
---|
389 | maxRayContribution 9.9 |
---|
390 | } |
---|
391 | } |
---|
392 | |
---|
393 | useSplitCostQueue true |
---|
394 | useCostHeuristics true |
---|
395 | |
---|
396 | splitUseOnlyDrivingAxis false |
---|
397 | simulateOctree false |
---|
398 | useRandomAxis false |
---|
399 | usePolygonSplitIfAvailable false |
---|
400 | useBreathFirstSplits false |
---|
401 | |
---|
402 | Visualization { |
---|
403 | # x3d visualization of the split planes |
---|
404 | exportSplits false |
---|
405 | } |
---|
406 | } |
---|
407 | |
---|
408 | BspTree { |
---|
409 | Construction { |
---|
410 | samples 300000 |
---|
411 | epsilon 0.005 |
---|
412 | } |
---|
413 | |
---|
414 | |
---|
415 | # random polygon = 1 |
---|
416 | # axis aligned = 2 |
---|
417 | # least splits = 4 |
---|
418 | # balanced polygons = 8 |
---|
419 | # balanced view cells = 16 |
---|
420 | # largest polygon area = 32 |
---|
421 | # vertical axis = 64 |
---|
422 | # blocked rays = 128 |
---|
423 | # least ray splits = 256 |
---|
424 | # balanced rays = 512 |
---|
425 | # pvs = 1024 |
---|
426 | |
---|
427 | # least splits + balanced polygons |
---|
428 | #splitPlaneStrategy 12 |
---|
429 | |
---|
430 | #axis aligned + vertical axis |
---|
431 | #splitPlaneStrategy 66 |
---|
432 | |
---|
433 | # axis aligned + balanced view cells |
---|
434 | # splitPlaneStrategy 18 |
---|
435 | |
---|
436 | # largest polygon area |
---|
437 | #splitPlaneStrategy 32 |
---|
438 | |
---|
439 | # axus aligned + balanced polygons |
---|
440 | #splitPlaneStrategy 72 |
---|
441 | |
---|
442 | # axis aligned + blocked rays |
---|
443 | #splitPlaneStrategy 130 |
---|
444 | |
---|
445 | #splitPlaneStrategy 384 |
---|
446 | #splitPlaneStrategy 130 |
---|
447 | |
---|
448 | splitPlaneStrategy 32 |
---|
449 | |
---|
450 | maxPolyCandidates 100 |
---|
451 | maxRayCandidates 0 |
---|
452 | |
---|
453 | maxTests 10000 |
---|
454 | |
---|
455 | subdivisionStats ../subDivisionStats.log |
---|
456 | |
---|
457 | # factors for evaluating split plane costs |
---|
458 | Factor { |
---|
459 | verticalSplits 1.0 |
---|
460 | largestPolyArea 1.0 |
---|
461 | blockedRays 1.0 |
---|
462 | leastRaySplits 1.0 |
---|
463 | balancedRays 1.0 |
---|
464 | pvs 1.0 |
---|
465 | leastSplits 1.0 |
---|
466 | balancedPolys 1.0 |
---|
467 | balancedViewCells 1.0 |
---|
468 | } |
---|
469 | |
---|
470 | Termination { |
---|
471 | # parameters used for autopartition |
---|
472 | minRays -1 |
---|
473 | minPolygons 0 |
---|
474 | maxDepth 30 |
---|
475 | minPvs -1 |
---|
476 | minProbability 0.00001 |
---|
477 | maxRayContribution 9999 |
---|
478 | maxViewCells 20000 |
---|
479 | |
---|
480 | # used for pvs criterium |
---|
481 | ct_div_ci 0.0 |
---|
482 | |
---|
483 | maxCostRatio 0.9 |
---|
484 | |
---|
485 | # axis aligned splits |
---|
486 | AxisAligned { |
---|
487 | minPolys 5000 |
---|
488 | minRays 500 |
---|
489 | minObjects 10 |
---|
490 | ct_div_ci 0.5 |
---|
491 | } |
---|
492 | } |
---|
493 | |
---|
494 | AxisAligned { |
---|
495 | splitBorder 0.01 |
---|
496 | } |
---|
497 | |
---|
498 | |
---|
499 | Visualization { |
---|
500 | # x3d visualization of the split planes |
---|
501 | exportSplits false |
---|
502 | } |
---|
503 | } |
---|