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 | Simulation { |
---|
265 | objRenderCost 1.0 |
---|
266 | vcOverhead 1.0 |
---|
267 | # always between 0 and 1 |
---|
268 | moveSpeed 0.0001 |
---|
269 | } |
---|
270 | |
---|
271 | |
---|
272 | VspBspTree { |
---|
273 | Construction { |
---|
274 | samples 50000 |
---|
275 | epsilon 0.00005 |
---|
276 | randomize false |
---|
277 | renderCostWeight 1.0 |
---|
278 | } |
---|
279 | |
---|
280 | |
---|
281 | # random polygon = 1 |
---|
282 | # axis aligned = 2 |
---|
283 | # least ray splits = 256 |
---|
284 | # balanced rays = 512 |
---|
285 | # pvs = 1024 |
---|
286 | |
---|
287 | splitPlaneStrategy 1026 |
---|
288 | |
---|
289 | # maximal candidates for split planes |
---|
290 | maxPolyCandidates 150 |
---|
291 | |
---|
292 | usePolygonSplitIfAvailable false |
---|
293 | |
---|
294 | # maximal tested rays for split cost heuristics |
---|
295 | maxTests 10000 |
---|
296 | |
---|
297 | maxTotalMemory 50 |
---|
298 | maxStaticMemory 50 |
---|
299 | |
---|
300 | subdivisionStats ../subdivisionStats.log |
---|
301 | |
---|
302 | # factors for evaluating split plane costs |
---|
303 | Factor { |
---|
304 | leastRaySplits 1.0 |
---|
305 | balancedRays 1.0 |
---|
306 | pvs 1.0 |
---|
307 | } |
---|
308 | |
---|
309 | Termination { |
---|
310 | # parameters used for autopartition |
---|
311 | minRays -15 |
---|
312 | minPolygons -1 |
---|
313 | maxDepth 25 |
---|
314 | minPvs -15 |
---|
315 | minProbability 0.00000001 |
---|
316 | maxRayContribution 1.8 |
---|
317 | maxCostRatio 1.8 |
---|
318 | missTolerance 6 |
---|
319 | globalCostMissTolerance 4 |
---|
320 | minGlobalCostRatio 0.0000001 |
---|
321 | # minGlobalCostRatio 0.0001 |
---|
322 | maxViewCells 10000 |
---|
323 | |
---|
324 | |
---|
325 | # used for pvs criterium |
---|
326 | ct_div_ci 0.0 |
---|
327 | |
---|
328 | AxisAligned { |
---|
329 | minRays 5000 |
---|
330 | maxRayContribution 9.9 |
---|
331 | } |
---|
332 | } |
---|
333 | |
---|
334 | useSplitCostQueue true |
---|
335 | useCostHeuristics true |
---|
336 | |
---|
337 | splitUseOnlyDrivingAxis false |
---|
338 | simulateOctree false |
---|
339 | useRandomAxis false |
---|
340 | usePolygonSplitIfAvailable false |
---|
341 | nodePriorityQueueType 0 |
---|
342 | |
---|
343 | Visualization { |
---|
344 | # x3d visualization of the split planes |
---|
345 | exportSplits false |
---|
346 | } |
---|
347 | } |
---|
348 | |
---|
349 | BspTree { |
---|
350 | Construction { |
---|
351 | samples 300000 |
---|
352 | epsilon 0.005 |
---|
353 | } |
---|
354 | |
---|
355 | |
---|
356 | # random polygon = 1 |
---|
357 | # axis aligned = 2 |
---|
358 | # least splits = 4 |
---|
359 | # balanced polygons = 8 |
---|
360 | # balanced view cells = 16 |
---|
361 | # largest polygon area = 32 |
---|
362 | # vertical axis = 64 |
---|
363 | # blocked rays = 128 |
---|
364 | # least ray splits = 256 |
---|
365 | # balanced rays = 512 |
---|
366 | # pvs = 1024 |
---|
367 | |
---|
368 | # least splits + balanced polygons |
---|
369 | #splitPlaneStrategy 12 |
---|
370 | |
---|
371 | #axis aligned + vertical axis |
---|
372 | #splitPlaneStrategy 66 |
---|
373 | |
---|
374 | # axis aligned + balanced view cells |
---|
375 | # splitPlaneStrategy 18 |
---|
376 | |
---|
377 | # largest polygon area |
---|
378 | #splitPlaneStrategy 32 |
---|
379 | |
---|
380 | # axus aligned + balanced polygons |
---|
381 | #splitPlaneStrategy 72 |
---|
382 | |
---|
383 | # axis aligned + blocked rays |
---|
384 | #splitPlaneStrategy 130 |
---|
385 | |
---|
386 | #splitPlaneStrategy 384 |
---|
387 | #splitPlaneStrategy 130 |
---|
388 | |
---|
389 | splitPlaneStrategy 32 |
---|
390 | |
---|
391 | maxPolyCandidates 100 |
---|
392 | maxRayCandidates 0 |
---|
393 | |
---|
394 | maxTests 10000 |
---|
395 | |
---|
396 | subdivisionStats ../subDivisionStats.log |
---|
397 | |
---|
398 | # factors for evaluating split plane costs |
---|
399 | Factor { |
---|
400 | verticalSplits 1.0 |
---|
401 | largestPolyArea 1.0 |
---|
402 | blockedRays 1.0 |
---|
403 | leastRaySplits 1.0 |
---|
404 | balancedRays 1.0 |
---|
405 | pvs 1.0 |
---|
406 | leastSplits 1.0 |
---|
407 | balancedPolys 1.0 |
---|
408 | balancedViewCells 1.0 |
---|
409 | } |
---|
410 | |
---|
411 | Termination { |
---|
412 | # parameters used for autopartition |
---|
413 | minRays -1 |
---|
414 | minPolygons 0 |
---|
415 | maxDepth 30 |
---|
416 | minPvs -1 |
---|
417 | minProbability 0.00001 |
---|
418 | maxRayContribution 9999 |
---|
419 | maxViewCells 20000 |
---|
420 | |
---|
421 | # used for pvs criterium |
---|
422 | ct_div_ci 0.0 |
---|
423 | |
---|
424 | maxCostRatio 0.9 |
---|
425 | |
---|
426 | # axis aligned splits |
---|
427 | AxisAligned { |
---|
428 | minPolys 5000 |
---|
429 | minRays 500 |
---|
430 | minObjects 10 |
---|
431 | ct_div_ci 0.5 |
---|
432 | } |
---|
433 | } |
---|
434 | |
---|
435 | AxisAligned { |
---|
436 | splitBorder 0.01 |
---|
437 | } |
---|
438 | |
---|
439 | |
---|
440 | Visualization { |
---|
441 | # x3d visualization of the split planes |
---|
442 | exportSplits false |
---|
443 | } |
---|
444 | } |
---|