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-roofs.x3d |
---|
13 | # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d |
---|
14 | # filename ../data/vienna/vienna-buildings_vienna-roofs_vienna-roads_vienna-plane_cropped.obj |
---|
15 | filename ../data/vienna/vienna_cropped.obj |
---|
16 | # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d |
---|
17 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
18 | # filename ../data/atlanta/atlanta2.x3d |
---|
19 | # filename ../data/soda/soda.dat |
---|
20 | # filename ../data/soda/soda5.dat |
---|
21 | # filename ../data/artificial/cube_test.x3d |
---|
22 | # filename ../data/grandcanyon1_RotXmin90.obj |
---|
23 | # filename ../data/CityModel.obj |
---|
24 | # filename ../data/arena/arena-high-lods.obj |
---|
25 | } |
---|
26 | |
---|
27 | |
---|
28 | Preprocessor { |
---|
29 | samplesFilename rays.out |
---|
30 | # useGlRenderer true |
---|
31 | useGlRenderer false |
---|
32 | type vss |
---|
33 | detectEmptyViewSpace true |
---|
34 | loadMeshes false |
---|
35 | # internal raycaster |
---|
36 | #rayCastMethod 0 |
---|
37 | # intel raycaster |
---|
38 | rayCastMethod 1 |
---|
39 | exportVisibility false |
---|
40 | loadKdTree false |
---|
41 | exportKdTree false |
---|
42 | applyVisibilityFilter false |
---|
43 | applyVisibilitySpatialFilter false |
---|
44 | |
---|
45 | histogram { |
---|
46 | intervals 20 |
---|
47 | } |
---|
48 | } |
---|
49 | |
---|
50 | |
---|
51 | VssPreprocessor { |
---|
52 | initialSamples 0 |
---|
53 | vssSamples 0 |
---|
54 | useImportanceSampling true |
---|
55 | loadInitialSamples false |
---|
56 | storeInitialSamples false |
---|
57 | } |
---|
58 | |
---|
59 | |
---|
60 | VssTree { |
---|
61 | useRss false |
---|
62 | epsilon 1e-6 |
---|
63 | |
---|
64 | maxDepth 2 |
---|
65 | minPvs 30 |
---|
66 | minRays 800 |
---|
67 | minSize 0.001 |
---|
68 | maxCostRatio 1.5 |
---|
69 | maxRayContribution 0.5 |
---|
70 | |
---|
71 | maxTotalMemory 50 |
---|
72 | maxStaticMemory 20 |
---|
73 | |
---|
74 | splitType regular |
---|
75 | # splitType heuristic |
---|
76 | # splitType hybrid |
---|
77 | splitUseOnlyDrivingAxis true |
---|
78 | |
---|
79 | interleaveDirSplits true |
---|
80 | dirSplitDepth 0 |
---|
81 | |
---|
82 | numberOfEndPointDomains 10000 |
---|
83 | ct_div_ci 0.0 |
---|
84 | randomize false |
---|
85 | |
---|
86 | refDirBoxMaxSize 0.1 |
---|
87 | } |
---|
88 | |
---|
89 | |
---|
90 | Limits { |
---|
91 | threshold 1e-6 |
---|
92 | small 1e-6 |
---|
93 | infinity 1e9 |
---|
94 | } |
---|
95 | |
---|
96 | |
---|
97 | Unigraphics { |
---|
98 | meshGrouping 1 |
---|
99 | } |
---|
100 | |
---|
101 | |
---|
102 | KdTree { |
---|
103 | sahUseFaces true |
---|
104 | |
---|
105 | Termination { |
---|
106 | minCost 0 |
---|
107 | maxDepth 20 |
---|
108 | |
---|
109 | maxCostRatio 1.5 |
---|
110 | ct_div_ci 0.5 |
---|
111 | } |
---|
112 | |
---|
113 | # splitMethod spatialMedian |
---|
114 | splitMethod SAH |
---|
115 | splitBorder 0.01 |
---|
116 | } |
---|
117 | |
---|
118 | MeshKdTree { |
---|
119 | Termination { |
---|
120 | minCost 1 |
---|
121 | maxDepth 18 |
---|
122 | maxCostRatio 0.9 |
---|
123 | ct_div_ci 0.5 |
---|
124 | } |
---|
125 | |
---|
126 | # splitMethod spatialMedian |
---|
127 | splitMethod SAH |
---|
128 | splitBorder 0.01 |
---|
129 | } |
---|
130 | |
---|
131 | |
---|
132 | ViewCells { |
---|
133 | |
---|
134 | # samples used for view cell construction |
---|
135 | # (after the sampling used for the hierarchy) |
---|
136 | Construction { |
---|
137 | samples 0 |
---|
138 | samplesPerPass 1000000 |
---|
139 | } |
---|
140 | |
---|
141 | # number of active view cells |
---|
142 | active 25000 |
---|
143 | maxStaticMemory 40 |
---|
144 | |
---|
145 | exportToFile true |
---|
146 | loadFromFile false |
---|
147 | |
---|
148 | exportPvs false |
---|
149 | |
---|
150 | # type of view cells |
---|
151 | type vspOspTree |
---|
152 | |
---|
153 | compressObjects true |
---|
154 | |
---|
155 | #percentage of total visible objects where pvs is considered invalid |
---|
156 | maxPvsRatio 1.0 |
---|
157 | |
---|
158 | processOnlyValidViewCells false |
---|
159 | |
---|
160 | #samplingType object_directional |
---|
161 | #samplingType directional |
---|
162 | samplingType box |
---|
163 | #samplingType reverse_object |
---|
164 | #samplingType object |
---|
165 | |
---|
166 | PostProcess { |
---|
167 | # how much samples are used for post processing |
---|
168 | samples 0 |
---|
169 | maxMergesPerPass 5000 |
---|
170 | useRaysForMerge false |
---|
171 | refine false |
---|
172 | compress true |
---|
173 | merge false |
---|
174 | } |
---|
175 | |
---|
176 | Visualization { |
---|
177 | # how much samples we use for visualization |
---|
178 | samples 200 |
---|
179 | exportRays true |
---|
180 | exportGeometry true |
---|
181 | exportMergedViewCells false |
---|
182 | useClipPlane true |
---|
183 | clipPlaneAxis 1 |
---|
184 | clipPlanePos 0.3 |
---|
185 | maxOutput 0 |
---|
186 | } |
---|
187 | |
---|
188 | showVisualization true |
---|
189 | #showVisualization false |
---|
190 | evaluateViewCells true |
---|
191 | |
---|
192 | Evaluation { |
---|
193 | samples 160000000 |
---|
194 | samplesForStats 80000000 |
---|
195 | |
---|
196 | #samples 60000000 |
---|
197 | #samplesForStats 20000000 |
---|
198 | |
---|
199 | samplesPerPass 1000000 |
---|
200 | |
---|
201 | stepSize 500 |
---|
202 | |
---|
203 | #samplingType object_directional |
---|
204 | #samplingType reverse_object |
---|
205 | #samplingType object |
---|
206 | samplingType box |
---|
207 | |
---|
208 | histogram true |
---|
209 | histoStepSize 200 |
---|
210 | histoMem 60 |
---|
211 | |
---|
212 | statsPrefix ../scripts/viewCells |
---|
213 | } |
---|
214 | } |
---|
215 | |
---|
216 | |
---|
217 | ################################ |
---|
218 | # |
---|
219 | # View space partitioning kd tree |
---|
220 | # |
---|
221 | |
---|
222 | VspTree { |
---|
223 | Construction { |
---|
224 | renderCostDecreaseWeight 0.999 |
---|
225 | } |
---|
226 | |
---|
227 | Termination { |
---|
228 | minPvs 0 |
---|
229 | maxViewCells 500000 |
---|
230 | } |
---|
231 | |
---|
232 | #useCostHeuristics true |
---|
233 | #splitUseOnlyDrivingAxis true |
---|
234 | |
---|
235 | useCostHeuristics false |
---|
236 | splitUseOnlyDrivingAxis false |
---|
237 | |
---|
238 | # maximum number of tests per node |
---|
239 | maxTests 500000 |
---|
240 | } |
---|
241 | |
---|
242 | |
---|
243 | ########################## |
---|
244 | # |
---|
245 | # The bounding volume hierarchy |
---|
246 | # |
---|
247 | |
---|
248 | BvHierarchy { |
---|
249 | |
---|
250 | Construction { |
---|
251 | renderCostDecreaseWeight 0.999 |
---|
252 | } |
---|
253 | |
---|
254 | Termination { |
---|
255 | maxLeaves 50000000 |
---|
256 | } |
---|
257 | |
---|
258 | minRaysForVisibility 15 |
---|
259 | |
---|
260 | # use only surface area heuristic |
---|
261 | useCostHeuristics true |
---|
262 | #useCostHeuristics false |
---|
263 | useSah true |
---|
264 | |
---|
265 | #splitUseOnlyDrivingAxis true |
---|
266 | splitUseOnlyDrivingAxis false |
---|
267 | |
---|
268 | maxTests 500000 |
---|
269 | } |
---|
270 | |
---|
271 | |
---|
272 | ############################################################### |
---|
273 | # |
---|
274 | # Manages the construction of view space and object space partition |
---|
275 | # |
---|
276 | |
---|
277 | Hierarchy { |
---|
278 | # the type of object space partition: view space is always vsp (=kd) partition |
---|
279 | type bvh |
---|
280 | |
---|
281 | Construction { |
---|
282 | |
---|
283 | samples 6000000 |
---|
284 | |
---|
285 | # type 0 = sequential computation, 1 = interleaved, 2 = gradient |
---|
286 | type 1 |
---|
287 | |
---|
288 | # if the object space should be subdivided first (if false, the view space is subdivided first) |
---|
289 | startWithObjectSpace true |
---|
290 | |
---|
291 | ############################### |
---|
292 | # only for interleaved method |
---|
293 | |
---|
294 | # if dirty split candidates are reevaluated |
---|
295 | repairQueue true |
---|
296 | |
---|
297 | # recompute split plane when "repairing" a candidate |
---|
298 | recomputeSplitPlaneOnRepair true |
---|
299 | |
---|
300 | ################################################### |
---|
301 | |
---|
302 | # iterative construction of vs partititon and os partition |
---|
303 | useMultiLevel false |
---|
304 | |
---|
305 | # number of iteration steps |
---|
306 | levels 3 |
---|
307 | |
---|
308 | # minimal steps of same type: for interleaved, this is only valid for the first few splits |
---|
309 | minStepsOfSameType 100 |
---|
310 | maxStepsOfSameType 900 |
---|
311 | |
---|
312 | maxAvgRayContri 9999 |
---|
313 | minAvgRayContri 9900 |
---|
314 | |
---|
315 | maxRepairs 2000 |
---|
316 | } |
---|
317 | |
---|
318 | Termination { |
---|
319 | # maximal number of leaves |
---|
320 | maxLeaves 300000 |
---|
321 | # maximal memory in MB |
---|
322 | #maxMemory 20 |
---|
323 | maxMemory 35 |
---|
324 | # minimum ratio of global cost decrease |
---|
325 | minGlobalCostRatio -1 |
---|
326 | } |
---|
327 | } |
---|
328 | |
---|
329 | |
---|
330 | VspBspTree { |
---|
331 | Construction { |
---|
332 | samples 100000 |
---|
333 | } |
---|
334 | |
---|
335 | Termination { |
---|
336 | minPvs 0 |
---|
337 | maxViewCells 1000 |
---|
338 | } |
---|
339 | |
---|
340 | useCostHeuristics true |
---|
341 | splitUseOnlyDrivingAxis false |
---|
342 | |
---|
343 | # maximum number of tests per node |
---|
344 | maxTests 100000 |
---|
345 | } |
---|