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 100 |
---|
156 | |
---|
157 | PostProcess { |
---|
158 | minPvsDif 100 |
---|
159 | minPvs 10 |
---|
160 | maxPvs 150 |
---|
161 | # how much samples are used for post processing |
---|
162 | samples 100000 |
---|
163 | } |
---|
164 | |
---|
165 | Visualization { |
---|
166 | # how much samples are be used for visualization |
---|
167 | samples 90000 |
---|
168 | #colorCode PVS |
---|
169 | #colorCode MergedLeaves |
---|
170 | #colorCode MergedTreeDiff |
---|
171 | colorCode Random |
---|
172 | exportRays false |
---|
173 | exportGeometry true |
---|
174 | } |
---|
175 | |
---|
176 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
177 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
178 | # filename ../data/vienna/viewcells-25.x3d |
---|
179 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
180 | } |
---|
181 | |
---|
182 | |
---|
183 | Simulation { |
---|
184 | objRenderCost 1.0 |
---|
185 | vcOverhead 1.0 |
---|
186 | # always between 0 and 1 |
---|
187 | moveSpeed 0.0001 |
---|
188 | } |
---|
189 | |
---|
190 | |
---|
191 | VspKdTree { |
---|
192 | epsilon 1e-6 |
---|
193 | |
---|
194 | Construction { |
---|
195 | samples 300000 |
---|
196 | } |
---|
197 | |
---|
198 | Termination { |
---|
199 | maxDepth 40 |
---|
200 | minPvs 50 |
---|
201 | minRays 300 |
---|
202 | minSize 0.1 |
---|
203 | maxCostRatio 0.9 |
---|
204 | missTolerance 4 |
---|
205 | maxRayContribution 0.5 |
---|
206 | } |
---|
207 | |
---|
208 | maxTotalMemory 100 |
---|
209 | maxStaticMemory 50 |
---|
210 | |
---|
211 | splitType regular |
---|
212 | #splitType heuristics |
---|
213 | splitUseOnlyDrivingAxis true |
---|
214 | ct_div_ci 0.0 |
---|
215 | |
---|
216 | # maximal cost for merging a view cell |
---|
217 | PostProcess { |
---|
218 | maxCostRatio 0.005 |
---|
219 | minViewCells 200 |
---|
220 | maxPvsSize 50000 |
---|
221 | } |
---|
222 | |
---|
223 | |
---|
224 | Visualization { |
---|
225 | } |
---|
226 | } |
---|
227 | |
---|
228 | VspBspTree { |
---|
229 | Construction { |
---|
230 | samples 300000 |
---|
231 | epsilon 0.005 |
---|
232 | } |
---|
233 | |
---|
234 | |
---|
235 | # random polygon = 1 |
---|
236 | # axis aligned = 2 |
---|
237 | # least ray splits = 256 |
---|
238 | # balanced rays = 512 |
---|
239 | # pvs = 1024 |
---|
240 | |
---|
241 | splitPlaneStrategy 1024 |
---|
242 | |
---|
243 | # maximal candidates for split planes |
---|
244 | maxPolyCandidates 100 |
---|
245 | maxRayCandidates 100 |
---|
246 | |
---|
247 | # maximal tested rays for split cost heuristics |
---|
248 | maxTests 2000 |
---|
249 | |
---|
250 | # factors for evaluating split plane costs |
---|
251 | Factor { |
---|
252 | leastRaySplits 1.0 |
---|
253 | balancedRays 1.0 |
---|
254 | pvs 1.0 |
---|
255 | } |
---|
256 | |
---|
257 | Termination { |
---|
258 | # parameters used for autopartition |
---|
259 | minRays 1 |
---|
260 | minPolygons -1 |
---|
261 | maxDepth 30 |
---|
262 | minPvs 20 |
---|
263 | minArea 0.0001 |
---|
264 | maxRayContribution 0.005 |
---|
265 | maxCostRatio 0.9 |
---|
266 | missTolerance 2 |
---|
267 | #maxAccRayLength 100 |
---|
268 | |
---|
269 | maxViewCells 1000 |
---|
270 | |
---|
271 | # used for pvs criterium |
---|
272 | ct_div_ci 0.0 |
---|
273 | } |
---|
274 | |
---|
275 | splitUseOnlyDrivingAxis false |
---|
276 | |
---|
277 | Visualization { |
---|
278 | # x3d visualization of the split planes |
---|
279 | exportSplits true |
---|
280 | } |
---|
281 | |
---|
282 | PostProcess { |
---|
283 | maxCostRatio 0.1 |
---|
284 | minViewCells 200 |
---|
285 | maxPvsSize 500 |
---|
286 | useRaysForMerge false |
---|
287 | } |
---|
288 | } |
---|
289 | |
---|
290 | BspTree { |
---|
291 | Construction { |
---|
292 | samples 50000 |
---|
293 | epsilon 0.005 |
---|
294 | } |
---|
295 | |
---|
296 | |
---|
297 | # random polygon = 1 |
---|
298 | # axis aligned = 2 |
---|
299 | # least splits = 4 |
---|
300 | # balanced polygons = 8 |
---|
301 | # balanced view cells = 16 |
---|
302 | # largest polygon area = 32 |
---|
303 | # vertical axis = 64 |
---|
304 | # blocked rays = 128 |
---|
305 | # least ray splits = 256 |
---|
306 | # balanced rays = 512 |
---|
307 | # pvs = 1024 |
---|
308 | |
---|
309 | # least splits + balanced polygons |
---|
310 | #splitPlaneStrategy 12 |
---|
311 | |
---|
312 | #axis aligned + vertical axis |
---|
313 | #splitPlaneStrategy 66 |
---|
314 | |
---|
315 | # axis aligned + balanced view cells |
---|
316 | # splitPlaneStrategy 18 |
---|
317 | |
---|
318 | # largest polygon area |
---|
319 | #splitPlaneStrategy 32 |
---|
320 | |
---|
321 | # axus aligned + balanced polygons |
---|
322 | #splitPlaneStrategy 72 |
---|
323 | |
---|
324 | # axis aligned + blocked rays |
---|
325 | #splitPlaneStrategy 130 |
---|
326 | |
---|
327 | #splitPlaneStrategy 384 |
---|
328 | #splitPlaneStrategy 130 |
---|
329 | |
---|
330 | splitPlaneStrategy 1024 |
---|
331 | |
---|
332 | maxPolyCandidates 50 |
---|
333 | maxRayCandidates 50 |
---|
334 | |
---|
335 | maxTests 10000 |
---|
336 | |
---|
337 | # factors for evaluating split plane costs |
---|
338 | Factor { |
---|
339 | verticalSplits 1.0 |
---|
340 | largestPolyArea 1.0 |
---|
341 | blockedRays 1.0 |
---|
342 | leastRaySplits 1.0 |
---|
343 | balancedRays 1.0 |
---|
344 | pvs 1.0 |
---|
345 | leastSplits 1.0 |
---|
346 | balancedPolys 1.0 |
---|
347 | balancedViewCells 1.0 |
---|
348 | } |
---|
349 | |
---|
350 | Termination { |
---|
351 | # parameters used for autopartition |
---|
352 | minRays 200 |
---|
353 | minPolygons -1 |
---|
354 | maxDepth 40 |
---|
355 | minPvs 100 |
---|
356 | minArea 0.01 |
---|
357 | maxRayContribution 0.005 |
---|
358 | #maxAccRayLength 100 |
---|
359 | |
---|
360 | # used for pvs criterium |
---|
361 | ct_div_ci 0.0 |
---|
362 | |
---|
363 | maxCostRatio 0.9 |
---|
364 | |
---|
365 | # axis aligned splits |
---|
366 | AxisAligned { |
---|
367 | minPolys 5000 |
---|
368 | minRays 500 |
---|
369 | minObjects 10 |
---|
370 | ct_div_ci 0.5 |
---|
371 | } |
---|
372 | } |
---|
373 | |
---|
374 | AxisAligned { |
---|
375 | splitBorder 0.01 |
---|
376 | } |
---|
377 | |
---|
378 | |
---|
379 | Visualization { |
---|
380 | # x3d visualization of the split planes |
---|
381 | exportSplits true |
---|
382 | } |
---|
383 | } |
---|