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