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

Revision 438, 4.1 KB checked in by bittner, 19 years ago (diff)

vss updates

Line 
1#############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7
8#       filename 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
15# filename ../data/atlanta/atlanta2.x3d
16# filename ../data/soda/soda.dat
17filename ../data/soda/soda5.dat
18}
19
20Preprocessor {
21#       type sampling
22        type vss
23}
24
25VssPreprocessor {
26        samplesPerPass  100000
27        initialSamples 500000
28        vssSamples 1000000
29        vssSamplesPerPass 50000
30        useImportanceSampling true
31}
32
33VssTree {
34        useRss    false
35        epsilon         1e-6
36
37        maxDepth        40
38        minPvs          3
39        minRays         100
40        minSize         0.001
41        maxCostRatio    2.0
42        maxRayContribution 0.05
43       
44        maxTotalMemory  200
45        maxStaticMemory 100
46
47        splitType regular
48#       splitType heuristic
49#       splitType hybrid
50        splitUseOnlyDrivingAxis true
51
52        interleaveDirSplits     false
53    dirSplitDepth 12
54
55        numberOfEndPointDomains 10000
56        ct_div_ci       0.0
57        randomize       false
58
59        refDirBoxMaxSize        0.1
60}
61
62Limits {
63
64       threshold        1e-6
65       small            1e-6
66       infinity         1e9
67}
68
69Unigraphics {
70                meshGrouping 1
71}
72
73KdTree {
74        sahUseFaces true
75        Termination {
76                minCost 1
77                maxDepth 18
78                maxCostRatio 0.9
79                ct_div_ci 0.5
80        }
81
82#       splitMethod spatialMedian
83        splitMethod SAH
84        splitBorder 0.01
85}
86
87MeshKdTree {
88        Termination {
89                minCost 1
90                maxDepth 18
91                maxCostRatio 0.9
92                ct_div_ci 0.5
93        }
94
95#       splitMethod spatialMedian
96        splitMethod SAH
97        splitBorder 0.01
98}
99
100
101Sampling {
102        totalSamples 10000000
103        samplesPerPass  3
104}
105
106ViewCells {
107        #hierarchy kdTree
108        hierarchy vspTree
109        #hierarchy bspTree
110        # hierarchy sceneDependent
111       
112        height 5.0
113        maxViewCells 0
114       
115        PostProcessing {
116        minPvsDif 100
117                minPvs 10
118                maxPvs 150
119                samples 100000
120        }
121
122       
123#       filename ../data/atlanta/atlanta_viewcells_large.x3d
124        filename ../data/vienna/viewcells-25-sel.x3d
125#       filename ../data/vienna/viewcells-25.x3d
126#       filename ../data/vienna/viewcells-large-sel.x3d
127}
128
129BspTree {
130        Construction {
131                input fromSamples
132        #       input fromViewCells
133        #       input fromSceneGeometry
134                samples 150000
135                sideTolerance 0.005
136        }
137
138
139        # random polygon       = 1
140        # axis aligned         = 2
141        # least splits         = 4
142        # balanced polygons    = 8
143        # balanced view cells  = 16
144        # largest polygon area = 32
145        # vertical axis        = 64
146        # blocked rays         = 128
147        # least ray splits     = 256
148        # balanced rays        = 512
149        # pvs                  = 1024
150
151        # least splits + balanced polygons
152        #splitPlaneStrategy 12
153       
154        #axis aligned + vertical axis
155        #splitPlaneStrategy 66
156       
157        # axis aligned + balanced view cells
158        # splitPlaneStrategy 18
159       
160        # largest polygon area
161        #splitPlaneStrategy 32
162       
163        # axus aligned + balanced polygons
164        #splitPlaneStrategy 72
165       
166        # axis aligned + blocked rays
167        #splitPlaneStrategy 130
168       
169        #splitPlaneStrategy 384
170        #splitPlaneStrategy 130
171       
172        splitPlaneStrategy 12
173       
174        maxPolyCandidates 70
175        maxRayCandidates 100
176       
177        # factors for evaluating split plane costs
178        Factor {
179                verticalSplits 1.0
180                largestPolyArea 1.0
181                blockedRays 1.0
182                leastRaySplits 1.0
183                balancedRays 1.0
184                pvsFactor 1.0
185                leastSplits 1.0
186                balancedPolys 1.0
187                balancedViewCells 1.0
188        }
189       
190        Termination {
191                # parameters used for autopartition
192                minRays 200
193                minPolygons -1
194                maxDepth 40
195                minPvs 35
196                minArea 0.01
197                maxRayContribution 0.005
198                #maxAccRayLength 100
199               
200                # used for pvs criterium
201                ct_div_ci 0.0
202               
203                # axis aligned splits
204                AxisAligned {
205                        minPolys 5000
206                        minRays 500
207                        minObjects 10
208                        maxCostRatio 0.9
209                        ct_div_ci 0.5
210                }
211        }
212       
213        AxisAligned {
214                splitBorder 0.01
215        }
216       
217               
218        Visualization {
219        # x3d visualization of the split planes
220        exportSplits true
221                # how much samples should be used in visualization
222                samples 20000
223        }
224}
225
226Simulation {
227        objRenderCost 1.0
228        vcOverhead 7.0
229        moveSpeed 3.0
230}
231
232
233VspKdTree {
234        epsilon         1e-6
235
236        Construction {
237                samples 500000
238        }
239       
240        Termination {
241                maxDepth        30
242                minPvs          60
243                minRays         1
244                minSize         0.1
245                maxCostRatio    999.0
246                maxRayContribution 0.2
247        }
248       
249        maxTotalMemory  600
250        maxStaticMemory 600
251
252        splitType regular
253#       splitType heuristics
254        ct_div_ci       0.0
255}
Note: See TracBrowser for help on using the repository browser.