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

Revision 1969, 5.1 KB checked in by mattausch, 17 years ago (diff)

global lines nearly useable!

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