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

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

rss tree tmp changes for regular sampling

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