source: GTP/trunk/Lib/Vis/Preprocessing/scripts/vsposp_typical.env @ 1643

Revision 1643, 4.8 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 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-roofs.x3d
13#       filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d
14#;../data/vienna/vienna-plane.x3d
15#       filename ../data/vienna/viewcells-25-sel.x3d
16#       filename ../data/atlanta/atlanta2.x3d
17#       filename ../data/soda/soda.dat
18        filename ../data/soda/soda5.dat
19#       filename ../data/artificial/cube_test.x3d
20#       filename ../data/grandcanyon1_RotXmin90.obj
21#       filename ../data/CityModel.obj
22}
23
24
25Preprocessor {
26        samplesFilename rays.out
27#       useGlRenderer true
28        useGlRenderer false
29        type vss
30        detectEmptyViewSpace true
31        loadMeshes false
32        # internal raycaster
33        rayCastMethod 0
34        exportVisibility false
35        loadKdTree false
36        exportKdTree false
37}
38
39
40VssPreprocessor {
41        initialSamples 0
42        vssSamples 0
43        useImportanceSampling true
44        loadInitialSamples  false
45        storeInitialSamples false
46        useViewSpaceBox false
47}
48
49
50VssTree {
51        useRss    false
52        epsilon         1e-6
53       
54        maxDepth        2
55        minPvs          30
56        minRays         800
57        minSize         0.001
58        maxCostRatio    1.5
59        maxRayContribution 0.5
60               
61        maxTotalMemory  50
62        maxStaticMemory 20
63       
64        splitType regular
65        #       splitType heuristic
66        #       splitType hybrid
67        splitUseOnlyDrivingAxis true
68       
69        interleaveDirSplits     true
70    dirSplitDepth 0
71       
72        numberOfEndPointDomains 10000
73        ct_div_ci       0.0
74        randomize       false
75       
76        refDirBoxMaxSize        0.1
77}
78
79
80Limits {
81       threshold        1e-6
82       small            1e-6
83       infinity         1e9
84}
85
86
87Unigraphics {
88        meshGrouping 1
89}
90
91
92KdTree {
93        sahUseFaces true
94
95        Termination {
96                minCost 0
97                maxDepth 20
98               
99                maxCostRatio 1.5
100                ct_div_ci 0.5
101        }
102
103#       splitMethod spatialMedian
104        splitMethod SAH
105        splitBorder 0.01
106}
107
108MeshKdTree {
109        Termination {
110                minCost 1
111                maxDepth 18
112                maxCostRatio 0.9
113                ct_div_ci 0.5
114        }
115
116#       splitMethod spatialMedian
117        splitMethod SAH
118        splitBorder 0.01
119}
120
121
122ViewCells {
123       
124        # samples used for view cell construction
125        # (after the sampling used for the hierarchy)
126        Construction {
127                samples 0
128                samplesPerPass 1000000
129        }
130
131        # number of active view cells
132        active 25000
133        maxStaticMemory 40
134
135        exportToFile false
136        loadFromFile false
137
138        type vspOspTree
139       
140        #percentage of total visible objects where pvs is considered invalid
141        maxPvsRatio 1.0
142               
143        processOnlyValidViewCells false
144
145        #stats viewCellStats.log
146        #samplingType directional
147        samplingType box
148
149        PostProcess {
150                # how much samples are used for post processing
151                samples 0
152                maxMergesPerPass 5000
153                useRaysForMerge false
154                refine false
155                compress false
156                merge false
157        }
158
159        Visualization {
160                # how much samples we use for visualization
161                samples 200
162                exportRays true
163                exportGeometry true
164                exportMergedViewCells false
165                useClipPlane true
166                clipPlaneAxis 1
167                clipPlanePos 0.3
168                maxOutput 2
169        }
170
171        showVisualization true
172        evaluateViewCells true
173       
174        Evaluation {
175                samplesPerPass 100000
176                samples 100000
177                statsPrefix ../scripts/viewCells
178        }
179}
180
181################################
182# View space partitioning kd tree
183
184VspTree {
185        Construction {
186        }
187
188        Termination {
189                minPvs 0
190                maxViewCells 500000
191        }
192
193        useCostHeuristics true
194        splitUseOnlyDrivingAxis false
195
196        # maximum number of tests per node
197        maxTests 100000
198}
199
200##########################
201# The bounding volume hierarchy
202
203BvHierarchy {
204
205        Construction {
206               
207        }
208
209        Termination {
210                maxLeaves 500000
211        }
212
213        useCostHeuristics true
214        splitUseOnlyDrivingAxis false
215}
216
217
218##########################
219# Manages the construction of view space and object space partition
220
221Hierarchy {
222        # the type of object space partition: view space is always vsp (=kd) partition
223        type bvh
224       
225        Construction {
226
227                samples 200000
228
229                # type 0 = sequential computation, 1 = interleaved, 2 = gradient
230                type 1
231
232                # if the object space should be subdivided first (if false, the view space is subdivided first)
233                startWithObjectSpace true
234
235                ###############################
236                # only for interleaved method
237
238                # if dirty split candidates are reevaluated
239                repairQueue true
240
241                # recompute split plane when "repairing" a candidate
242                recomputeSplitPlaneOnRepair false
243
244                ###################################################
245
246                # iterative construction of vs partititon and os partition
247                useMultiLevel false
248
249                # number of iteration steps
250                levels 3
251
252                # minimal steps of same type: for interleaved, this is only valid for the first few splits
253                minStepsOfSameType 200
254        }
255
256        Termination {
257                # maximal number of leaves
258                maxLeaves 1000
259                # minimum ratio of global cost decrease
260                minGlobalCostRatio -1
261        }
262}
263
264
265VspBspTree {
266        Construction {
267                samples 100000
268        }
269
270        Termination {
271                minPvs 0
272                maxViewCells 1000
273        }
274
275        useCostHeuristics true
276        splitUseOnlyDrivingAxis false
277
278        # maximum number of tests per node
279        maxTests 100000
280}
Note: See TracBrowser for help on using the repository browser.