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 | pruneEmptyViewCells false |
---|
203 | processOnlyValidViewCells false |
---|
204 | |
---|
205 | #stats viewCellStats.log |
---|
206 | |
---|
207 | samplingType directional |
---|
208 | #samplingType box |
---|
209 | |
---|
210 | PostProcess { |
---|
211 | # how much samples are used for post processing |
---|
212 | samples 300000 |
---|
213 | renderCostWeight 1.0 |
---|
214 | maxCostRatio 0.1 |
---|
215 | minViewCells 1 |
---|
216 | avgCostMaxDeviation 0.01 |
---|
217 | maxMergesPerPass 5000 |
---|
218 | useRaysForMerge false |
---|
219 | refine false |
---|
220 | compress false |
---|
221 | merge false |
---|
222 | } |
---|
223 | |
---|
224 | Visualization { |
---|
225 | # how much samples we use for visualization |
---|
226 | samples 100000 |
---|
227 | #colorCode PVS |
---|
228 | #colorCode MergedLeaves |
---|
229 | #colorCode MergedTreeDiff |
---|
230 | colorCode Random |
---|
231 | exportRays false |
---|
232 | exportGeometry false |
---|
233 | exportMergedViewCells false |
---|
234 | useClipPlane true |
---|
235 | clipPlaneAxis 1 |
---|
236 | } |
---|
237 | |
---|
238 | showVisualization false |
---|
239 | evaluateViewCells false |
---|
240 | |
---|
241 | Evaluation { |
---|
242 | samplesPerPass 800000 |
---|
243 | samples 1000000 |
---|
244 | statsPrefix ../scripts/viewCells |
---|
245 | } |
---|
246 | |
---|
247 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
248 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
249 | # filename ../data/vienna/viewcells-25.x3d |
---|
250 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
251 | # filename ../scripts/viewcells_vienna.xml |
---|
252 | filename ../scripts/viewcells_atlanta.xml |
---|
253 | } |
---|
254 | |
---|
255 | |
---|
256 | Simulation { |
---|
257 | objRenderCost 1.0 |
---|
258 | vcOverhead 1.0 |
---|
259 | # always between 0 and 1 |
---|
260 | moveSpeed 0.0001 |
---|
261 | } |
---|
262 | |
---|
263 | |
---|
264 | VspKdTree { |
---|
265 | epsilon 1e-6 |
---|
266 | |
---|
267 | Construction { |
---|
268 | samples 500000 |
---|
269 | } |
---|
270 | |
---|
271 | Termination { |
---|
272 | maxDepth 40 |
---|
273 | minPvs 0 |
---|
274 | minRays 1 |
---|
275 | minSize 0.001 |
---|
276 | maxCostRatio 5.9 |
---|
277 | maxViewCells 169 |
---|
278 | missTolerance 4 |
---|
279 | maxRayContribution 2.5 |
---|
280 | } |
---|
281 | |
---|
282 | maxTotalMemory 100 |
---|
283 | maxStaticMemory 40 |
---|
284 | |
---|
285 | splitType regular |
---|
286 | #splitType heuristics |
---|
287 | splitUseOnlyDrivingAxis true |
---|
288 | ct_div_ci 0.0 |
---|
289 | |
---|
290 | # maximal cost for merging a view cell |
---|
291 | PostProcess { |
---|
292 | maxCostRatio 0.005 |
---|
293 | minViewCells 10000 |
---|
294 | maxPvsSize 5000 |
---|
295 | } |
---|
296 | |
---|
297 | |
---|
298 | Visualization { |
---|
299 | } |
---|
300 | } |
---|
301 | |
---|
302 | VspBspTree { |
---|
303 | Construction { |
---|
304 | samples 800000 |
---|
305 | epsilon 0.0005 |
---|
306 | randomize false |
---|
307 | renderCostWeight 1.0 |
---|
308 | } |
---|
309 | |
---|
310 | |
---|
311 | # random polygon = 1 |
---|
312 | # axis aligned = 2 |
---|
313 | # least ray splits = 256 |
---|
314 | # balanced rays = 512 |
---|
315 | # pvs = 1024 |
---|
316 | |
---|
317 | splitPlaneStrategy 1026 |
---|
318 | |
---|
319 | # maximal candidates for split planes |
---|
320 | maxPolyCandidates 150 |
---|
321 | |
---|
322 | usePolygonSplitIfAvailable false |
---|
323 | |
---|
324 | # maximal tested rays for split cost heuristics |
---|
325 | maxTests 10000 |
---|
326 | |
---|
327 | maxTotalMemory 50 |
---|
328 | maxStaticMemory 50 |
---|
329 | |
---|
330 | subdivisionStats ../subdivisionStats.log |
---|
331 | |
---|
332 | # factors for evaluating split plane costs |
---|
333 | Factor { |
---|
334 | leastRaySplits 1.0 |
---|
335 | balancedRays 1.0 |
---|
336 | pvs 1.0 |
---|
337 | } |
---|
338 | |
---|
339 | Termination { |
---|
340 | # parameters used for autopartition |
---|
341 | minRays -15 |
---|
342 | minPolygons -1 |
---|
343 | maxDepth 25 |
---|
344 | minPvs -15 |
---|
345 | minProbability 0.00000001 |
---|
346 | maxRayContribution 1.8 |
---|
347 | maxCostRatio 1.8 |
---|
348 | missTolerance 6 |
---|
349 | globalCostMissTolerance 4 |
---|
350 | minGlobalCostRatio 0.0000001 |
---|
351 | # minGlobalCostRatio 0.0001 |
---|
352 | maxViewCells 20000 |
---|
353 | |
---|
354 | |
---|
355 | # used for pvs criterium |
---|
356 | ct_div_ci 0.0 |
---|
357 | |
---|
358 | AxisAligned { |
---|
359 | minRays 50000 |
---|
360 | maxRayContribution 9.9 |
---|
361 | } |
---|
362 | } |
---|
363 | |
---|
364 | useSplitCostQueue true |
---|
365 | useCostHeuristics true |
---|
366 | |
---|
367 | splitUseOnlyDrivingAxis false |
---|
368 | simulateOctree false |
---|
369 | useRandomAxis false |
---|
370 | usePolygonSplitIfAvailable false |
---|
371 | useBreathFirstSplits false |
---|
372 | |
---|
373 | Visualization { |
---|
374 | # x3d visualization of the split planes |
---|
375 | exportSplits false |
---|
376 | } |
---|
377 | } |
---|
378 | |
---|
379 | BspTree { |
---|
380 | Construction { |
---|
381 | samples 300000 |
---|
382 | epsilon 0.005 |
---|
383 | } |
---|
384 | |
---|
385 | |
---|
386 | # random polygon = 1 |
---|
387 | # axis aligned = 2 |
---|
388 | # least splits = 4 |
---|
389 | # balanced polygons = 8 |
---|
390 | # balanced view cells = 16 |
---|
391 | # largest polygon area = 32 |
---|
392 | # vertical axis = 64 |
---|
393 | # blocked rays = 128 |
---|
394 | # least ray splits = 256 |
---|
395 | # balanced rays = 512 |
---|
396 | # pvs = 1024 |
---|
397 | |
---|
398 | # least splits + balanced polygons |
---|
399 | #splitPlaneStrategy 12 |
---|
400 | |
---|
401 | #axis aligned + vertical axis |
---|
402 | #splitPlaneStrategy 66 |
---|
403 | |
---|
404 | # axis aligned + balanced view cells |
---|
405 | # splitPlaneStrategy 18 |
---|
406 | |
---|
407 | # largest polygon area |
---|
408 | #splitPlaneStrategy 32 |
---|
409 | |
---|
410 | # axus aligned + balanced polygons |
---|
411 | #splitPlaneStrategy 72 |
---|
412 | |
---|
413 | # axis aligned + blocked rays |
---|
414 | #splitPlaneStrategy 130 |
---|
415 | |
---|
416 | #splitPlaneStrategy 384 |
---|
417 | #splitPlaneStrategy 130 |
---|
418 | |
---|
419 | splitPlaneStrategy 32 |
---|
420 | |
---|
421 | maxPolyCandidates 100 |
---|
422 | maxRayCandidates 0 |
---|
423 | |
---|
424 | maxTests 10000 |
---|
425 | |
---|
426 | subdivisionStats ../subDivisionStats.log |
---|
427 | |
---|
428 | # factors for evaluating split plane costs |
---|
429 | Factor { |
---|
430 | verticalSplits 1.0 |
---|
431 | largestPolyArea 1.0 |
---|
432 | blockedRays 1.0 |
---|
433 | leastRaySplits 1.0 |
---|
434 | balancedRays 1.0 |
---|
435 | pvs 1.0 |
---|
436 | leastSplits 1.0 |
---|
437 | balancedPolys 1.0 |
---|
438 | balancedViewCells 1.0 |
---|
439 | } |
---|
440 | |
---|
441 | Termination { |
---|
442 | # parameters used for autopartition |
---|
443 | minRays -1 |
---|
444 | minPolygons 0 |
---|
445 | maxDepth 30 |
---|
446 | minPvs -1 |
---|
447 | minProbability 0.00001 |
---|
448 | maxRayContribution 9999 |
---|
449 | maxViewCells 20000 |
---|
450 | |
---|
451 | # used for pvs criterium |
---|
452 | ct_div_ci 0.0 |
---|
453 | |
---|
454 | maxCostRatio 0.9 |
---|
455 | |
---|
456 | # axis aligned splits |
---|
457 | AxisAligned { |
---|
458 | minPolys 5000 |
---|
459 | minRays 500 |
---|
460 | minObjects 10 |
---|
461 | ct_div_ci 0.5 |
---|
462 | } |
---|
463 | } |
---|
464 | |
---|
465 | AxisAligned { |
---|
466 | splitBorder 0.01 |
---|
467 | } |
---|
468 | |
---|
469 | |
---|
470 | Visualization { |
---|
471 | # x3d visualization of the split planes |
---|
472 | exportSplits false |
---|
473 | } |
---|
474 | } |
---|