source: GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.env @ 2069

Revision 2069, 4.3 KB checked in by mattausch, 17 years ago (diff)
Line 
1##############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7        filename ../data/vienna/vienna_cropped.obj
8#       filename ../data/soda/soda5.obj
9#       filename ../data/soda/soda5.dat
10}
11
12
13Preprocessor {
14samplesPerPass 6000000
15        useGlRenderer false
16        type vss
17        detectEmptyViewSpace true
18        #loadMeshes true
19        loadMeshes false
20        # internal raycaster
21        #rayCastMethod 0
22        # intel raycaster
23        rayCastMethod 1
24        exportVisibility false
25        loadKdTree false
26        exportKdTree false
27#       exportObj true
28        applyVisibilityFilter false
29        applyVisibilitySpatialFilter false
30}
31
32
33VssPreprocessor {
34        useImportanceSampling true
35        loadInitialSamples  false
36        storeInitialSamples false
37}
38
39
40VssTree {
41        useRss    false
42        epsilon         1e-6
43       
44        maxDepth        2
45        minPvs          30
46        minRays         800
47        minSize         0.001
48        maxCostRatio    1.5
49        maxRayContribution 0.5
50               
51        maxTotalMemory  50
52        maxStaticMemory 20
53       
54        splitType regular
55        #       splitType heuristic
56        #       splitType hybrid
57        splitUseOnlyDrivingAxis true
58       
59        interleaveDirSplits     true
60        dirSplitDepth 0
61       
62        numberOfEndPointDomains 10000
63        ct_div_ci       0.0
64        randomize       false
65       
66        refDirBoxMaxSize        0.1
67}
68
69
70Limits {
71       threshold        1e-6
72       small            1e-6
73       infinity         1e9
74}
75
76
77Unigraphics {
78        meshGrouping 1
79}
80
81
82KdTree {
83        sahUseFaces true
84
85        Termination {
86                minCost 0
87                maxDepth 20
88               
89                maxCostRatio 1.5
90                #maxCostRatio 999999
91                ct_div_ci 0.5
92        }
93
94#       splitMethod spatialMedian
95        splitMethod SAH
96        splitBorder 0.01
97}
98
99
100MeshKdTree {
101        Termination {
102                minCost 1
103                maxDepth 18
104                maxCostRatio 0.9
105                ct_div_ci 0.5
106        }
107
108#       splitMethod spatialMedian
109        splitMethod SAH
110        splitBorder 0.01
111}
112
113
114ViewCells {
115       
116        # samples used for view cell construction
117        # (after the sampling used for the hierarchy)
118        Construction {
119                samples 0
120                samplesPerPass 1000000
121        }
122
123        # number of active view cells
124        active 50000
125        maxStaticMemory 40
126
127        exportToFile true
128        loadFromFile false
129
130        exportPvs false
131        filename vienna_cropped-visibility.xml.gz
132
133        # type of view cells
134        type vspBspTree
135       
136        #percentage of total visible objects where pvs is considered invalid
137        maxPvsRatio 1.0
138               
139        processOnlyValidViewCells false
140
141        #samplingType object_directional
142        #samplingType directional
143        samplingType box
144        #samplingType reverse_object
145        #samplingType object
146
147        PostProcess {
148                # how much samples are used for post processing
149                samples 0
150                maxMergesPerPass 5000
151                useRaysForMerge false
152                refine false
153                compress false
154                merge false
155        }
156
157        Visualization {
158                # how much samples we use for visualization
159                samples 20000
160                exportRays true
161                exportGeometry false
162                exportMergedViewCells false
163                useClipPlane true
164                clipPlaneAxis 1
165                clipPlanePos 0.3
166                maxOutput 2
167        }
168
169        showVisualization true
170        #showVisualization false
171        evaluateViewCells false
172       
173        Evaluation {
174                samples         80000000
175                samplesForStats 80000000
176                samplesPerPass  2000000
177
178                stepSize        500
179
180                #samplingType object_directional
181                #samplingType reverse_object
182                #samplingType object
183                samplingType box
184
185                statsPrefix ../scripts/viewCells
186        }
187}
188
189
190VspBspTree {
191        Construction {
192                samples 900000
193                epsilon 0.0000001
194                randomize false
195                renderCostWeight 1.0
196        }
197
198
199        # random polygon       = 1
200        # axis aligned         = 2
201        # least ray splits     = 256
202        # balanced rays        = 512
203        # pvs                  = 1024
204       
205        splitPlaneStrategy 1026
206       
207        # maximal candidates for split planes
208        maxPolyCandidates 0
209
210        usePolygonSplitIfAvailable false
211
212        # maximal tested rays for split cost heuristics
213        maxTests 100000
214       
215        maxTotalMemory  50
216        maxStaticMemory 50
217
218        subdivisionStats ../subdivisionStats.log
219
220        # factors for evaluating split plane costs
221        Factor {
222                leastRaySplits 1.0
223                balancedRays 1.0
224                pvs 1.0
225        }
226       
227        Termination {
228                # parameters used for autopartition
229                minRays                 -1
230                minPolygons             -1
231                maxDepth                25
232                minPvs                  0
233                minProbability          0.000001
234                maxRayContribution      1
235                maxCostRatio            0.9
236                missTolerance           6
237                globalCostMissTolerance 4
238                minGlobalCostRatio      0.0001
239
240                maxViewCells            6000
241       
242                # used for pvs criterium
243                ct_div_ci 0.0
244               
245                AxisAligned {
246                        minRays                 50000
247                        maxRayContribution      9.9
248                }
249        }
250       
251        useSplitCostQueue true
252
253        splitUseOnlyDrivingAxis false
254        simulateOctree false
255        useRandomAxis false
256        usePolygonSplitIfAvailable false
257        nodePriorityQueueType 0
258
259        useCostHeuristics true
260
261        Visualization {
262                # x3d visualization of the split planes
263                exportSplits false
264        }
265}
Note: See TracBrowser for help on using the repository browser.