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