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

Revision 2073, 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
8        filename ../data/vienna/vienna_cropped.obj
9#       filename ../data/soda/soda5.dat
10}
11
12
13Preprocessor {
14        samplesPerPass 3000000
15        useGlRenderer false
16        type vss
17        detectEmptyViewSpace 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 1.5
89                ct_div_ci 0.5
90        }
91
92#       splitMethod spatialMedian
93        splitMethod SAH
94        splitBorder 0.01
95}
96
97MeshKdTree {
98        Termination {
99                minCost 1
100                maxDepth 18
101                maxCostRatio 0.9
102                ct_div_ci 0.5
103        }
104
105#       splitMethod spatialMedian
106        splitMethod SAH
107        splitBorder 0.01
108}
109
110
111ViewCells {
112       
113        # samples used for view cell construction
114        # (after the sampling used for the hierarchy)
115        Construction {
116                samples 0
117                samplesPerPass 1000000
118        }
119
120        # number of active view cells
121        active 50000
122        maxStaticMemory 40
123
124        exportToFile true
125        loadFromFile false
126
127        filename vienna_cropped-viewcells.xml.gz
128
129        exportPvs false
130
131        # type of view cells
132        type vspOspTree
133       
134        #percentage of total visible objects where pvs is considered invalid
135        maxPvsRatio 1.0
136               
137        processOnlyValidViewCells false
138
139        #samplingType object_directional
140        #samplingType directional
141        samplingType box
142        #samplingType reverse_object
143        #samplingType object
144
145        PostProcess {
146                # how much samples are used for post processing
147                samples 0
148                maxMergesPerPass 5000
149                useRaysForMerge false
150                refine false
151                compress false
152                merge false
153        }
154
155        Visualization {
156                # how much samples we use for visualization
157                samples 200
158                exportRays true
159                exportGeometry true
160                exportMergedViewCells false
161                useClipPlane true
162                clipPlaneAxis 1
163                clipPlanePos 0.3
164                maxOutput 2
165        }
166
167        #showVisualization true
168        showVisualization false
169        evaluateViewCells false
170       
171        Evaluation {
172                samples         80000000
173                samplesForStats 80000000
174                samplesPerPass  2000000
175
176                stepSize        500
177
178                #samplingType object_directional
179                #samplingType reverse_object
180                #samplingType object
181                samplingType box
182
183                statsPrefix ../scripts/viewCells
184        }
185}
186
187
188################################
189#
190# View space partitioning kd tree
191#
192
193VspTree {
194        Construction {
195                renderCostDecreaseWeight 1.0
196        }
197
198        Termination {
199                minPvs 0
200                maxViewCells 5000
201        }
202
203        useCostHeuristics true
204        splitUseOnlyDrivingAxis false
205
206        # maximum number of tests per node
207        maxTests 50000
208}
209
210
211##########################
212#
213# The bounding volume hierarchy
214#
215
216BvHierarchy {
217
218        Construction {         
219                renderCostDecreaseWeight 1.0
220        }
221
222        Termination {
223                maxLeaves 50000
224        }
225
226        minRaysForVisibility 15
227
228        # use only surface area heuristic       
229        useCostHeuristics true
230        useSah false
231
232        splitUseOnlyDrivingAxis false
233
234        maxTests 50000
235}
236
237
238###############################################################
239#
240# Manages the construction of view space and object space partition
241#
242
243Hierarchy {
244        # the type of object space partition: view space is always vsp (=kd) partition
245        type bvh
246       
247        Construction {
248
249                samples 1500000
250
251                # type 0 = sequential computation, 1 = interleaved, 2 = gradient
252                type 0
253
254                ###############################
255                # only for interleaved method
256
257                # minimal steps of same type for gradient method
258                minStepsOfSameType 100
259                # maximum steps of same type for gradient method
260                maxStepsOfSameType 900
261
262                # maximum number of repair steps per gradient step
263                maxRepairs 1000
264        }
265
266        Termination {
267                # maximal number of leaves
268                maxLeaves 3000000
269                # maximal memory in MB
270                maxMemory 100
271                # minimum ratio of global cost decrease
272                minGlobalCostRatio -1
273        }
274}
Note: See TracBrowser for help on using the repository browser.