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