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

Revision 535, 5.0 KB checked in by mattausch, 18 years ago (diff)
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 500000
73        vssSamples 10000000
74        vssSamplesPerPass 500000
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
89loadInitialSamples 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 true
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 false
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/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}
208
209
210Simulation {
211        objRenderCost 1.0
212        vcOverhead 1.0
213        # always between 0 and 1
214        moveSpeed 0.0001
215}
216
217
218VspKdTree {
219        epsilon         1e-6
220
221        Construction {
222                samples 300000
223        }
224       
225        Termination {
226                maxDepth                40
227                minPvs                  50
228                minRays                 300
229                minSize                 0.001
230                maxCostRatio            0.9
231                missTolerance           4
232                maxRayContribution      0.5
233        }
234       
235        maxTotalMemory  100
236        maxStaticMemory 50
237
238        splitType       regular
239        #splitType      heuristics
240        splitUseOnlyDrivingAxis true
241        ct_div_ci       0.0
242       
243        # maximal cost for merging a view cell
244        PostProcess {
245                maxCostRatio 0.005
246                minViewCells 200
247                maxPvsSize   50000
248        }
249       
250       
251        Visualization {
252        }
253}
254
255VspBspTree {
256        Construction {
257                samples 500000
258                epsilon 0.005
259                randomize false
260        }
261
262
263        # random polygon       = 1
264        # axis aligned         = 2
265        # least ray splits     = 256
266        # balanced rays        = 512
267        # pvs                  = 1024
268
269        splitPlaneStrategy 1024
270       
271        # maximal candidates for split planes
272        maxPolyCandidates 100
273        maxRayCandidates 100
274       
275        # maximal tested rays for split cost heuristics
276        maxTests 2000
277       
278        # factors for evaluating split plane costs
279        Factor {
280                leastRaySplits 1.0
281                balancedRays 1.0
282                pvs 1.0
283        }
284       
285        Termination {
286                # parameters used for autopartition
287                minRays                 100
288                minPolygons             -1
289                maxDepth                30
290                minPvs                  2
291                #minArea                0.0001
292                minArea                 0.000
293                maxRayContribution      0.005
294                maxCostRatio            0.9
295                missTolerance           4
296                #maxAccRayLength        100
297               
298                maxViewCells            20000
299               
300                # used for pvs criterium
301                ct_div_ci 0.0
302        }
303       
304        splitUseOnlyDrivingAxis false
305       
306        Visualization {
307                # x3d visualization of the split planes
308                exportSplits true
309        }
310       
311        PostProcess {
312                maxCostRatio 0.1
313                minViewCells 500
314                maxPvsSize   1000
315                useRaysForMerge true
316        }
317}
Note: See TracBrowser for help on using the repository browser.