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 | #percentage of total visible objects where pvs is considered invalid |
---|
154 | maxPvsRatio 1.0 |
---|
155 | |
---|
156 | processOnlyValidViewCells false |
---|
157 | |
---|
158 | #samplingType object_directional |
---|
159 | #samplingType directional |
---|
160 | samplingType box |
---|
161 | #samplingType reverse_object |
---|
162 | #samplingType object |
---|
163 | |
---|
164 | compressObjects true |
---|
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 | evaluateViewCells true |
---|
190 | |
---|
191 | Evaluation { |
---|
192 | samples 160000000 |
---|
193 | samplesForStats 80000000 |
---|
194 | samplesPerPass 1000000 |
---|
195 | |
---|
196 | stepSize 500 |
---|
197 | |
---|
198 | #samplingType object_directional |
---|
199 | #samplingType reverse_object |
---|
200 | #samplingType object |
---|
201 | samplingType box |
---|
202 | |
---|
203 | histogram true |
---|
204 | histoStepSize 200 |
---|
205 | histoMem 60 |
---|
206 | |
---|
207 | statsPrefix ../scripts/viewCells |
---|
208 | } |
---|
209 | } |
---|
210 | |
---|
211 | |
---|
212 | ################################ |
---|
213 | # |
---|
214 | # View space partitioning kd tree |
---|
215 | # |
---|
216 | |
---|
217 | VspTree { |
---|
218 | Construction { |
---|
219 | renderCostDecreaseWeight 0.999 |
---|
220 | } |
---|
221 | |
---|
222 | Termination { |
---|
223 | minPvs 0 |
---|
224 | maxViewCells 500000 |
---|
225 | } |
---|
226 | |
---|
227 | #useCostHeuristics true |
---|
228 | #splitUseOnlyDrivingAxis true |
---|
229 | |
---|
230 | useCostHeuristics false |
---|
231 | splitUseOnlyDrivingAxis false |
---|
232 | |
---|
233 | # maximum number of tests per node |
---|
234 | maxTests 500000 |
---|
235 | } |
---|
236 | |
---|
237 | |
---|
238 | ########################## |
---|
239 | # |
---|
240 | # The bounding volume hierarchy |
---|
241 | # |
---|
242 | |
---|
243 | BvHierarchy { |
---|
244 | |
---|
245 | Construction { |
---|
246 | renderCostDecreaseWeight 0.999 |
---|
247 | } |
---|
248 | |
---|
249 | Termination { |
---|
250 | maxLeaves 50000000 |
---|
251 | } |
---|
252 | |
---|
253 | minRaysForVisibility 15 |
---|
254 | |
---|
255 | # use only surface area heuristic |
---|
256 | useCostHeuristics true |
---|
257 | #useCostHeuristics false |
---|
258 | useSah true |
---|
259 | |
---|
260 | #splitUseOnlyDrivingAxis true |
---|
261 | splitUseOnlyDrivingAxis false |
---|
262 | |
---|
263 | maxTests 500000 |
---|
264 | } |
---|
265 | |
---|
266 | |
---|
267 | ############################################################### |
---|
268 | # |
---|
269 | # Manages the construction of view space and object space partition |
---|
270 | # |
---|
271 | |
---|
272 | Hierarchy { |
---|
273 | # the type of object space partition: view space is always vsp (=kd) partition |
---|
274 | type bvh |
---|
275 | |
---|
276 | Construction { |
---|
277 | |
---|
278 | samples 6000000 |
---|
279 | |
---|
280 | # type 0 = sequential computation, 1 = interleaved, 2 = gradient |
---|
281 | type 1 |
---|
282 | |
---|
283 | # if the object space should be subdivided first (if false, the view space is subdivided first) |
---|
284 | startWithObjectSpace true |
---|
285 | |
---|
286 | ############################### |
---|
287 | # only for interleaved method |
---|
288 | |
---|
289 | # if dirty split candidates are reevaluated |
---|
290 | repairQueue true |
---|
291 | |
---|
292 | # recompute split plane when "repairing" a candidate |
---|
293 | recomputeSplitPlaneOnRepair true |
---|
294 | |
---|
295 | ################################################### |
---|
296 | |
---|
297 | # iterative construction of vs partititon and os partition |
---|
298 | useMultiLevel false |
---|
299 | |
---|
300 | # number of iteration steps |
---|
301 | levels 3 |
---|
302 | |
---|
303 | # minimal steps of same type: for interleaved, this is only valid for the first few splits |
---|
304 | minStepsOfSameType 100 |
---|
305 | maxStepsOfSameType 900 |
---|
306 | |
---|
307 | maxRepairs 2000 |
---|
308 | |
---|
309 | maxAvgRayContri 9999 |
---|
310 | minAvgRayContri 9990 |
---|
311 | } |
---|
312 | |
---|
313 | Termination { |
---|
314 | # maximal number of leaves |
---|
315 | maxLeaves 300000 |
---|
316 | # maximal memory in MB |
---|
317 | maxMemory 35 |
---|
318 | # minimum ratio of global cost decrease |
---|
319 | minGlobalCostRatio -1 |
---|
320 | } |
---|
321 | } |
---|
322 | |
---|
323 | |
---|
324 | VspBspTree { |
---|
325 | Construction { |
---|
326 | samples 100000 |
---|
327 | } |
---|
328 | |
---|
329 | Termination { |
---|
330 | minPvs 0 |
---|
331 | maxViewCells 1000 |
---|
332 | } |
---|
333 | |
---|
334 | useCostHeuristics true |
---|
335 | splitUseOnlyDrivingAxis false |
---|
336 | |
---|
337 | # maximum number of tests per node |
---|
338 | maxTests 100000 |
---|
339 | } |
---|