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