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 | # type sampling |
---|
22 | # type vss |
---|
23 | type rss |
---|
24 | } |
---|
25 | |
---|
26 | VssPreprocessor { |
---|
27 | samplesPerPass 100000 |
---|
28 | initialSamples 500000 |
---|
29 | vssSamples 1000000 |
---|
30 | vssSamplesPerPass 50000 |
---|
31 | useImportanceSampling true |
---|
32 | } |
---|
33 | |
---|
34 | |
---|
35 | VssTree { |
---|
36 | useRss false |
---|
37 | epsilon 1e-6 |
---|
38 | |
---|
39 | maxDepth 40 |
---|
40 | minPvs 3 |
---|
41 | minRays 100 |
---|
42 | minSize 0.001 |
---|
43 | maxCostRatio 2.0 |
---|
44 | maxRayContribution 0.05 |
---|
45 | |
---|
46 | maxTotalMemory 200 |
---|
47 | maxStaticMemory 100 |
---|
48 | |
---|
49 | splitType regular |
---|
50 | # splitType heuristic |
---|
51 | # splitType hybrid |
---|
52 | splitUseOnlyDrivingAxis true |
---|
53 | |
---|
54 | interleaveDirSplits false |
---|
55 | dirSplitDepth 40 |
---|
56 | |
---|
57 | numberOfEndPointDomains 10000 |
---|
58 | ct_div_ci 0.0 |
---|
59 | randomize false |
---|
60 | |
---|
61 | refDirBoxMaxSize 0.1 |
---|
62 | } |
---|
63 | |
---|
64 | RssPreprocessor { |
---|
65 | samplesPerPass 100000 |
---|
66 | initialSamples 500000 |
---|
67 | vssSamples 5000000 |
---|
68 | vssSamplesPerPass 100000 |
---|
69 | useImportanceSampling true |
---|
70 | } |
---|
71 | |
---|
72 | RssTree { |
---|
73 | useRss false |
---|
74 | epsilon 1e-6 |
---|
75 | |
---|
76 | maxDepth 40 |
---|
77 | minPvs 5 |
---|
78 | minRays 30 |
---|
79 | minSize 0.001 |
---|
80 | maxCostRatio 0.9 |
---|
81 | maxRayContribution 0.1 |
---|
82 | |
---|
83 | maxTotalMemory 200 |
---|
84 | maxStaticMemory 100 |
---|
85 | |
---|
86 | # splitType regular |
---|
87 | # splitType heuristic |
---|
88 | splitType hybrid |
---|
89 | splitUseOnlyDrivingAxis false |
---|
90 | |
---|
91 | interleaveDirSplits true |
---|
92 | dirSplitDepth 9 |
---|
93 | |
---|
94 | numberOfEndPointDomains 10000 |
---|
95 | ct_div_ci 0.0 |
---|
96 | randomize false |
---|
97 | |
---|
98 | refDirBoxMaxSize 0.1 |
---|
99 | } |
---|
100 | |
---|
101 | Limits { |
---|
102 | |
---|
103 | threshold 1e-6 |
---|
104 | small 1e-6 |
---|
105 | infinity 1e9 |
---|
106 | } |
---|
107 | |
---|
108 | Unigraphics { |
---|
109 | meshGrouping 1 |
---|
110 | } |
---|
111 | |
---|
112 | KdTree { |
---|
113 | sahUseFaces true |
---|
114 | Termination { |
---|
115 | minCost 1 |
---|
116 | maxDepth 18 |
---|
117 | maxCostRatio 0.9 |
---|
118 | ct_div_ci 0.5 |
---|
119 | } |
---|
120 | |
---|
121 | # splitMethod spatialMedian |
---|
122 | splitMethod SAH |
---|
123 | splitBorder 0.01 |
---|
124 | } |
---|
125 | |
---|
126 | MeshKdTree { |
---|
127 | Termination { |
---|
128 | minCost 1 |
---|
129 | maxDepth 18 |
---|
130 | maxCostRatio 0.9 |
---|
131 | ct_div_ci 0.5 |
---|
132 | } |
---|
133 | |
---|
134 | # splitMethod spatialMedian |
---|
135 | splitMethod SAH |
---|
136 | splitBorder 0.01 |
---|
137 | } |
---|
138 | |
---|
139 | |
---|
140 | Sampling { |
---|
141 | totalSamples 10000000 |
---|
142 | samplesPerPass 3 |
---|
143 | } |
---|
144 | |
---|
145 | ViewCells { |
---|
146 | #hierarchy kdTree |
---|
147 | hierarchy vspTree |
---|
148 | #hierarchy bspTree |
---|
149 | # hierarchy sceneDependent |
---|
150 | |
---|
151 | height 5.0 |
---|
152 | maxViewCells 0 |
---|
153 | |
---|
154 | PostProcessing { |
---|
155 | minPvsDif 100 |
---|
156 | minPvs 10 |
---|
157 | maxPvs 150 |
---|
158 | samples 100000 |
---|
159 | } |
---|
160 | |
---|
161 | |
---|
162 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
163 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
164 | # filename ../data/vienna/viewcells-25.x3d |
---|
165 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
166 | } |
---|
167 | |
---|
168 | BspTree { |
---|
169 | Construction { |
---|
170 | input fromSamples |
---|
171 | # input fromViewCells |
---|
172 | # input fromSceneGeometry |
---|
173 | samples 150000 |
---|
174 | sideTolerance 0.005 |
---|
175 | } |
---|
176 | |
---|
177 | |
---|
178 | # random polygon = 1 |
---|
179 | # axis aligned = 2 |
---|
180 | # least splits = 4 |
---|
181 | # balanced polygons = 8 |
---|
182 | # balanced view cells = 16 |
---|
183 | # largest polygon area = 32 |
---|
184 | # vertical axis = 64 |
---|
185 | # blocked rays = 128 |
---|
186 | # least ray splits = 256 |
---|
187 | # balanced rays = 512 |
---|
188 | # pvs = 1024 |
---|
189 | |
---|
190 | # least splits + balanced polygons |
---|
191 | #splitPlaneStrategy 12 |
---|
192 | |
---|
193 | #axis aligned + vertical axis |
---|
194 | #splitPlaneStrategy 66 |
---|
195 | |
---|
196 | # axis aligned + balanced view cells |
---|
197 | # splitPlaneStrategy 18 |
---|
198 | |
---|
199 | # largest polygon area |
---|
200 | #splitPlaneStrategy 32 |
---|
201 | |
---|
202 | # axus aligned + balanced polygons |
---|
203 | #splitPlaneStrategy 72 |
---|
204 | |
---|
205 | # axis aligned + blocked rays |
---|
206 | #splitPlaneStrategy 130 |
---|
207 | |
---|
208 | #splitPlaneStrategy 384 |
---|
209 | #splitPlaneStrategy 130 |
---|
210 | |
---|
211 | splitPlaneStrategy 12 |
---|
212 | |
---|
213 | maxPolyCandidates 70 |
---|
214 | maxRayCandidates 100 |
---|
215 | |
---|
216 | # factors for evaluating split plane costs |
---|
217 | Factor { |
---|
218 | verticalSplits 1.0 |
---|
219 | largestPolyArea 1.0 |
---|
220 | blockedRays 1.0 |
---|
221 | leastRaySplits 1.0 |
---|
222 | balancedRays 1.0 |
---|
223 | pvsFactor 1.0 |
---|
224 | leastSplits 1.0 |
---|
225 | balancedPolys 1.0 |
---|
226 | balancedViewCells 1.0 |
---|
227 | } |
---|
228 | |
---|
229 | Termination { |
---|
230 | # parameters used for autopartition |
---|
231 | minRays 200 |
---|
232 | minPolygons -1 |
---|
233 | maxDepth 40 |
---|
234 | minPvs 35 |
---|
235 | minArea 0.01 |
---|
236 | maxRayContribution 0.005 |
---|
237 | #maxAccRayLength 100 |
---|
238 | |
---|
239 | # used for pvs criterium |
---|
240 | ct_div_ci 0.0 |
---|
241 | |
---|
242 | # axis aligned splits |
---|
243 | AxisAligned { |
---|
244 | minPolys 5000 |
---|
245 | minRays 500 |
---|
246 | minObjects 10 |
---|
247 | maxCostRatio 0.9 |
---|
248 | ct_div_ci 0.5 |
---|
249 | } |
---|
250 | } |
---|
251 | |
---|
252 | AxisAligned { |
---|
253 | splitBorder 0.01 |
---|
254 | } |
---|
255 | |
---|
256 | |
---|
257 | Visualization { |
---|
258 | # x3d visualization of the split planes |
---|
259 | exportSplits true |
---|
260 | # how much samples should be used in visualization |
---|
261 | samples 20000 |
---|
262 | } |
---|
263 | } |
---|
264 | |
---|
265 | Simulation { |
---|
266 | objRenderCost 1.0 |
---|
267 | vcOverhead 7.0 |
---|
268 | moveSpeed 3.0 |
---|
269 | } |
---|
270 | |
---|
271 | |
---|
272 | VspKdTree { |
---|
273 | epsilon 1e-6 |
---|
274 | |
---|
275 | Construction { |
---|
276 | samples 500000 |
---|
277 | } |
---|
278 | |
---|
279 | Termination { |
---|
280 | maxDepth 30 |
---|
281 | minPvs 60 |
---|
282 | minRays 1 |
---|
283 | minSize 0.1 |
---|
284 | maxCostRatio 999.0 |
---|
285 | maxRayContribution 0.2 |
---|
286 | } |
---|
287 | |
---|
288 | maxTotalMemory 600 |
---|
289 | maxStaticMemory 600 |
---|
290 | |
---|
291 | splitType regular |
---|
292 | # splitType heuristics |
---|
293 | ct_div_ci 0.0 |
---|
294 | } |
---|