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

Revision 1633, 4.8 KB checked in by mattausch, 18 years ago (diff)

worked on gradient method for vsposp

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