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