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

Revision 2065, 4.2 KB checked in by mattausch, 17 years ago (diff)

debug version: something wrong with the pvs!

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