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

Revision 1727, 4.9 KB checked in by mattausch, 18 years ago (diff)

implemented several accelleration svhemes for the gradient method

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 10000
176                samples 50000
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 30000
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        maxTests 30000
223}
224
225
226###############################################################
227#
228# Manages the construction of view space and object space partition
229#
230
231Hierarchy {
232        # the type of object space partition: view space is always vsp (=kd) partition
233        type bvh
234       
235        Construction {
236
237                samples 20000
238
239                # type 0 = sequential computation, 1 = interleaved, 2 = gradient
240                type 1
241
242                # if the object space should be subdivided first (if false, the view space is subdivided first)
243                startWithObjectSpace true
244
245                ###############################
246                # only for interleaved method
247
248                # if dirty split candidates are reevaluated
249                repairQueue true
250
251                # recompute split plane when "repairing" a candidate
252                recomputeSplitPlaneOnRepair true
253
254                ###################################################
255
256                # iterative construction of vs partititon and os partition
257                useMultiLevel false
258
259                # number of iteration steps
260                levels 3
261
262                # minimal steps of same type: for interleaved, this is only valid for the first few splits
263                minStepsOfSameType 100
264
265                # maximal number of repairs
266                maxRepairs 1000
267        }
268
269        Termination {
270                # maximal number of leaves
271                maxLeaves 2000000
272                # maximal memory in MB
273                maxMemory 1
274                # minimum ratio of global cost decrease
275                minGlobalCostRatio -1
276        }
277}
278
279
280VspBspTree {
281        Construction {
282                samples 100000
283        }
284
285        Termination {
286                minPvs 0
287                maxViewCells 1000
288        }
289
290        useCostHeuristics true
291        splitUseOnlyDrivingAxis false
292
293        # maximum number of tests per node
294        maxTests 100000
295}
Note: See TracBrowser for help on using the repository browser.