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

Revision 1277, 8.0 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        processOnlyValidViewCells false
208
209        #stats viewCellStats.log
210
211        #samplingType directional
212        samplingType box
213
214        PostProcess {
215                # how much samples are used for post processing
216                samples 0
217                renderCostWeight 1.0
218                maxCostRatio 0.1
219                minViewCells 1
220                avgCostMaxDeviation 0.01
221                maxMergesPerPass 5000
222                useRaysForMerge false
223                compress false
224                merge true
225        }
226
227        Visualization {
228                # how much samples we use for visualization
229                samples 0
230                #colorCode PVS
231                #colorCode MergedLeaves
232                #colorCode MergedTreeDiff
233                colorCode Random
234                exportRays false
235                exportGeometry true
236                exportMergedViewCells false
237                useClipPlane true
238                clipPlaneAxis 1
239                clipPlanePos  0.3
240        }
241
242        showVisualization true
243        evaluateViewCells false
244       
245        Evaluation {
246                samplesPerPass 1000000
247                samples 1000000
248                statsPrefix ../scripts/viewCells
249                #samplingType directional
250                samplingType box
251                histogram true
252                histoStepSize 5000
253        }
254
255#       filename ../data/atlanta/atlanta_viewcells_large.x3d
256#       filename ../data/vienna/viewcells-25-sel.x3d
257#       filename ../data/vienna/viewcells-25.x3d
258#       filename ../data/vienna/viewcells-large-sel.x3d
259        filename D:/svn/gametools/GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna-visibility.xml.zip
260#       filename ../scripts/vienna-visibility.xml.zip
261}
262
263
264Simulation {
265        objRenderCost 1.0
266        vcOverhead 1.0
267        # always between 0 and 1
268        moveSpeed 0.0001
269}
270
271
272VspBspTree {
273        Construction {
274                samples 500000
275                epsilon 0.0000001
276                randomize false
277                renderCostWeight 1.0
278        }
279
280
281        # random polygon       = 1
282        # axis aligned         = 2
283        # least ray splits     = 256
284        # balanced rays        = 512
285        # pvs                  = 1024
286       
287        splitPlaneStrategy 1026
288       
289        # maximal candidates for split planes
290        maxPolyCandidates 0
291
292        usePolygonSplitIfAvailable false
293
294        # maximal tested rays for split cost heuristics
295        maxTests 10000
296       
297        maxTotalMemory  50
298        maxStaticMemory 50
299
300        subdivisionStats ../subdivisionStats.log
301
302        # factors for evaluating split plane costs
303        Factor {
304                leastRaySplits 1.0
305                balancedRays 1.0
306                pvs 1.0
307        }
308       
309        Termination {
310                # parameters used for autopartition
311                minRays                 -15
312                minPolygons             -1
313                maxDepth                25
314                minPvs                  0
315                minProbability          0.000001
316                maxRayContribution      1
317                maxCostRatio            0.9
318                missTolerance           6
319                globalCostMissTolerance 4
320                #minGlobalCostRatio      0.0000001
321                minGlobalCostRatio      0.0001
322                maxViewCells            5000
323       
324
325                # used for pvs criterium
326                ct_div_ci 0.0
327               
328                AxisAligned {
329                        minRays                 50000
330                        maxRayContribution      9.9
331                }
332        }
333       
334        useSplitCostQueue true
335        useCostHeuristics false
336
337        splitUseOnlyDrivingAxis false
338        simulateOctree false
339        useRandomAxis false
340        usePolygonSplitIfAvailable false
341        nodePriorityQueueType 0
342
343        Visualization {
344                # x3d visualization of the split planes
345                exportSplits false
346        }
347}
348
349BspTree {
350        Construction {
351                samples 100000
352                epsilon 0.005
353        }
354
355
356        # random polygon       = 1
357        # axis aligned         = 2
358        # least splits         = 4
359        # balanced polygons    = 8
360        # balanced view cells  = 16
361        # largest polygon area = 32
362        # vertical axis        = 64
363        # blocked rays         = 128
364        # least ray splits     = 256
365        # balanced rays        = 512
366        # pvs                  = 1024
367
368        # least splits + balanced polygons
369        #splitPlaneStrategy 12
370       
371        #axis aligned + vertical axis
372        #splitPlaneStrategy 66
373       
374        # axis aligned + balanced view cells
375        # splitPlaneStrategy 18
376       
377        # largest polygon area
378        #splitPlaneStrategy 32
379       
380        # axus aligned + balanced polygons
381        #splitPlaneStrategy 72
382       
383        # axis aligned + blocked rays
384        #splitPlaneStrategy 130
385       
386        #splitPlaneStrategy 384
387        #splitPlaneStrategy 130
388       
389        splitPlaneStrategy 32
390       
391        maxPolyCandidates 100
392        maxRayCandidates 0
393       
394        maxTests 10000
395       
396        subdivisionStats ../subDivisionStats.log
397
398        # factors for evaluating split plane costs
399        Factor {
400                verticalSplits 1.0
401                largestPolyArea 1.0
402                blockedRays 1.0
403                leastRaySplits 1.0
404                balancedRays 1.0
405                pvs 1.0
406                leastSplits 1.0
407                balancedPolys 1.0
408                balancedViewCells 1.0
409        }
410       
411        Termination {
412                # parameters used for autopartition
413                minRays -1
414                minPolygons 0
415                maxDepth 30
416                minPvs -1
417                minProbability 0.00001
418                maxRayContribution 9999
419                maxViewCells 50000
420
421                # used for pvs criterium
422                ct_div_ci 0.0
423       
424                maxCostRatio 0.9
425               
426                # axis aligned splits
427                AxisAligned {
428                        minPolys 5000
429                        minRays 500
430                        minObjects 10
431                        ct_div_ci 0.5
432                }
433        }
434       
435        AxisAligned {
436                splitBorder 0.01
437        }
438       
439       
440        Visualization {
441                # x3d visualization of the split planes
442                exportSplits false
443        }
444}
Note: See TracBrowser for help on using the repository browser.