source: GTP/trunk/Lib/Vis/Preprocessing/scripts/gi_final.env @ 2255

Revision 2255, 4.7 KB checked in by mattausch, 17 years ago (diff)

improved scenemanager config

Line 
1###############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7
8        filename ../data/vienna/vienna_cropped.obj
9#       filename ../data/soda/soda.dat
10#       filename ../data/soda/soda5.dat
11#       filename ../data/artificial/cube_test.x3d
12#       filename ../data/CityModel.obj
13#       filename ../data/arena/arena-low-lods.obj
14}
15
16
17Preprocessor {
18        samplesPerPass 500000
19        type vss
20        detectEmptyViewSpace true
21        loadMeshes false
22        # internal raycaster
23        #rayCastMethod 0 
24        # intel raycaster
25        rayCastMethod 1
26        exportVisibility false
27        applyVisibilityFilter false
28        applyVisibilitySpatialFilter false
29}
30
31
32RssPreprocessor {
33        distributions mutation+spatial+object_direction
34        #distributions spatial
35
36
37        useImportanceSampling true
38
39        Export {
40                pvs false
41                rssTree false
42        }
43
44        useViewcells true
45        updateSubdivision true
46        loadInitialSamples false
47        storeInitialSamples false
48
49        useRssTree true
50}
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 in the merge step
129        Construction {
130                samples 0
131                samplesPerPass 1000000
132        }
133
134        # number of active view cells
135        active 25000
136        maxStaticMemory 40
137
138        exportToFile true
139        loadFromFile false
140
141        #exportPvs true
142
143        # type of view cells
144        type vspOspTree
145       
146        #percentage of total visible objects where pvs is considered invalid
147        maxPvsRatio 1.0
148               
149        processOnlyValidViewCells false
150
151        samplingType box
152
153        PostProcess {
154                # how much samples are used for post processing
155                samples 0
156                maxMergesPerPass 5000
157                useRaysForMerge false
158                refine false
159                compress true
160                merge false
161        }
162
163        Visualization {
164                # how much samples we use for visualization
165                samples 0
166                exportRays true
167                exportGeometry true
168                exportMergedViewCells false
169                useClipPlane true
170                clipPlaneAxis 1
171                clipPlanePos 0.3
172                maxOutput 0
173        }
174
175        #showVisualization true
176        showVisualization false
177        #evaluateViewCells false
178        evaluateViewCells true
179       
180        Evaluation {
181                samples         100000000
182                samplesForStats 100000000
183                #samples          10000000
184                #samplesForStats  10000000
185
186                samplesPerPass  500000
187                stepSize        200
188
189                samplingType box
190
191                histogram true
192                histoStepSize 200
193                histoMem 60
194
195                statsPrefix ../scripts/viewCells
196        }
197}
198
199
200################################
201#
202# View space partitioning kd tree
203#
204
205VspTree {
206        Construction {
207                renderCostDecreaseWeight 0.999
208        }
209
210        Termination {
211                minPvs 0
212                maxViewCells 500000
213        }
214
215        useCostHeuristics true
216        #splitUseOnlyDrivingAxis true
217
218        #useCostHeuristics false
219        splitUseOnlyDrivingAxis false
220
221        # maximum number of tests per node
222        maxTests 500000
223}
224
225
226
227#
228# The bounding volume hierarchy
229#
230
231BvHierarchy {
232
233        Construction {         
234                renderCostDecreaseWeight 0.999
235        }
236
237        Termination {
238                maxLeaves 50000000
239        }
240
241        minRaysForVisibility 3
242        #minRaysForVisibility 15
243
244        # use only surface area heuristic
245        useCostHeuristics true
246        #useCostHeuristics false
247        useSah false
248
249        #splitUseOnlyDrivingAxis true
250        splitUseOnlyDrivingAxis false
251
252        maxTests 500000
253}
254
255
256###############################################################
257#
258# Manages the construction of view space and object space partition
259#
260
261Hierarchy {
262        # the type of object space partition: view space is always vsp (=kd) partition
263        type bvh
264       
265        Construction {
266
267                samples 6000000
268
269                # type 0 = sequential computation, 1 = interleaved, 2 = gradient
270                type 2
271
272                ###############################
273                # only for interleaved method
274
275                # if dirty split candidates are reevaluated
276                repairQueue true
277
278                ###################################################
279
280                # minimal steps of same type: for interleaved, this is only valid for the first few splits
281                minStepsOfSameType 100
282                #maxStepsOfSameType 3000
283                maxStepsOfSameType 900
284
285                maxRepairs 2000
286        }
287
288        Termination {
289                # maximal number of leaves
290                maxLeaves 300000
291#               maxLeaves 6000
292                # maximal memory in MB
293#               maxMemory 4
294                maxMemory 35
295                # minimum ratio of global cost decrease
296                minGlobalCostRatio -1
297        }
298}
Note: See TracBrowser for help on using the repository browser.