source: trunk/VUT/GtpVisibilityPreprocessor/src/default.env @ 516

Revision 516, 4.9 KB checked in by bittner, 18 years ago (diff)

per object rss tree support - changes in glrenderer.cpp so tha it compiles; unix2dos on glrenderer.*

Line 
1#############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7
8#       filename 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
13#;../data/vienna/vienna-plane.x3d
14# filename ../data/vienna/viewcells-25-sel.x3d
15filename ../data/atlanta/atlanta2.x3d
16# filename ../data/soda/soda.dat
17filename ../data/soda/soda5.dat
18}
19
20Preprocessor {
21        # stored sample rays
22        samplesFilename rays.out
23        useGlRenderer true
24#       type sampling
25#       type vss
26        type rss
27}
28
29VssPreprocessor {
30        samplesPerPass  100000
31        initialSamples 500000
32        vssSamples 200000
33        vssSamplesPerPass 100000
34        useImportanceSampling true
35        loadInitialSamples  false
36        storeInitialSamples false
37}
38
39
40VssTree {
41        useRss    false
42        epsilon         1e-6
43
44        maxDepth        40
45        minPvs          30
46        minRays         1000
47        minSize         0.001
48        maxCostRatio    0.9
49        maxRayContribution 0.05
50       
51        maxTotalMemory  200
52        maxStaticMemory 20
53
54        splitType regular
55#       splitType heuristic
56#       splitType hybrid
57        splitUseOnlyDrivingAxis true
58
59        interleaveDirSplits     false
60    dirSplitDepth 40
61
62        numberOfEndPointDomains 10000
63        ct_div_ci       0.0
64        randomize       false
65
66        refDirBoxMaxSize        0.1
67}
68
69RssPreprocessor {
70        samplesPerPass  100000
71        initialSamples 500000
72        vssSamples 10000000
73        vssSamplesPerPass 500000
74        useImportanceSampling true
75
76        directionalSampling true
77        objectBasedSampling false
78
79        Export {
80                pvs false
81                rssTree false
82                rays true
83                numRays 5000
84        }
85
86        useViewcells true
87        updateSubdivision true
88loadInitialSamples true
89        storeInitialSamples false
90}
91
92
93RssTree {
94
95        epsilon         1e-6
96        perObjectTree true
97
98        maxDepth        40
99        minPvs          3
100        minRays         30
101        minSize         0.001
102        maxCostRatio 1.0
103        maxRayContribution 0.5
104        maxRays         1000000
105        maxTotalMemory  200
106        maxStaticMemory 100
107
108        splitType regular
109#       splitType heuristic
110#       splitType hybrid
111        splitUseOnlyDrivingAxis true
112        importanceBasedCost false
113
114        interleaveDirSplits     true
115    dirSplitDepth 0
116
117        numberOfEndPointDomains 10000
118        ct_div_ci       0.0
119        randomize       false
120
121        refDirBoxMaxSize        0.1
122}
123
124Limits {
125
126       threshold        1e-6
127       small            1e-6
128       infinity         1e9
129}
130
131Unigraphics {
132                meshGrouping 1
133}
134
135KdTree {
136        sahUseFaces true
137        Termination {
138                minCost 1
139                maxDepth 18
140                maxCostRatio 0.9
141                ct_div_ci 0.5
142        }
143
144#       splitMethod spatialMedian
145        splitMethod SAH
146        splitBorder 0.01
147}
148
149MeshKdTree {
150        Termination {
151                minCost 1
152                maxDepth 18
153                maxCostRatio 0.9
154                ct_div_ci 0.5
155        }
156
157#       splitMethod spatialMedian
158        splitMethod SAH
159        splitBorder 0.01
160}
161
162
163Sampling {
164        totalSamples 10000000
165        samplesPerPass  3
166}
167
168ViewCells {
169        loadFromFile false
170        #type kdTree
171        #type vspKdTree
172        type bspTree
173        #type vspBspTree
174       
175        #type sceneDependent
176       
177        height 5.0
178        maxViewCells 500
179        maxPvs 200
180       
181       
182PostProcess {
183                minPvsDif 100
184                minPvs 10
185                maxPvs 150
186                # how much samples are used for post processing
187                samples 100000
188        }
189
190                Visualization {
191                # how much samples we use for visualization
192                samples 5000
193                #colorCode PVS
194                #colorCode MergedLeaves
195                #colorCode MergedTreeDiff
196                colorCode Random
197                exportRays false
198                exportGeometry true
199        }
200       
201#       filename ../data/atlanta/atlanta_viewcells_large.x3d
202#       filename ../data/vienna/viewcells-25-sel.x3d
203#       filename ../data/vienna/viewcells-25.x3d
204#       filename ../data/vienna/viewcells-large-sel.x3d
205}
206
207
208Simulation {
209        objRenderCost 1.0
210        vcOverhead 1.0
211        # always between 0 and 1
212        moveSpeed 0.0001
213}
214
215
216VspKdTree {
217        epsilon         1e-6
218
219        Construction {
220                samples 300000
221        }
222       
223        Termination {
224                maxDepth                40
225                minPvs                  50
226                minRays                 300
227                minSize                 0.001
228                maxCostRatio            0.9
229                missTolerance           4
230                maxRayContribution      0.5
231        }
232       
233        maxTotalMemory  100
234        maxStaticMemory 50
235
236        splitType       regular
237        #splitType      heuristics
238        splitUseOnlyDrivingAxis true
239        ct_div_ci       0.0
240       
241        # maximal cost for merging a view cell
242        PostProcess {
243                maxCostRatio 0.005
244                minViewCells 200
245                maxPvsSize   50000
246        }
247       
248       
249        Visualization {
250        }
251}
252
253VspBspTree {
254        Construction {
255                samples 500000
256                epsilon 0.005
257                randomize false
258        }
259
260
261        # random polygon       = 1
262        # axis aligned         = 2
263        # least ray splits     = 256
264        # balanced rays        = 512
265        # pvs                  = 1024
266
267        splitPlaneStrategy 1024
268       
269        # maximal candidates for split planes
270        maxPolyCandidates 100
271        maxRayCandidates 100
272       
273        # maximal tested rays for split cost heuristics
274        maxTests 2000
275       
276        # factors for evaluating split plane costs
277        Factor {
278                leastRaySplits 1.0
279                balancedRays 1.0
280                pvs 1.0
281        }
282       
283        Termination {
284                # parameters used for autopartition
285                minRays                 100
286                minPolygons             -1
287                maxDepth                30
288                minPvs                  20
289                #minArea                0.0001
290                minArea                 0.000
291                maxRayContribution      0.005
292                maxCostRatio            0.9
293                missTolerance           4
294                #maxAccRayLength        100
295               
296                maxViewCells            20000
297               
298                # used for pvs criterium
299                ct_div_ci 0.0
300        }
301       
302        splitUseOnlyDrivingAxis false
303       
304        Visualization {
305                # x3d visualization of the split planes
306                exportSplits true
307        }
308       
309        PostProcess {
310                maxCostRatio 0.1
311                minViewCells 500
312                maxPvsSize   1000
313                useRaysForMerge true
314        }
315}
Note: See TracBrowser for help on using the repository browser.