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 | |
---|
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 1000000 |
---|
76 | vssSamples 15000000 |
---|
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 100 |
---|
104 | minSize 0.001 |
---|
105 | maxCostRatio 1.0 |
---|
106 | maxRayContribution 0.5 |
---|
107 | maxRays 5000000 |
---|
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 | numberOfEndPointDomains 10000 |
---|
121 | ct_div_ci 0.0 |
---|
122 | randomize false |
---|
123 | |
---|
124 | refDirBoxMaxSize 0.1 |
---|
125 | } |
---|
126 | |
---|
127 | Limits { |
---|
128 | |
---|
129 | threshold 1e-6 |
---|
130 | small 1e-6 |
---|
131 | infinity 1e9 |
---|
132 | } |
---|
133 | |
---|
134 | Unigraphics { |
---|
135 | meshGrouping 1 |
---|
136 | } |
---|
137 | |
---|
138 | KdTree { |
---|
139 | sahUseFaces true |
---|
140 | Termination { |
---|
141 | minCost 1 |
---|
142 | maxDepth 18 |
---|
143 | maxCostRatio 0.9 |
---|
144 | ct_div_ci 0.5 |
---|
145 | } |
---|
146 | |
---|
147 | # splitMethod spatialMedian |
---|
148 | splitMethod SAH |
---|
149 | splitBorder 0.01 |
---|
150 | } |
---|
151 | |
---|
152 | MeshKdTree { |
---|
153 | Termination { |
---|
154 | minCost 1 |
---|
155 | maxDepth 18 |
---|
156 | maxCostRatio 0.9 |
---|
157 | ct_div_ci 0.5 |
---|
158 | } |
---|
159 | |
---|
160 | # splitMethod spatialMedian |
---|
161 | splitMethod SAH |
---|
162 | splitBorder 0.01 |
---|
163 | } |
---|
164 | |
---|
165 | |
---|
166 | SamplingPreprocessor { |
---|
167 | totalSamples 10000000 |
---|
168 | samplesPerPass 3 |
---|
169 | } |
---|
170 | |
---|
171 | |
---|
172 | ViewCells { |
---|
173 | loadFromFile true |
---|
174 | exportToFile false |
---|
175 | #type kdTree |
---|
176 | #type vspKdTree |
---|
177 | #type bspTree |
---|
178 | type vspBspTree |
---|
179 | |
---|
180 | #type sceneDependent |
---|
181 | |
---|
182 | height 5.0 |
---|
183 | maxViewCells 100000 |
---|
184 | #percentage of total visible objects where pvs is considered invalid |
---|
185 | maxPvsRatio 0.05 |
---|
186 | |
---|
187 | delayedConstruction true |
---|
188 | |
---|
189 | |
---|
190 | PostProcess { |
---|
191 | # how much samples are used for post processing |
---|
192 | samples 200000 |
---|
193 | } |
---|
194 | |
---|
195 | Visualization { |
---|
196 | # how much samples we use for visualization |
---|
197 | samples 5000 |
---|
198 | #colorCode PVS |
---|
199 | #colorCode MergedLeaves |
---|
200 | #colorCode MergedTreeDiff |
---|
201 | colorCode Random |
---|
202 | exportRays false |
---|
203 | exportGeometry false |
---|
204 | } |
---|
205 | |
---|
206 | # filename ../data/soda/viewcells_soda5-2.xml |
---|
207 | filename ../data/atlanta/viewcells_atlanta2.xml |
---|
208 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
209 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
210 | # filename ../data/vienna/viewcells-25.x3d |
---|
211 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
212 | # filename ../scripts/viewcells_vienna.xml |
---|
213 | |
---|
214 | |
---|
215 | } |
---|
216 | |
---|
217 | |
---|
218 | Simulation { |
---|
219 | objRenderCost 1.0 |
---|
220 | vcOverhead 1.0 |
---|
221 | # always between 0 and 1 |
---|
222 | moveSpeed 0.0001 |
---|
223 | } |
---|
224 | |
---|
225 | |
---|
226 | VspKdTree { |
---|
227 | epsilon 1e-6 |
---|
228 | |
---|
229 | Construction { |
---|
230 | samples 300000 |
---|
231 | } |
---|
232 | |
---|
233 | Termination { |
---|
234 | maxDepth 40 |
---|
235 | minPvs 50 |
---|
236 | minRays 300 |
---|
237 | minSize 0.001 |
---|
238 | maxCostRatio 0.9 |
---|
239 | missTolerance 4 |
---|
240 | maxRayContribution 0.5 |
---|
241 | } |
---|
242 | |
---|
243 | maxTotalMemory 100 |
---|
244 | maxStaticMemory 50 |
---|
245 | |
---|
246 | splitType regular |
---|
247 | #splitType heuristics |
---|
248 | splitUseOnlyDrivingAxis true |
---|
249 | ct_div_ci 0.0 |
---|
250 | |
---|
251 | # maximal cost for merging a view cell |
---|
252 | PostProcess { |
---|
253 | maxCostRatio 0.005 |
---|
254 | minViewCells 200 |
---|
255 | maxPvsSize 50000 |
---|
256 | } |
---|
257 | |
---|
258 | |
---|
259 | Visualization { |
---|
260 | } |
---|
261 | } |
---|
262 | |
---|
263 | |
---|
264 | VspBspTree { |
---|
265 | Construction { |
---|
266 | samples 500000 |
---|
267 | epsilon 0.005 |
---|
268 | randomize false |
---|
269 | } |
---|
270 | |
---|
271 | |
---|
272 | # random polygon = 1 |
---|
273 | # axis aligned = 2 |
---|
274 | # least ray splits = 256 |
---|
275 | # balanced rays = 512 |
---|
276 | # pvs = 1024 |
---|
277 | |
---|
278 | splitPlaneStrategy 1024 |
---|
279 | |
---|
280 | # maximal candidates for split planes |
---|
281 | maxPolyCandidates 100 |
---|
282 | maxRayCandidates 100 |
---|
283 | |
---|
284 | # maximal tested rays for split cost heuristics |
---|
285 | maxTests 2000 |
---|
286 | |
---|
287 | # factors for evaluating split plane costs |
---|
288 | Factor { |
---|
289 | leastRaySplits 1.0 |
---|
290 | balancedRays 1.0 |
---|
291 | pvs 1.0 |
---|
292 | } |
---|
293 | |
---|
294 | # Termination { |
---|
295 | # # parameters used for autopartition |
---|
296 | # minRays 100 |
---|
297 | # minPolygons -1 |
---|
298 | # maxDepth 30 |
---|
299 | # minPvs 2 |
---|
300 | # #minProbability 0.0001 |
---|
301 | # minProbabilty 0.000 |
---|
302 | # maxRayContribution 0.005 |
---|
303 | # maxCostRatio 0.9 |
---|
304 | # missTolerance 4 |
---|
305 | # #maxAccRayLength 100 |
---|
306 | |
---|
307 | # maxViewCells 20000 |
---|
308 | |
---|
309 | # # used for pvs criterium |
---|
310 | # ct_div_ci 0.0 |
---|
311 | # } |
---|
312 | |
---|
313 | splitUseOnlyDrivingAxis false |
---|
314 | |
---|
315 | Visualization { |
---|
316 | # x3d visualization of the split planes |
---|
317 | exportSplits true |
---|
318 | } |
---|
319 | |
---|
320 | } |
---|