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