source: GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocess_visibility.env @ 886

Revision 886, 5.1 KB checked in by bittner, 18 years ago (diff)

Spatial visibility filter

  • Property svn:executable set to *
Line 
1############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7
8# filename ../data/glasgow/glasgow1.x3d
9#       filename vienna.x3d
10# filename ../data/vienna/vienna-simple.x3d
11#filename ../data/vienna/vienna-buildings.x3d
12#filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-plane.x3d;../data/vienna/vienna-roads.x3d
13# filename ../data/vienna/viewcells-25-sel.x3d
14#filename ../data/atlanta/atlanta2.x3d
15filename ../data/soda/soda.dat
16#filename ../data/soda/soda5.dat
17#filename ../data/PowerPlant/ppsection1/part_a/g0.ply
18#filename ../data/PowerPlant/ppsection1/part_b/g0.ply
19#filename ../data/PowerPlant/ppsection1.plb
20#filename ../data/PowerPlant/all.plb
21#filename ../data/PowerPlant/selection3.plb
22#filename ../data/PowerPlant/section10.plb;../data/PowerPlant/section14.plb
23#filename ../data/PowerPlant/selection.plb
24#filename ../data/PowerPlant/comps/ppsection1/comps.plb
25}
26
27Preprocessor {
28        # stored sample rays
29        samplesFilename rays.out
30        useGlRenderer false
31        useGlDebugger false
32#       type sampling
33#       type vss
34        type rss
35#       type render
36        detectEmptyViewSpace false
37        pvsRenderErrorSamples 0
38#       pvsRenderErrorSamples 1000
39        quitOnFinish true
40        computeVisibility true
41        applyVisibilityFilter   true
42        visibilityFilterWidth   0.01
43        visibilityFile visibility.xml
44}
45
46
47RssPreprocessor {
48        samplesPerPass 1000000
49        initialSamples 1000000
50        vssSamples 5000000
51        vssSamplesPerPass 1000000
52        useImportanceSampling true
53
54        directionalSampling false
55        objectBasedSampling false
56
57        Export {
58                pvs false
59                rssTree false
60                rays false
61                numRays 20000
62        }
63
64        useViewcells true
65        updateSubdivision true
66        loadInitialSamples false
67        storeInitialSamples false
68}
69
70
71RssTree {
72        epsilon         1e-6
73        perObjectTree false
74
75        maxDepth        40
76        minPvs          3
77# before vienna test it was:
78#       minRays 50
79#       splitType heuristic
80
81        minRays         100
82        minSize         0.001
83        maxCostRatio 1.0
84        maxRayContribution 0.5
85        maxRays         2000000
86        maxTotalMemory  200
87        maxStaticMemory 100
88
89        splitType regular
90#       splitType heuristic
91#       splitType hybrid
92        splitUseOnlyDrivingAxis false
93        importanceBasedCost false
94
95        interleaveDirSplits     true
96    dirSplitDepth 0
97
98        ct_div_ci       0.0
99}
100
101Limits {
102
103       threshold        1e-6
104       small            1e-6
105       infinity         1e9
106}
107
108Unigraphics {
109                meshGrouping 1
110}
111
112KdTree {
113        sahUseFaces false
114        Termination {
115                minCost 1
116                maxDepth 30
117                maxCostRatio 1.0
118                ct_div_ci 0.5
119                maxNodes 500000
120        }
121
122#       splitMethod spatialMedian
123        splitMethod SAH
124        splitBorder 0.01
125}
126
127MeshKdTree {
128        Termination {
129                minCost 8
130                maxDepth 18
131                maxCostRatio 0.9
132                ct_div_ci 0.5
133        }
134
135#       splitMethod spatialMedian
136        splitMethod SAH
137        splitBorder 0.01
138}
139
140
141
142ViewCells {
143        # samples used for view cell construction
144        Construction {
145                samples 100000
146                samplesPerPass 100000
147        }
148
149        Filter {
150                maxSize 5
151                width  0.05
152        }
153
154        #number of active view cells
155        active 5000
156        maxStaticMemory 40
157
158        exportToFile false
159        loadFromFile true
160
161        #type kdTree
162        #type vspKdTree
163        #type bspTree
164        type vspBspTree
165        #type sceneDependent
166       
167        height 5.0
168        maxViewCells 5000
169
170        #percentage of total visible objects where pvs is considered invalid
171        maxPvsRatio 1.0
172               
173        pruneEmptyViewCells false
174        processOnlyValidViewCells false
175
176        #stats viewCellStats.log
177
178        samplingType directional
179        #samplingType box
180
181        PostProcess {
182                # how much samples are used for post processing
183                samples 100000
184                renderCostWeight 1.0
185                maxCostRatio 0.1
186                minViewCells 1
187                avgCostMaxDeviation 0.01
188                maxMergesPerPass 5000
189                useRaysForMerge false
190                refine false
191                compress false
192                merge false
193        }
194
195        Visualization {
196                # how much samples we use for visualization
197                samples 100000
198                #colorCode PVS
199                #colorCode MergedLeaves
200                #colorCode MergedTreeDiff
201                colorCode Random
202                exportRays false
203                exportGeometry false
204                exportMergedViewCells false
205                useClipPlane true
206                clipPlaneAxis 1
207        }
208
209        showVisualization false
210        evaluateViewCells false
211       
212        Evaluation {
213                samplesPerPass 500
214                samples 1000
215                statsPrefix ../scripts/viewCells
216        }
217
218#       filename ../data/atlanta/atlanta_viewcells_large.x3d
219#       filename ../data/vienna/viewcells-25-sel.x3d
220#       filename ../data/vienna/viewcells-25.x3d
221#       filename ../data/vienna/viewcells-large-sel.x3d
222#       filename ../scripts/viewcells_vienna.xml
223#       filename ../scripts/viewcells_atlanta.xml
224#       filename ../scripts/viewcells_soda5-2.xml
225#       filename ../data/soda/soda5-viewcells.xml
226#       filename ../scripts/viewcells_atlanta.xml
227#       filename ../data/soda/soda5-viewcells2.xml
228        filename ../data/atlanta/viewcells_atlanta3.xml
229#       filename ../data/vienna/viewcells_vienna.xml
230#       filename ../data/PowerPlant/power_plant_viewcells_all3.xml
231}
232
233
234Simulation {
235        objRenderCost 1.0
236        vcOverhead 1.0
237        # always between 0 and 1
238        moveSpeed 0.0001
239}
240
241
242VspKdTree {
243        epsilon         1e-6
244
245        Construction {
246                samples 500000
247        }
248       
249        Termination {
250                maxDepth                40
251                minPvs                  0
252                minRays                 1
253                minSize                 0.001
254                maxCostRatio            5.9
255                maxViewCells            169
256                missTolerance           4
257                maxRayContribution      2.5
258        }
259       
260        maxTotalMemory  100
261        maxStaticMemory 40
262
263        splitType       regular
264        #splitType      heuristics
265        splitUseOnlyDrivingAxis true
266        ct_div_ci       0.0
267       
268        # maximal cost for merging a view cell
269        PostProcess {
270                maxCostRatio 0.005
271                minViewCells 10000
272                maxPvsSize   5000
273        }
274       
275       
276        Visualization {
277        }
278}
279
Note: See TracBrowser for help on using the repository browser.