1 | ############################################################################# |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
7 | |
---|
8 | # filename ../data/glasgow/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 | detectEmptyViewSpace false |
---|
28 | pvsRenderErrorSamples 10000 |
---|
29 | quitOnFinish false |
---|
30 | } |
---|
31 | |
---|
32 | |
---|
33 | VssPreprocessor { |
---|
34 | samplesPerPass 100000 |
---|
35 | initialSamples 500000 |
---|
36 | vssSamples 2000000 |
---|
37 | vssSamplesPerPass 200000 |
---|
38 | useImportanceSampling true |
---|
39 | loadInitialSamples false |
---|
40 | storeInitialSamples false |
---|
41 | } |
---|
42 | |
---|
43 | |
---|
44 | VssTree { |
---|
45 | useRss false |
---|
46 | epsilon 1e-6 |
---|
47 | |
---|
48 | maxDepth 40 |
---|
49 | minPvs 30 |
---|
50 | minRays 100 |
---|
51 | minSize 0.001 |
---|
52 | maxCostRatio 1.5 |
---|
53 | maxRayContribution 0.5 |
---|
54 | |
---|
55 | maxTotalMemory 200 |
---|
56 | maxStaticMemory 100 |
---|
57 | |
---|
58 | # splitType regular |
---|
59 | # splitType heuristic |
---|
60 | splitType hybrid |
---|
61 | splitUseOnlyDrivingAxis true |
---|
62 | |
---|
63 | interleaveDirSplits true |
---|
64 | dirSplitDepth 0 |
---|
65 | |
---|
66 | numberOfEndPointDomains 10000 |
---|
67 | ct_div_ci 0.0 |
---|
68 | randomize false |
---|
69 | |
---|
70 | refDirBoxMaxSize 0.1 |
---|
71 | } |
---|
72 | |
---|
73 | RssPreprocessor { |
---|
74 | samplesPerPass 500000 |
---|
75 | initialSamples 100 |
---|
76 | vssSamples 100 |
---|
77 | vssSamplesPerPass 1000000 |
---|
78 | useImportanceSampling true |
---|
79 | |
---|
80 | directionalSampling true |
---|
81 | objectBasedSampling false |
---|
82 | |
---|
83 | Export { |
---|
84 | pvs false |
---|
85 | rssTree false |
---|
86 | rays true |
---|
87 | numRays 5000 |
---|
88 | } |
---|
89 | |
---|
90 | useViewcells true |
---|
91 | updateSubdivision true |
---|
92 | loadInitialSamples false |
---|
93 | storeInitialSamples false |
---|
94 | } |
---|
95 | |
---|
96 | |
---|
97 | RssTree { |
---|
98 | epsilon 1e-6 |
---|
99 | perObjectTree false |
---|
100 | |
---|
101 | maxDepth 40 |
---|
102 | minPvs 1 |
---|
103 | minRays 50 |
---|
104 | minSize 0.001 |
---|
105 | maxCostRatio 1.0 |
---|
106 | maxRayContribution 0.5 |
---|
107 | maxRays 2000000 |
---|
108 | maxTotalMemory 200 |
---|
109 | maxStaticMemory 100 |
---|
110 | |
---|
111 | # splitType regular |
---|
112 | # splitType heuristic |
---|
113 | splitType hybrid |
---|
114 | splitUseOnlyDrivingAxis false |
---|
115 | importanceBasedCost false |
---|
116 | |
---|
117 | interleaveDirSplits true |
---|
118 | dirSplitDepth 0 |
---|
119 | |
---|
120 | ct_div_ci 0.0 |
---|
121 | } |
---|
122 | |
---|
123 | Limits { |
---|
124 | |
---|
125 | threshold 1e-6 |
---|
126 | small 1e-6 |
---|
127 | infinity 1e9 |
---|
128 | } |
---|
129 | |
---|
130 | Unigraphics { |
---|
131 | meshGrouping 1 |
---|
132 | } |
---|
133 | |
---|
134 | KdTree { |
---|
135 | sahUseFaces true |
---|
136 | Termination { |
---|
137 | minCost 1 |
---|
138 | maxDepth 18 |
---|
139 | maxCostRatio 0.9 |
---|
140 | ct_div_ci 0.5 |
---|
141 | } |
---|
142 | |
---|
143 | # splitMethod spatialMedian |
---|
144 | splitMethod SAH |
---|
145 | splitBorder 0.01 |
---|
146 | } |
---|
147 | |
---|
148 | MeshKdTree { |
---|
149 | Termination { |
---|
150 | minCost 1 |
---|
151 | maxDepth 18 |
---|
152 | maxCostRatio 0.9 |
---|
153 | ct_div_ci 0.5 |
---|
154 | } |
---|
155 | |
---|
156 | # splitMethod spatialMedian |
---|
157 | splitMethod SAH |
---|
158 | splitBorder 0.01 |
---|
159 | } |
---|
160 | |
---|
161 | |
---|
162 | SamplingPreprocessor { |
---|
163 | totalSamples 10000000 |
---|
164 | samplesPerPass 3 |
---|
165 | } |
---|
166 | |
---|
167 | |
---|
168 | ViewCells { |
---|
169 | # samples used for view cell construction |
---|
170 | Construction { |
---|
171 | samples 600000 |
---|
172 | samplesPerPass 200000 |
---|
173 | } |
---|
174 | |
---|
175 | #number of active view cells |
---|
176 | active 10000 |
---|
177 | maxStaticMemory 40 |
---|
178 | |
---|
179 | exportToFile false |
---|
180 | loadFromFile false |
---|
181 | |
---|
182 | #type kdTree |
---|
183 | #type vspKdTree |
---|
184 | #type bspTree |
---|
185 | type vspBspTree |
---|
186 | |
---|
187 | #type sceneDependent |
---|
188 | |
---|
189 | height 5.0 |
---|
190 | maxViewCells 100000 |
---|
191 | |
---|
192 | #percentage of total visible objects where pvs is considered invalid |
---|
193 | maxPvsRatio 1.0 |
---|
194 | |
---|
195 | pruneEmptyViewCells false |
---|
196 | processOnlyValidViewCells false |
---|
197 | |
---|
198 | PostProcess { |
---|
199 | # how much samples are used for post processing |
---|
200 | samples 300000 |
---|
201 | renderCostWeight 1.0 |
---|
202 | maxCostRatio 0.1 |
---|
203 | minViewCells 1 |
---|
204 | avgCostMaxDeviation 0.8 |
---|
205 | maxMergesPerPass 500 |
---|
206 | useRaysForMerge false |
---|
207 | refine false |
---|
208 | compress false |
---|
209 | merge true |
---|
210 | } |
---|
211 | |
---|
212 | Visualization { |
---|
213 | # how much samples we use for visualization |
---|
214 | samples 100000 |
---|
215 | #colorCode PVS |
---|
216 | #colorCode MergedLeaves |
---|
217 | #colorCode MergedTreeDiff |
---|
218 | colorCode Random |
---|
219 | exportRays true |
---|
220 | exportGeometry true |
---|
221 | exportMergedViewCells true |
---|
222 | useCuttingPlane true |
---|
223 | cuttingPlaneAxis 1 |
---|
224 | } |
---|
225 | |
---|
226 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
227 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
228 | # filename ../data/vienna/viewcells-25.x3d |
---|
229 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
230 | # filename ../scripts/viewcells_vienna.xml |
---|
231 | filename ../scripts/viewcells_atlanta.xml |
---|
232 | } |
---|
233 | |
---|
234 | |
---|
235 | Simulation { |
---|
236 | objRenderCost 1.0 |
---|
237 | vcOverhead 1.0 |
---|
238 | # always between 0 and 1 |
---|
239 | moveSpeed 0.0001 |
---|
240 | } |
---|
241 | |
---|
242 | |
---|
243 | |
---|
244 | VspKdTree { |
---|
245 | epsilon 1e-6 |
---|
246 | |
---|
247 | Construction { |
---|
248 | samples 300000 |
---|
249 | } |
---|
250 | |
---|
251 | Termination { |
---|
252 | maxDepth 40 |
---|
253 | minPvs 50 |
---|
254 | minRays 300 |
---|
255 | minSize 0.001 |
---|
256 | maxCostRatio 0.9 |
---|
257 | missTolerance 4 |
---|
258 | maxRayContribution 0.5 |
---|
259 | } |
---|
260 | |
---|
261 | maxTotalMemory 100 |
---|
262 | maxStaticMemory 50 |
---|
263 | |
---|
264 | splitType regular |
---|
265 | #splitType heuristics |
---|
266 | splitUseOnlyDrivingAxis true |
---|
267 | ct_div_ci 0.0 |
---|
268 | |
---|
269 | # maximal cost for merging a view cell |
---|
270 | PostProcess { |
---|
271 | maxCostRatio 0.005 |
---|
272 | minViewCells 200 |
---|
273 | maxPvsSize 50000 |
---|
274 | } |
---|
275 | |
---|
276 | |
---|
277 | Visualization { |
---|
278 | } |
---|
279 | } |
---|
280 | |
---|
281 | |
---|
282 | |
---|
283 | VspBspTree { |
---|
284 | Construction { |
---|
285 | samples 300000 |
---|
286 | epsilon 0.005 |
---|
287 | randomize false |
---|
288 | renderCostWeight 1.0 |
---|
289 | } |
---|
290 | |
---|
291 | |
---|
292 | # random polygon = 1 |
---|
293 | # axis aligned = 2 |
---|
294 | # least ray splits = 256 |
---|
295 | # balanced rays = 512 |
---|
296 | # pvs = 1024 |
---|
297 | |
---|
298 | splitPlaneStrategy 1024 |
---|
299 | |
---|
300 | # maximal candidates for split planes |
---|
301 | maxPolyCandidates 0 |
---|
302 | |
---|
303 | |
---|
304 | # maximal tested rays for split cost heuristics |
---|
305 | maxTests 10000 |
---|
306 | |
---|
307 | maxTotalMemory 50 |
---|
308 | maxStaticMemory 50 |
---|
309 | |
---|
310 | # factors for evaluating split plane costs |
---|
311 | Factor { |
---|
312 | leastRaySplits 1.0 |
---|
313 | balancedRays 1.0 |
---|
314 | pvs 1.0 |
---|
315 | } |
---|
316 | |
---|
317 | Termination { |
---|
318 | # parameters used for autopartition |
---|
319 | minRays -150 |
---|
320 | minPolygons -1 |
---|
321 | maxDepth 30 |
---|
322 | minPvs -10 |
---|
323 | #minProbability 0.0001 |
---|
324 | minProbability -1 |
---|
325 | # maxRayContribution 0.3 |
---|
326 | maxRayContribution 2.3 |
---|
327 | # maxCostRatio 0.9 |
---|
328 | maxCostRatio 3.9 |
---|
329 | missTolerance 3 |
---|
330 | |
---|
331 | |
---|
332 | maxViewCells 10000 |
---|
333 | |
---|
334 | # used for pvs criterium |
---|
335 | ct_div_ci 0.0 |
---|
336 | |
---|
337 | AxisAligned { |
---|
338 | minRays 1 |
---|
339 | maxRayContribution 9.9 |
---|
340 | } |
---|
341 | } |
---|
342 | |
---|
343 | splitUseOnlyDrivingAxis true |
---|
344 | |
---|
345 | Visualization { |
---|
346 | # x3d visualization of the split planes |
---|
347 | exportSplits true |
---|
348 | } |
---|
349 | } |
---|