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