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