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

Revision 1654, 4.9 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################################
183#
184# View space partitioning kd tree
185#
186
187VspTree {
188        Construction {
189        }
190
191        Termination {
192                minPvs 0
193                maxViewCells 500000
194        }
195
196        useCostHeuristics true
197        splitUseOnlyDrivingAxis false
198
199        # maximum number of tests per node
200        maxTests 100000
201}
202
203
204##########################
205#
206# The bounding volume hierarchy
207#
208
209BvHierarchy {
210
211        Construction {
212               
213        }
214
215        Termination {
216                maxLeaves 500000
217        }
218
219        useCostHeuristics true
220        splitUseOnlyDrivingAxis false
221}
222
223
224###############################################################
225#
226# Manages the construction of view space and object space partition
227#
228
229Hierarchy {
230        # the type of object space partition: view space is always vsp (=kd) partition
231        type bvh
232       
233        Construction {
234
235                samples 200000
236
237                # type 0 = sequential computation, 1 = interleaved, 2 = gradient
238                type 1
239
240                # if the object space should be subdivided first (if false, the view space is subdivided first)
241                startWithObjectSpace true
242
243                ###############################
244                # only for interleaved method
245
246                # if dirty split candidates are reevaluated
247                repairQueue true
248
249                # recompute split plane when "repairing" a candidate
250                recomputeSplitPlaneOnRepair true
251
252                ###################################################
253
254                # iterative construction of vs partititon and os partition
255                useMultiLevel false
256
257                # number of iteration steps
258                levels 3
259
260                # minimal steps of same type: for interleaved, this is only valid for the first few splits
261                minStepsOfSameType 100
262        }
263
264        Termination {
265                # maximal number of leaves
266                maxLeaves 2000000
267                # maximal memory in MB
268                maxMemory 1
269                # minimum ratio of global cost decrease
270                minGlobalCostRatio -1
271        }
272}
273
274
275VspBspTree {
276        Construction {
277                samples 100000
278        }
279
280        Termination {
281                minPvs 0
282                maxViewCells 1000
283        }
284
285        useCostHeuristics true
286        splitUseOnlyDrivingAxis false
287
288        # maximum number of tests per node
289        maxTests 100000
290}
Note: See TracBrowser for help on using the repository browser.