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

Revision 1269, 8.1 KB checked in by mattausch, 18 years ago (diff)
Line 
1#############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7#       filename glasgow1.x3d
8#       filename vienna.x3d
9#       filename ../data/vienna/vienna-simple.x3d
10#       filename ../data/vienna/vienna-buildings.x3d
11        filename ../data/vienna/city1500_flat_1.x3d
12#       filename ../data/vienna/vienna-buildings.x3d;../data/vienna-roads.x3d;../data/vienna/vienna-roofs.x3d
13#filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d
14filename ../data/vienna/city1500_flat_1.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d
15#filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d
16#filename ../data/vienna/city1500_flat_1.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d
17#       filename ../data/vienna/viewcells-25-sel.x3d
18#       filename ../data/atlanta/atlanta2.x3d
19#       filename ../data/soda/soda.dat
20#       filename ../data/soda/soda5.dat
21}
22
23Preprocessor {
24        # stored sample rays
25        samplesFilename rays.out
26        useGlRenderer false
27#       type sampling
28        type vss
29#       type rss
30        detectEmptyViewSpace true
31        loadPolygonsAsMeshes false
32        applyVisibilityFilter true
33        applyVisibilitySpatialFilter true
34}
35
36VssPreprocessor {
37        samplesPerPass  100000
38        initialSamples 0
39        vssSamples 0
40        vssSamplesPerPass 500000
41        useImportanceSampling true
42        loadInitialSamples  false
43        storeInitialSamples false
44        useViewSpaceBox false
45#       testBeamSampling true
46}
47
48
49SamplingPreprocessor {
50        totalSamples 500000
51        samplesPerPass  3
52}
53
54
55VssTree {
56        useRss    false
57        epsilon         1e-6
58       
59        maxDepth        40
60        minPvs          30
61        minRays         800
62        minSize         0.001
63        maxCostRatio    1.5
64        maxRayContribution 0.5
65               
66        maxTotalMemory  50
67        maxStaticMemory 20
68       
69        splitType regular
70        #       splitType heuristic
71        #       splitType hybrid
72        splitUseOnlyDrivingAxis true
73       
74        interleaveDirSplits     true
75    dirSplitDepth 0
76       
77        numberOfEndPointDomains 10000
78        ct_div_ci       0.0
79        randomize       false
80       
81        refDirBoxMaxSize        0.1
82}
83
84RssPreprocessor {
85        samplesPerPass  100000
86        #initialSamples 500000
87        #vssSamples 10000000
88        #for view cell construction
89        initialSamples 0
90        vssSamples 0
91        vssSamplesPerPass 500000
92        useImportanceSampling true
93
94        directionalSampling true
95        objectBasedSampling false
96
97        Export {
98                pvs false
99                rssTree false
100                rays true
101                numRays 5000
102        }
103
104        useViewcells true
105        updateSubdivision true
106        loadInitialSamples false
107        storeInitialSamples false
108}
109
110
111RssTree {
112
113        epsilon         1e-6
114
115        maxDepth        40
116        minPvs          3
117        minRays         30
118        minSize         0.001
119        maxCostRatio 1.0
120        maxRayContribution 0.5
121        maxRays         1000000
122        maxTotalMemory  200
123        maxStaticMemory 100
124
125#       splitType regular
126#       splitType heuristic
127        splitType hybrid
128        splitUseOnlyDrivingAxis true
129        importanceBasedCost false
130
131        interleaveDirSplits     true
132    dirSplitDepth 0
133
134        numberOfEndPointDomains 10000
135        ct_div_ci       0.0
136        randomize       false
137
138        refDirBoxMaxSize        0.1
139}
140
141Limits {
142
143       threshold        1e-6
144       small            1e-6
145       infinity         1e9
146}
147
148Unigraphics {
149                meshGrouping 1
150}
151
152KdTree {
153        sahUseFaces true
154        Termination {
155                minCost 1
156                maxDepth 18
157                maxCostRatio 0.9
158                ct_div_ci 0.5
159        }
160
161#       splitMethod spatialMedian
162        splitMethod SAH
163        splitBorder 0.01
164}
165
166MeshKdTree {
167        Termination {
168                minCost 1
169                maxDepth 18
170                maxCostRatio 0.9
171                ct_div_ci 0.5
172        }
173
174#       splitMethod spatialMedian
175        splitMethod SAH
176        splitBorder 0.01
177}
178
179
180
181ViewCells {
182        # samples used for view cell construction
183        Construction {
184                samples 0
185                samplesPerPass 1500000
186        }
187
188        #number of active view cells
189        active 200000
190        maxStaticMemory 40
191
192        exportToFile true
193        loadFromFile false
194
195        #type kdTree
196        #type vspKdTree
197        #type bspTree
198        type vspBspTree
199        #type sceneDependent
200       
201        height 5.0
202        maxViewCells 3000
203
204        #percentage of total visible objects where pvs is considered invalid
205        maxPvsRatio 1.0
206               
207        pruneEmptyViewCells false
208        processOnlyValidViewCells false
209
210        #stats viewCellStats.log
211
212        #samplingType directional
213        samplingType box
214
215        PostProcess {
216                # how much samples are used for post processing
217                samples 0
218                renderCostWeight 1.0
219                maxCostRatio 0.1
220                minViewCells 1
221                avgCostMaxDeviation 0.01
222                maxMergesPerPass 5000
223                useRaysForMerge false
224                refine false
225                compress false
226                merge true
227                emptyViewCellsMerge false
228        }
229
230        Visualization {
231                # how much samples we use for visualization
232                samples 0
233                #colorCode PVS
234                #colorCode MergedLeaves
235                #colorCode MergedTreeDiff
236                colorCode Random
237                exportRays false
238                exportGeometry true
239                exportMergedViewCells false
240                useClipPlane true
241                clipPlaneAxis 1
242                clipPlanePos  0.3
243        }
244
245        showVisualization true
246        evaluateViewCells false
247       
248        Evaluation {
249                samplesPerPass 1000000
250                samples 1000000
251                statsPrefix ../scripts/viewCells
252                #samplingType directional
253                samplingType box
254                histogram true
255                histoPasses 5000
256        }
257
258#       filename ../data/atlanta/atlanta_viewcells_large.x3d
259#       filename ../data/vienna/viewcells-25-sel.x3d
260#       filename ../data/vienna/viewcells-25.x3d
261#       filename ../data/vienna/viewcells-large-sel.x3d
262        filename D:/svn/gametools/GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna-visibility.xml.zip
263#       filename ../scripts/vienna-visibility.xml.zip
264}
265
266
267Simulation {
268        objRenderCost 1.0
269        vcOverhead 1.0
270        # always between 0 and 1
271        moveSpeed 0.0001
272}
273
274
275VspBspTree {
276        Construction {
277                samples 500000
278                epsilon 0.0000001
279                randomize false
280                renderCostWeight 1.0
281        }
282
283
284        # random polygon       = 1
285        # axis aligned         = 2
286        # least ray splits     = 256
287        # balanced rays        = 512
288        # pvs                  = 1024
289       
290        splitPlaneStrategy 1026
291       
292        # maximal candidates for split planes
293        maxPolyCandidates 0
294
295        usePolygonSplitIfAvailable false
296
297        # maximal tested rays for split cost heuristics
298        maxTests 10000
299       
300        maxTotalMemory  50
301        maxStaticMemory 50
302
303        subdivisionStats ../subdivisionStats.log
304
305        # factors for evaluating split plane costs
306        Factor {
307                leastRaySplits 1.0
308                balancedRays 1.0
309                pvs 1.0
310        }
311       
312        Termination {
313                # parameters used for autopartition
314                minRays                 -15
315                minPolygons             -1
316                maxDepth                25
317                minPvs                  0
318                minProbability          0.000001
319                maxRayContribution      1
320                maxCostRatio            0.9
321                missTolerance           6
322                globalCostMissTolerance 4
323                #minGlobalCostRatio      0.0000001
324                minGlobalCostRatio      0.0001
325                maxViewCells            5000
326       
327
328                # used for pvs criterium
329                ct_div_ci 0.0
330               
331                AxisAligned {
332                        minRays                 50000
333                        maxRayContribution      9.9
334                }
335        }
336       
337        useSplitCostQueue true
338        useCostHeuristics false
339
340        splitUseOnlyDrivingAxis false
341        simulateOctree false
342        useRandomAxis false
343        usePolygonSplitIfAvailable false
344        nodePriorityQueueType 0
345
346        Visualization {
347                # x3d visualization of the split planes
348                exportSplits false
349        }
350}
351
352BspTree {
353        Construction {
354                samples 100000
355                epsilon 0.005
356        }
357
358
359        # random polygon       = 1
360        # axis aligned         = 2
361        # least splits         = 4
362        # balanced polygons    = 8
363        # balanced view cells  = 16
364        # largest polygon area = 32
365        # vertical axis        = 64
366        # blocked rays         = 128
367        # least ray splits     = 256
368        # balanced rays        = 512
369        # pvs                  = 1024
370
371        # least splits + balanced polygons
372        #splitPlaneStrategy 12
373       
374        #axis aligned + vertical axis
375        #splitPlaneStrategy 66
376       
377        # axis aligned + balanced view cells
378        # splitPlaneStrategy 18
379       
380        # largest polygon area
381        #splitPlaneStrategy 32
382       
383        # axus aligned + balanced polygons
384        #splitPlaneStrategy 72
385       
386        # axis aligned + blocked rays
387        #splitPlaneStrategy 130
388       
389        #splitPlaneStrategy 384
390        #splitPlaneStrategy 130
391       
392        splitPlaneStrategy 32
393       
394        maxPolyCandidates 100
395        maxRayCandidates 0
396       
397        maxTests 10000
398       
399        subdivisionStats ../subDivisionStats.log
400
401        # factors for evaluating split plane costs
402        Factor {
403                verticalSplits 1.0
404                largestPolyArea 1.0
405                blockedRays 1.0
406                leastRaySplits 1.0
407                balancedRays 1.0
408                pvs 1.0
409                leastSplits 1.0
410                balancedPolys 1.0
411                balancedViewCells 1.0
412        }
413       
414        Termination {
415                # parameters used for autopartition
416                minRays -1
417                minPolygons 0
418                maxDepth 30
419                minPvs -1
420                minProbability 0.00001
421                maxRayContribution 9999
422                maxViewCells 50000
423
424                # used for pvs criterium
425                ct_div_ci 0.0
426       
427                maxCostRatio 0.9
428               
429                # axis aligned splits
430                AxisAligned {
431                        minPolys 5000
432                        minRays 500
433                        minObjects 10
434                        ct_div_ci 0.5
435                }
436        }
437       
438        AxisAligned {
439                splitBorder 0.01
440        }
441       
442       
443        Visualization {
444                # x3d visualization of the split planes
445                exportSplits false
446        }
447}
Note: See TracBrowser for help on using the repository browser.