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

Revision 1267, 8.2 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 ../scripts/viewcells_vienna.xml
263#       filename D:/svn/gametools/GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna-visibility.xml
264#       filename E:/svn/gametools/GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna-visibility.xml.zip
265        filename E:/svn/gametools/GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna-visibility.xml.zip
266}
267
268
269Simulation {
270        objRenderCost 1.0
271        vcOverhead 1.0
272        # always between 0 and 1
273        moveSpeed 0.0001
274}
275
276
277VspBspTree {
278        Construction {
279                samples 500000
280                epsilon 0.0000001
281                randomize false
282                renderCostWeight 1.0
283        }
284
285
286        # random polygon       = 1
287        # axis aligned         = 2
288        # least ray splits     = 256
289        # balanced rays        = 512
290        # pvs                  = 1024
291       
292        splitPlaneStrategy 1026
293       
294        # maximal candidates for split planes
295        maxPolyCandidates 0
296
297        usePolygonSplitIfAvailable false
298
299        # maximal tested rays for split cost heuristics
300        maxTests 10000
301       
302        maxTotalMemory  50
303        maxStaticMemory 50
304
305        subdivisionStats ../subdivisionStats.log
306
307        # factors for evaluating split plane costs
308        Factor {
309                leastRaySplits 1.0
310                balancedRays 1.0
311                pvs 1.0
312        }
313       
314        Termination {
315                # parameters used for autopartition
316                minRays                 -15
317                minPolygons             -1
318                maxDepth                25
319                minPvs                  0
320                minProbability          0.000001
321                maxRayContribution      1
322                maxCostRatio            0.9
323                missTolerance           6
324                globalCostMissTolerance 4
325                #minGlobalCostRatio      0.0000001
326                minGlobalCostRatio      0.0001
327                maxViewCells            5000
328       
329
330                # used for pvs criterium
331                ct_div_ci 0.0
332               
333                AxisAligned {
334                        minRays                 50000
335                        maxRayContribution      9.9
336                }
337        }
338       
339        useSplitCostQueue true
340        useCostHeuristics false
341
342        splitUseOnlyDrivingAxis false
343        simulateOctree false
344        useRandomAxis false
345        usePolygonSplitIfAvailable false
346        nodePriorityQueueType 0
347
348        Visualization {
349                # x3d visualization of the split planes
350                exportSplits false
351        }
352}
353
354BspTree {
355        Construction {
356                samples 100000
357                epsilon 0.005
358        }
359
360
361        # random polygon       = 1
362        # axis aligned         = 2
363        # least splits         = 4
364        # balanced polygons    = 8
365        # balanced view cells  = 16
366        # largest polygon area = 32
367        # vertical axis        = 64
368        # blocked rays         = 128
369        # least ray splits     = 256
370        # balanced rays        = 512
371        # pvs                  = 1024
372
373        # least splits + balanced polygons
374        #splitPlaneStrategy 12
375       
376        #axis aligned + vertical axis
377        #splitPlaneStrategy 66
378       
379        # axis aligned + balanced view cells
380        # splitPlaneStrategy 18
381       
382        # largest polygon area
383        #splitPlaneStrategy 32
384       
385        # axus aligned + balanced polygons
386        #splitPlaneStrategy 72
387       
388        # axis aligned + blocked rays
389        #splitPlaneStrategy 130
390       
391        #splitPlaneStrategy 384
392        #splitPlaneStrategy 130
393       
394        splitPlaneStrategy 32
395       
396        maxPolyCandidates 100
397        maxRayCandidates 0
398       
399        maxTests 10000
400       
401        subdivisionStats ../subDivisionStats.log
402
403        # factors for evaluating split plane costs
404        Factor {
405                verticalSplits 1.0
406                largestPolyArea 1.0
407                blockedRays 1.0
408                leastRaySplits 1.0
409                balancedRays 1.0
410                pvs 1.0
411                leastSplits 1.0
412                balancedPolys 1.0
413                balancedViewCells 1.0
414        }
415       
416        Termination {
417                # parameters used for autopartition
418                minRays -1
419                minPolygons 0
420                maxDepth 30
421                minPvs -1
422                minProbability 0.00001
423                maxRayContribution 9999
424                maxViewCells 50000
425
426                # used for pvs criterium
427                ct_div_ci 0.0
428       
429                maxCostRatio 0.9
430               
431                # axis aligned splits
432                AxisAligned {
433                        minPolys 5000
434                        minRays 500
435                        minObjects 10
436                        ct_div_ci 0.5
437                }
438        }
439       
440        AxisAligned {
441                splitBorder 0.01
442        }
443       
444       
445        Visualization {
446                # x3d visualization of the split planes
447                exportSplits false
448        }
449}
Note: See TracBrowser for help on using the repository browser.