1 | ############################################################################ |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
7 | |
---|
8 | # filename ../data/glasgow/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;../data/vienna/vienna-plane.x3d;../data/vienna/vienna-roads.x3d |
---|
13 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
14 | #filename ../data/atlanta/atlanta2.x3d |
---|
15 | filename ../data/soda/soda.dat |
---|
16 | #filename ../data/soda/soda5.dat |
---|
17 | #filename ../data/PowerPlant/ppsection1/part_a/g0.ply |
---|
18 | #filename ../data/PowerPlant/ppsection1/part_b/g0.ply |
---|
19 | #filename ../data/PowerPlant/ppsection1.plb |
---|
20 | #filename ../data/PowerPlant/all.plb |
---|
21 | #filename ../data/PowerPlant/selection3.plb |
---|
22 | #filename ../data/PowerPlant/section10.plb;../data/PowerPlant/section14.plb |
---|
23 | #filename ../data/PowerPlant/selection.plb |
---|
24 | #filename ../data/PowerPlant/comps/ppsection1/comps.plb |
---|
25 | } |
---|
26 | |
---|
27 | Preprocessor { |
---|
28 | # stored sample rays |
---|
29 | samplesFilename rays.out |
---|
30 | useGlRenderer false |
---|
31 | useGlDebugger false |
---|
32 | # type sampling |
---|
33 | # type vss |
---|
34 | type rss |
---|
35 | # type render |
---|
36 | detectEmptyViewSpace false |
---|
37 | pvsRenderErrorSamples 0 |
---|
38 | # pvsRenderErrorSamples 1000 |
---|
39 | quitOnFinish true |
---|
40 | computeVisibility true |
---|
41 | applyVisibilityFilter false |
---|
42 | applyVisibilitySpatialFilter true |
---|
43 | visibilityFilterWidth 0.01 |
---|
44 | visibilityFile visibility.xml |
---|
45 | } |
---|
46 | |
---|
47 | |
---|
48 | RssPreprocessor { |
---|
49 | samplesPerPass 1000000 |
---|
50 | initialSamples 1000000 |
---|
51 | vssSamples 5000000 |
---|
52 | vssSamplesPerPass 1000000 |
---|
53 | useImportanceSampling true |
---|
54 | |
---|
55 | directionalSampling false |
---|
56 | objectBasedSampling false |
---|
57 | |
---|
58 | Export { |
---|
59 | pvs false |
---|
60 | rssTree false |
---|
61 | rays false |
---|
62 | numRays 20000 |
---|
63 | } |
---|
64 | |
---|
65 | useViewcells true |
---|
66 | updateSubdivision true |
---|
67 | loadInitialSamples false |
---|
68 | storeInitialSamples false |
---|
69 | } |
---|
70 | |
---|
71 | |
---|
72 | RssTree { |
---|
73 | epsilon 1e-6 |
---|
74 | perObjectTree false |
---|
75 | |
---|
76 | maxDepth 40 |
---|
77 | minPvs 3 |
---|
78 | # before vienna test it was: |
---|
79 | # minRays 50 |
---|
80 | # splitType heuristic |
---|
81 | |
---|
82 | minRays 100 |
---|
83 | minSize 0.001 |
---|
84 | maxCostRatio 1.0 |
---|
85 | maxRayContribution 0.5 |
---|
86 | maxRays 2000000 |
---|
87 | maxTotalMemory 200 |
---|
88 | maxStaticMemory 100 |
---|
89 | |
---|
90 | splitType regular |
---|
91 | # splitType heuristic |
---|
92 | # splitType hybrid |
---|
93 | splitUseOnlyDrivingAxis false |
---|
94 | importanceBasedCost false |
---|
95 | |
---|
96 | interleaveDirSplits true |
---|
97 | dirSplitDepth 0 |
---|
98 | |
---|
99 | ct_div_ci 0.0 |
---|
100 | } |
---|
101 | |
---|
102 | Limits { |
---|
103 | |
---|
104 | threshold 1e-6 |
---|
105 | small 1e-6 |
---|
106 | infinity 1e9 |
---|
107 | } |
---|
108 | |
---|
109 | Unigraphics { |
---|
110 | meshGrouping 1 |
---|
111 | } |
---|
112 | |
---|
113 | KdTree { |
---|
114 | sahUseFaces false |
---|
115 | Termination { |
---|
116 | minCost 1 |
---|
117 | maxDepth 30 |
---|
118 | maxCostRatio 1.0 |
---|
119 | ct_div_ci 0.5 |
---|
120 | maxNodes 500000 |
---|
121 | } |
---|
122 | |
---|
123 | # splitMethod spatialMedian |
---|
124 | splitMethod SAH |
---|
125 | splitBorder 0.01 |
---|
126 | } |
---|
127 | |
---|
128 | MeshKdTree { |
---|
129 | Termination { |
---|
130 | minCost 8 |
---|
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 | |
---|
142 | |
---|
143 | ViewCells { |
---|
144 | # samples used for view cell construction |
---|
145 | Construction { |
---|
146 | samples 100000 |
---|
147 | samplesPerPass 100000 |
---|
148 | } |
---|
149 | |
---|
150 | Filter { |
---|
151 | maxSize 5 |
---|
152 | width 0.05 |
---|
153 | } |
---|
154 | |
---|
155 | #number of active view cells |
---|
156 | active 5000 |
---|
157 | maxStaticMemory 40 |
---|
158 | |
---|
159 | exportToFile false |
---|
160 | loadFromFile true |
---|
161 | |
---|
162 | #type kdTree |
---|
163 | #type vspKdTree |
---|
164 | #type bspTree |
---|
165 | type vspBspTree |
---|
166 | #type sceneDependent |
---|
167 | |
---|
168 | height 5.0 |
---|
169 | maxViewCells 5000 |
---|
170 | |
---|
171 | #percentage of total visible objects where pvs is considered invalid |
---|
172 | maxPvsRatio 1.0 |
---|
173 | |
---|
174 | pruneEmptyViewCells false |
---|
175 | processOnlyValidViewCells false |
---|
176 | |
---|
177 | #stats viewCellStats.log |
---|
178 | |
---|
179 | samplingType directional |
---|
180 | #samplingType box |
---|
181 | |
---|
182 | PostProcess { |
---|
183 | # how much samples are used for post processing |
---|
184 | samples 100000 |
---|
185 | renderCostWeight 1.0 |
---|
186 | maxCostRatio 0.1 |
---|
187 | minViewCells 1 |
---|
188 | avgCostMaxDeviation 0.01 |
---|
189 | maxMergesPerPass 5000 |
---|
190 | useRaysForMerge false |
---|
191 | refine false |
---|
192 | compress false |
---|
193 | merge false |
---|
194 | } |
---|
195 | |
---|
196 | Visualization { |
---|
197 | # how much samples we use for visualization |
---|
198 | samples 100000 |
---|
199 | #colorCode PVS |
---|
200 | #colorCode MergedLeaves |
---|
201 | #colorCode MergedTreeDiff |
---|
202 | colorCode Random |
---|
203 | exportRays false |
---|
204 | exportGeometry false |
---|
205 | exportMergedViewCells false |
---|
206 | useClipPlane true |
---|
207 | clipPlaneAxis 1 |
---|
208 | } |
---|
209 | |
---|
210 | showVisualization false |
---|
211 | evaluateViewCells false |
---|
212 | |
---|
213 | Evaluation { |
---|
214 | samplesPerPass 500 |
---|
215 | samples 1000 |
---|
216 | statsPrefix ../scripts/viewCells |
---|
217 | } |
---|
218 | |
---|
219 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
220 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
221 | # filename ../data/vienna/viewcells-25.x3d |
---|
222 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
223 | # filename ../scripts/viewcells_vienna.xml |
---|
224 | # filename ../scripts/viewcells_atlanta.xml |
---|
225 | # filename ../scripts/viewcells_soda5-2.xml |
---|
226 | # filename ../data/soda/soda5-viewcells.xml |
---|
227 | # filename ../scripts/viewcells_atlanta.xml |
---|
228 | # filename ../data/soda/soda5-viewcells2.xml |
---|
229 | filename ../data/atlanta/viewcells_atlanta3.xml |
---|
230 | # filename ../data/vienna/viewcells_vienna.xml |
---|
231 | # filename ../data/PowerPlant/power_plant_viewcells_all3.xml |
---|
232 | } |
---|
233 | |
---|
234 | |
---|
235 | Simulation { |
---|
236 | objRenderCost 1.0 |
---|
237 | vcOverhead 1.0 |
---|
238 | # always between 0 and 1 |
---|
239 | moveSpeed 0.0001 |
---|
240 | } |
---|
241 | |
---|
242 | |
---|
243 | VspKdTree { |
---|
244 | epsilon 1e-6 |
---|
245 | |
---|
246 | Construction { |
---|
247 | samples 500000 |
---|
248 | } |
---|
249 | |
---|
250 | Termination { |
---|
251 | maxDepth 40 |
---|
252 | minPvs 0 |
---|
253 | minRays 1 |
---|
254 | minSize 0.001 |
---|
255 | maxCostRatio 5.9 |
---|
256 | maxViewCells 169 |
---|
257 | missTolerance 4 |
---|
258 | maxRayContribution 2.5 |
---|
259 | } |
---|
260 | |
---|
261 | maxTotalMemory 100 |
---|
262 | maxStaticMemory 40 |
---|
263 | |
---|
264 | splitType regular |
---|
265 | #splitType heuristics |
---|
266 | splitUseOnlyDrivingAxis true |
---|
267 | ct_div_ci 0.0 |
---|
268 | |
---|
269 | # maximal cost for merging a view cell |
---|
270 | PostProcess { |
---|
271 | maxCostRatio 0.005 |
---|
272 | minViewCells 10000 |
---|
273 | maxPvsSize 5000 |
---|
274 | } |
---|
275 | |
---|
276 | |
---|
277 | Visualization { |
---|
278 | } |
---|
279 | } |
---|
280 | |
---|