source: trunk/VUT/GtpVisibilityPreprocessor/src/default.env @ 569

Revision 569, 5.1 KB checked in by bittner, 18 years ago (diff)

viewcell validy setting functions extended

Line 
1#############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
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
13#;../data/vienna/vienna-plane.x3d
14# filename ../data/vienna/viewcells-25-sel.x3d
15filename ../data/atlanta/atlanta2.x3d
16#filename ../data/soda/soda.dat
17# filename ../data/soda/soda5.dat
18}
19
20Preprocessor {
21        # stored sample rays
22        samplesFilename rays.out
23        useGlRenderer true
24#       type sampling
25#       type vss
26        type rss
27        detectEmptyViewSpace false
28        pvsRenderErrorSamples 10000
29
30}
31
32
33VssPreprocessor {
34        samplesPerPass  100000
35        initialSamples 500000
36        vssSamples 2000000
37        vssSamplesPerPass 200000
38        useImportanceSampling true
39        loadInitialSamples  false
40        storeInitialSamples false
41}
42
43
44VssTree {
45        useRss    false
46        epsilon         1e-6
47
48        maxDepth        40
49        minPvs          30
50        minRays         100
51        minSize         0.001
52        maxCostRatio    1.5
53        maxRayContribution 0.5
54       
55        maxTotalMemory  200
56        maxStaticMemory 100
57
58#       splitType regular
59#       splitType heuristic
60        splitType hybrid
61        splitUseOnlyDrivingAxis true
62
63        interleaveDirSplits     true
64    dirSplitDepth 0
65
66        numberOfEndPointDomains 10000
67        ct_div_ci       0.0
68        randomize       false
69
70        refDirBoxMaxSize        0.1
71}
72
73RssPreprocessor {
74        samplesPerPass 500000
75        initialSamples 1000000
76        vssSamples 15000000
77        vssSamplesPerPass 1000000
78        useImportanceSampling true
79
80        directionalSampling true
81        objectBasedSampling false
82
83        Export {
84                pvs false
85                rssTree false
86                rays true
87                numRays 5000
88        }
89
90        useViewcells true
91        updateSubdivision true
92        loadInitialSamples false
93        storeInitialSamples false
94}
95
96
97RssTree {
98        epsilon         1e-6
99        perObjectTree false
100
101        maxDepth        40
102        minPvs          1
103        minRays         50
104        minSize         0.001
105        maxCostRatio 1.0
106        maxRayContribution 0.5
107        maxRays         2000000
108        maxTotalMemory  200
109        maxStaticMemory 100
110
111#       splitType regular
112#       splitType heuristic
113        splitType hybrid
114        splitUseOnlyDrivingAxis false
115        importanceBasedCost false
116
117        interleaveDirSplits     true
118    dirSplitDepth 0
119
120        ct_div_ci       0.0
121}
122
123Limits {
124
125       threshold        1e-6
126       small            1e-6
127       infinity         1e9
128}
129
130Unigraphics {
131                meshGrouping 1
132}
133
134KdTree {
135        sahUseFaces true
136        Termination {
137                minCost 1
138                maxDepth 18
139                maxCostRatio 0.9
140                ct_div_ci 0.5
141        }
142
143#       splitMethod spatialMedian
144        splitMethod SAH
145        splitBorder 0.01
146}
147
148MeshKdTree {
149        Termination {
150                minCost 1
151                maxDepth 18
152                maxCostRatio 0.9
153                ct_div_ci 0.5
154        }
155
156#       splitMethod spatialMedian
157        splitMethod SAH
158        splitBorder 0.01
159}
160
161
162SamplingPreprocessor {
163        totalSamples 10000000
164        samplesPerPass  3
165}
166
167
168ViewCells {
169        loadFromFile true
170        exportToFile false
171        #type kdTree
172        #type vspKdTree
173        #type bspTree
174        type vspBspTree
175       
176        #type sceneDependent
177       
178        height 5.0
179        maxViewCells 100000
180        #percentage of total visible objects where pvs is considered invalid
181        maxPvsRatio 0.05
182               
183        delayedConstruction true
184               
185               
186        PostProcess {
187                # how much samples are used for post processing
188                samples 200000
189        }
190
191        Visualization {
192                # how much samples we use for visualization
193                samples 5000
194                #colorCode PVS
195                #colorCode MergedLeaves
196                #colorCode MergedTreeDiff
197                colorCode Random
198                exportRays false
199                exportGeometry false
200        }
201       
202#       filename ../data/soda/viewcells_soda5-2.xml
203        filename ../data/atlanta/viewcells_atlanta2.xml
204#       filename ../data/atlanta/atlanta_viewcells_large.x3d
205#       filename ../data/vienna/viewcells-25-sel.x3d
206#       filename ../data/vienna/viewcells-25.x3d
207#       filename ../data/vienna/viewcells-large-sel.x3d
208#       filename ../scripts/viewcells_vienna.xml
209
210
211}
212
213
214Simulation {
215        objRenderCost 1.0
216        vcOverhead 1.0
217        # always between 0 and 1
218        moveSpeed 0.0001
219}
220
221
222VspKdTree {
223        epsilon         1e-6
224
225        Construction {
226                samples 300000
227        }
228       
229        Termination {
230                maxDepth                40
231                minPvs                  50
232                minRays                 300
233                minSize                 0.001
234                maxCostRatio            0.9
235                missTolerance           4
236                maxRayContribution      0.5
237        }
238       
239        maxTotalMemory  100
240        maxStaticMemory 50
241
242        splitType       regular
243        #splitType      heuristics
244        splitUseOnlyDrivingAxis true
245        ct_div_ci       0.0
246       
247        # maximal cost for merging a view cell
248        PostProcess {
249                maxCostRatio 0.005
250                minViewCells 200
251                maxPvsSize   50000
252        }
253       
254       
255        Visualization {
256        }
257}
258
259
260VspBspTree {
261        Construction {
262                samples 500000
263                epsilon 0.005
264                randomize false
265        }
266
267
268        # random polygon       = 1
269        # axis aligned         = 2
270        # least ray splits     = 256
271        # balanced rays        = 512
272        # pvs                  = 1024
273
274        splitPlaneStrategy 1024
275       
276        # maximal candidates for split planes
277        maxPolyCandidates 100
278        maxRayCandidates 100
279       
280        # maximal tested rays for split cost heuristics
281        maxTests 2000
282       
283        # factors for evaluating split plane costs
284        Factor {
285                leastRaySplits 1.0
286                balancedRays 1.0
287                pvs 1.0
288        }
289       
290#       Termination {
291#               # parameters used for autopartition
292#               minRays                 100
293#               minPolygons             -1
294#               maxDepth                30
295#               minPvs                  2
296#               #minProbability         0.0001
297#               minProbabilty           0.000
298#               maxRayContribution      0.005
299#               maxCostRatio            0.9
300#               missTolerance           4
301#               #maxAccRayLength        100
302               
303#               maxViewCells            20000
304               
305#               # used for pvs criterium
306#               ct_div_ci 0.0
307#       }
308       
309        splitUseOnlyDrivingAxis false
310       
311        Visualization {
312                # x3d visualization of the split planes
313                exportSplits true
314        }
315       
316}
Note: See TracBrowser for help on using the repository browser.