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