1 | ############################################################################### |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
7 | |
---|
8 | filename ../data/vienna/vienna_cropped.obj |
---|
9 | # filename ../data/soda/soda.dat |
---|
10 | # filename ../data/soda/soda5.dat |
---|
11 | # filename ../data/artificial/cube_test.x3d |
---|
12 | # filename ../data/CityModel.obj |
---|
13 | # filename ../data/arena/arena-low-lods.obj |
---|
14 | } |
---|
15 | |
---|
16 | |
---|
17 | Preprocessor { |
---|
18 | samplesPerPass 500000 |
---|
19 | type vss |
---|
20 | detectEmptyViewSpace true |
---|
21 | loadMeshes false |
---|
22 | |
---|
23 | # internal raycaster |
---|
24 | #rayCastMethod 0 |
---|
25 | # intel raycaster |
---|
26 | rayCastMethod 1 |
---|
27 | |
---|
28 | exportVisibility false |
---|
29 | applyVisibilityFilter false |
---|
30 | applyVisibilitySpatialFilter false |
---|
31 | } |
---|
32 | |
---|
33 | |
---|
34 | RssPreprocessor { |
---|
35 | distributions mutation+spatial+object_direction |
---|
36 | #distributions spatial |
---|
37 | |
---|
38 | |
---|
39 | useImportanceSampling true |
---|
40 | |
---|
41 | Export { |
---|
42 | pvs false |
---|
43 | rssTree false |
---|
44 | } |
---|
45 | |
---|
46 | useViewcells true |
---|
47 | updateSubdivision true |
---|
48 | loadInitialSamples false |
---|
49 | storeInitialSamples false |
---|
50 | |
---|
51 | useRssTree true |
---|
52 | } |
---|
53 | |
---|
54 | |
---|
55 | |
---|
56 | VssTree { |
---|
57 | useRss false |
---|
58 | epsilon 1e-6 |
---|
59 | |
---|
60 | maxDepth 2 |
---|
61 | minPvs 30 |
---|
62 | minRays 800 |
---|
63 | minSize 0.001 |
---|
64 | maxCostRatio 1.5 |
---|
65 | maxRayContribution 0.5 |
---|
66 | |
---|
67 | maxTotalMemory 50 |
---|
68 | maxStaticMemory 20 |
---|
69 | |
---|
70 | splitType regular |
---|
71 | # splitType heuristic |
---|
72 | # splitType hybrid |
---|
73 | splitUseOnlyDrivingAxis true |
---|
74 | |
---|
75 | interleaveDirSplits true |
---|
76 | dirSplitDepth 0 |
---|
77 | |
---|
78 | numberOfEndPointDomains 10000 |
---|
79 | ct_div_ci 0.0 |
---|
80 | randomize false |
---|
81 | |
---|
82 | refDirBoxMaxSize 0.1 |
---|
83 | } |
---|
84 | |
---|
85 | |
---|
86 | Limits { |
---|
87 | threshold 1e-6 |
---|
88 | small 1e-6 |
---|
89 | infinity 1e9 |
---|
90 | } |
---|
91 | |
---|
92 | |
---|
93 | Unigraphics { |
---|
94 | meshGrouping 1 |
---|
95 | } |
---|
96 | |
---|
97 | |
---|
98 | KdTree { |
---|
99 | sahUseFaces true |
---|
100 | |
---|
101 | Termination { |
---|
102 | minCost 0 |
---|
103 | maxDepth 20 |
---|
104 | |
---|
105 | maxCostRatio 1.5 |
---|
106 | ct_div_ci 0.5 |
---|
107 | } |
---|
108 | |
---|
109 | # splitMethod spatialMedian |
---|
110 | splitMethod SAH |
---|
111 | splitBorder 0.01 |
---|
112 | } |
---|
113 | |
---|
114 | MeshKdTree { |
---|
115 | Termination { |
---|
116 | minCost 1 |
---|
117 | maxDepth 18 |
---|
118 | maxCostRatio 0.9 |
---|
119 | ct_div_ci 0.5 |
---|
120 | } |
---|
121 | |
---|
122 | # splitMethod spatialMedian |
---|
123 | splitMethod SAH |
---|
124 | splitBorder 0.01 |
---|
125 | } |
---|
126 | |
---|
127 | |
---|
128 | ViewCells { |
---|
129 | |
---|
130 | # samples used for view cell construction in the merge step |
---|
131 | Construction { |
---|
132 | samples 0 |
---|
133 | samplesPerPass 1000000 |
---|
134 | } |
---|
135 | |
---|
136 | # number of active view cells |
---|
137 | active 25000 |
---|
138 | maxStaticMemory 40 |
---|
139 | |
---|
140 | exportToFile true |
---|
141 | loadFromFile false |
---|
142 | |
---|
143 | #exportPvs true |
---|
144 | |
---|
145 | # type of view cells |
---|
146 | type vspOspTree |
---|
147 | |
---|
148 | #percentage of total visible objects where pvs is considered invalid |
---|
149 | maxPvsRatio 1.0 |
---|
150 | |
---|
151 | processOnlyValidViewCells false |
---|
152 | |
---|
153 | samplingType box |
---|
154 | |
---|
155 | PostProcess { |
---|
156 | # how much samples are used for post processing |
---|
157 | samples 0 |
---|
158 | maxMergesPerPass 5000 |
---|
159 | useRaysForMerge false |
---|
160 | refine false |
---|
161 | compress true |
---|
162 | merge false |
---|
163 | } |
---|
164 | |
---|
165 | Visualization { |
---|
166 | # how much samples we use for visualization |
---|
167 | samples 0 |
---|
168 | exportRays true |
---|
169 | exportGeometry true |
---|
170 | exportMergedViewCells false |
---|
171 | useClipPlane true |
---|
172 | clipPlaneAxis 1 |
---|
173 | clipPlanePos 0.3 |
---|
174 | maxOutput 0 |
---|
175 | } |
---|
176 | |
---|
177 | showVisualization true |
---|
178 | #showVisualization false |
---|
179 | #evaluateViewCells false |
---|
180 | evaluateViewCells true |
---|
181 | |
---|
182 | Evaluation { |
---|
183 | samples 80000000 |
---|
184 | samplesForStats 40000000 |
---|
185 | |
---|
186 | samplesPerPass 500000 |
---|
187 | stepSize 200 |
---|
188 | |
---|
189 | samplingType box |
---|
190 | |
---|
191 | histogram true |
---|
192 | histoStepSize 200 |
---|
193 | histoMem 60 |
---|
194 | |
---|
195 | statsPrefix ../scripts/viewCells |
---|
196 | } |
---|
197 | } |
---|
198 | |
---|
199 | |
---|
200 | ################################ |
---|
201 | # |
---|
202 | # View space partitioning kd tree |
---|
203 | # |
---|
204 | |
---|
205 | VspTree { |
---|
206 | Construction { |
---|
207 | renderCostDecreaseWeight 0.999 |
---|
208 | } |
---|
209 | |
---|
210 | Termination { |
---|
211 | minPvs 0 |
---|
212 | maxViewCells 500000 |
---|
213 | } |
---|
214 | |
---|
215 | useCostHeuristics true |
---|
216 | #splitUseOnlyDrivingAxis true |
---|
217 | |
---|
218 | #useCostHeuristics false |
---|
219 | splitUseOnlyDrivingAxis false |
---|
220 | |
---|
221 | # maximum number of tests per node |
---|
222 | maxTests 500000 |
---|
223 | } |
---|
224 | |
---|
225 | |
---|
226 | |
---|
227 | # |
---|
228 | # The bounding volume hierarchy |
---|
229 | # |
---|
230 | |
---|
231 | BvHierarchy { |
---|
232 | |
---|
233 | Construction { |
---|
234 | renderCostDecreaseWeight 0.999 |
---|
235 | #renderCostDecreaseWeight 1.0 |
---|
236 | } |
---|
237 | |
---|
238 | Termination { |
---|
239 | maxLeaves 50000000 |
---|
240 | } |
---|
241 | |
---|
242 | minRaysForVisibility 3 |
---|
243 | #minRaysForVisibility 15 |
---|
244 | |
---|
245 | # use only surface area heuristic |
---|
246 | useCostHeuristics true |
---|
247 | #useCostHeuristics false |
---|
248 | useSah false |
---|
249 | |
---|
250 | #splitUseOnlyDrivingAxis true |
---|
251 | splitUseOnlyDrivingAxis false |
---|
252 | |
---|
253 | maxTests 500000 |
---|
254 | } |
---|
255 | |
---|
256 | |
---|
257 | ############################################################### |
---|
258 | # |
---|
259 | # Manages the construction of view space and object space partition |
---|
260 | # |
---|
261 | |
---|
262 | Hierarchy { |
---|
263 | # the type of object space partition: view space is always vsp (=kd) partition |
---|
264 | type bvh |
---|
265 | |
---|
266 | Construction { |
---|
267 | |
---|
268 | samples 6000000 |
---|
269 | |
---|
270 | # type 0 = sequential computation, 1 = interleaved, 2 = gradient |
---|
271 | type 2 |
---|
272 | |
---|
273 | ############################### |
---|
274 | # only for interleaved method |
---|
275 | |
---|
276 | # if dirty split candidates are reevaluated |
---|
277 | repairQueue true |
---|
278 | |
---|
279 | ################################################### |
---|
280 | |
---|
281 | # minimal steps of same type: for interleaved, this is only valid for the first few splits |
---|
282 | minStepsOfSameType 100 |
---|
283 | maxStepsOfSameType 900 |
---|
284 | |
---|
285 | maxRepairs 2000 |
---|
286 | } |
---|
287 | |
---|
288 | Termination { |
---|
289 | # maximal number of leaves |
---|
290 | maxLeaves 200000 |
---|
291 | # maximal memory in MB |
---|
292 | # maxMemory 4 |
---|
293 | maxMemory 35 |
---|
294 | # minimum ratio of global cost decrease |
---|
295 | minGlobalCostRatio -1 |
---|
296 | } |
---|
297 | } |
---|