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