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