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

Revision 2543, 4.6 KB checked in by mattausch, 17 years ago (diff)
RevLine 
[2228]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 {
[2255]18        samplesPerPass 500000
[2228]19        type vss
20        detectEmptyViewSpace true
21        loadMeshes false
[2381]22       
[2228]23        # internal raycaster
[2381]24        #rayCastMethod 0 
[2228]25        # intel raycaster
[2381]26        rayCastMethod 1
27       
[2228]28        exportVisibility false
29        applyVisibilityFilter false
30        applyVisibilitySpatialFilter false
31}
32
33
34RssPreprocessor {
35        distributions mutation+spatial+object_direction
36        #distributions spatial
37
38
39        useImportanceSampling true
40
41        Export {
42                pvs false
43                rssTree false
44        }
45
46        useViewcells true
47        updateSubdivision true
48        loadInitialSamples false
49        storeInitialSamples false
50
51        useRssTree true
52}
53
54
55
56VssTree {
57        useRss          false
58        epsilon         1e-6
59       
60        maxDepth        2
61        minPvs          30
62        minRays         800
63        minSize         0.001
64        maxCostRatio    1.5
65        maxRayContribution 0.5
66               
67        maxTotalMemory  50
68        maxStaticMemory 20
69       
70        splitType regular
71        #       splitType heuristic
72        #       splitType hybrid
73        splitUseOnlyDrivingAxis true
74       
75        interleaveDirSplits     true
76        dirSplitDepth 0
77       
78        numberOfEndPointDomains 10000
79        ct_div_ci       0.0
80        randomize       false
81       
82        refDirBoxMaxSize        0.1
83}
84
85
86Limits {
87       threshold        1e-6
88       small            1e-6
89       infinity         1e9
90}
91
92
93Unigraphics {
94        meshGrouping 1
95}
96
97
98KdTree {
99        sahUseFaces true
100
101        Termination {
102                minCost 0
103                maxDepth 20
104               
105                maxCostRatio 1.5
106                ct_div_ci 0.5
107        }
108
109#       splitMethod spatialMedian
110        splitMethod SAH
111        splitBorder 0.01
112}
113
114MeshKdTree {
115        Termination {
116                minCost 1
117                maxDepth 18
118                maxCostRatio 0.9
119                ct_div_ci 0.5
120        }
121
122#       splitMethod spatialMedian
123        splitMethod SAH
124        splitBorder 0.01
125}
126
127
128ViewCells {
129       
130        # samples used for view cell construction in the merge step
131        Construction {
132                samples 0
133                samplesPerPass 1000000
134        }
135
136        # number of active view cells
137        active 25000
138        maxStaticMemory 40
139
140        exportToFile true
141        loadFromFile false
142
143        #exportPvs true
144
145        # type of view cells
146        type vspOspTree
147       
148        #percentage of total visible objects where pvs is considered invalid
149        maxPvsRatio 1.0
150               
151        processOnlyValidViewCells false
152
153        samplingType box
154
155        PostProcess {
156                # how much samples are used for post processing
157                samples 0
158                maxMergesPerPass 5000
159                useRaysForMerge false
160                refine false
161                compress true
162                merge false
163        }
164
165        Visualization {
166                # how much samples we use for visualization
[2255]167                samples 0
[2228]168                exportRays true
169                exportGeometry true
170                exportMergedViewCells false
171                useClipPlane true
172                clipPlaneAxis 1
173                clipPlanePos 0.3
174                maxOutput 0
175        }
176
[2350]177        showVisualization true
178        #showVisualization false
[2535]179        evaluateViewCells false
[2228]180       
[2535]181       
[2228]182        Evaluation {
[2364]183                samples         80000000
184                samplesForStats 40000000
[2228]185
[2255]186                samplesPerPass  500000
187                stepSize        200
[2228]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
[2255]222        maxTests 500000
[2228]223}
224
225
226
227#
228# The bounding volume hierarchy
229#
230
231BvHierarchy {
232
233        Construction {         
234                renderCostDecreaseWeight 0.999
[2364]235                #renderCostDecreaseWeight 1.0
[2228]236        }
237
238        Termination {
239                maxLeaves 50000000
240        }
241
242        minRaysForVisibility 3
243        #minRaysForVisibility 15
244
245        # use only surface area heuristic
246        useCostHeuristics true
247        #useCostHeuristics false
248        useSah false
249
250        #splitUseOnlyDrivingAxis true
251        splitUseOnlyDrivingAxis false
252
[2255]253        maxTests 500000
[2228]254}
255
256
257###############################################################
258#
259# Manages the construction of view space and object space partition
260#
261
262Hierarchy {
263        # the type of object space partition: view space is always vsp (=kd) partition
264        type bvh
265       
266        Construction {
267
[2543]268                #samples 6000000
269                samples 300000
[2228]270
271                # type 0 = sequential computation, 1 = interleaved, 2 = gradient
272                type 2
273
274                ###############################
275                # only for interleaved method
276
277                # if dirty split candidates are reevaluated
278                repairQueue true
279
280                ###################################################
281
282                # minimal steps of same type: for interleaved, this is only valid for the first few splits
283                minStepsOfSameType 100
[2255]284                maxStepsOfSameType 900
[2228]285
[2255]286                maxRepairs 2000
[2228]287        }
288
289        Termination {
290                # maximal number of leaves
[2543]291                maxLeaves 1000
[2228]292                # maximal memory in MB
[2543]293                #maxMemory 4
[2394]294                maxMemory 35
[2228]295                # minimum ratio of global cost decrease
296                minGlobalCostRatio -1
297        }
298}
Note: See TracBrowser for help on using the repository browser.