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

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

rss preprocessor debugging + merge

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