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