source: GTP/trunk/Lib/Vis/Preprocessing/scripts/default.env @ 639

Revision 639, 7.3 KB checked in by mattausch, 18 years ago (diff)
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
15#       filename ../data/atlanta/atlanta2.x3d
16#       filename ../data/soda/soda.dat
17        filename ../data/soda/soda5.dat
18}
19
20Preprocessor {
21        # stored sample rays
22        samplesFilename rays.out
23        useGlRenderer false
24#       type sampling
25        type vss
26#       type rss
27        detectEmptyViewSpace false
28}
29
30VssPreprocessor {
31        samplesPerPass  100000
32        initialSamples 0
33        vssSamples 0
34        vssSamplesPerPass 500000
35        useImportanceSampling true
36        loadInitialSamples  false
37        storeInitialSamples false
38        useViewSpaceBox false
39#       testBeamSampling true
40}
41
42
43SamplingPreprocessor {
44        totalSamples 500000
45        samplesPerPass  3
46}
47
48
49VssTree {
50        useRss    false
51        epsilon         1e-6
52       
53        maxDepth        40
54        minPvs          30
55        minRays         800
56        minSize         0.001
57        maxCostRatio    1.5
58        maxRayContribution 0.5
59               
60        maxTotalMemory  50
61        maxStaticMemory 20
62       
63        splitType regular
64        #       splitType heuristic
65        #       splitType hybrid
66        splitUseOnlyDrivingAxis true
67       
68        interleaveDirSplits     true
69    dirSplitDepth 0
70       
71        numberOfEndPointDomains 10000
72        ct_div_ci       0.0
73        randomize       false
74       
75        refDirBoxMaxSize        0.1
76}
77
78RssPreprocessor {
79        samplesPerPass  100000
80        #initialSamples 500000
81        #vssSamples 10000000
82        #for view cell construction
83        initialSamples 0
84        vssSamples 0
85        vssSamplesPerPass 500000
86        useImportanceSampling true
87
88        directionalSampling true
89        objectBasedSampling false
90
91        Export {
92                pvs false
93                rssTree false
94                rays true
95                numRays 5000
96        }
97
98        useViewcells true
99        updateSubdivision true
100        loadInitialSamples false
101        storeInitialSamples false
102}
103
104
105RssTree {
106
107        epsilon         1e-6
108
109        maxDepth        40
110        minPvs          3
111        minRays         30
112        minSize         0.001
113        maxCostRatio 1.0
114        maxRayContribution 0.5
115        maxRays         1000000
116        maxTotalMemory  200
117        maxStaticMemory 100
118
119#       splitType regular
120#       splitType heuristic
121        splitType hybrid
122        splitUseOnlyDrivingAxis true
123        importanceBasedCost false
124
125        interleaveDirSplits     true
126    dirSplitDepth 0
127
128        numberOfEndPointDomains 10000
129        ct_div_ci       0.0
130        randomize       false
131
132        refDirBoxMaxSize        0.1
133}
134
135Limits {
136
137       threshold        1e-6
138       small            1e-6
139       infinity         1e9
140}
141
142Unigraphics {
143                meshGrouping 1
144}
145
146KdTree {
147        sahUseFaces true
148        Termination {
149                minCost 1
150                maxDepth 18
151                maxCostRatio 0.9
152                ct_div_ci 0.5
153        }
154
155#       splitMethod spatialMedian
156        splitMethod SAH
157        splitBorder 0.01
158}
159
160MeshKdTree {
161        Termination {
162                minCost 1
163                maxDepth 18
164                maxCostRatio 0.9
165                ct_div_ci 0.5
166        }
167
168#       splitMethod spatialMedian
169        splitMethod SAH
170        splitBorder 0.01
171}
172
173
174
175ViewCells {
176        # samples used for view cell construction
177        Construction {
178                samples 0
179                samplesPerPass 500000
180        }
181
182        #number of active view cells
183        active 1024
184        maxStaticMemory 40
185
186        exportToFile false
187        loadFromFile false
188
189        #type kdTree
190        #type vspKdTree
191        #type bspTree
192        type vspBspTree
193       
194        #type sceneDependent
195       
196        height 5.0
197        maxViewCells 3000
198
199        #percentage of total visible objects where pvs is considered invalid
200        maxPvsRatio 1.0
201               
202        pruneEmptyViewCells false
203        processOnlyValidViewCells false
204       
205        PostProcess {
206                # how much samples are used for post processing
207                samples 300000
208                renderCostWeight 1.0
209                maxCostRatio 0.1
210                minViewCells 1
211                avgCostMaxDeviation 0.01
212                maxMergesPerPass 5000
213                useRaysForMerge false
214                refine false
215                compress true
216                merge true
217        }
218
219        Visualization {
220                # how much samples we use for visualization
221                samples 100000
222                #colorCode PVS
223                #colorCode MergedLeaves
224                #colorCode MergedTreeDiff
225                colorCode Random
226                exportRays false
227                exportGeometry true
228                exportMergedViewCells false
229                useCuttingPlane true
230                cuttingPlaneAxis 1
231        }
232       
233#       filename ../data/atlanta/atlanta_viewcells_large.x3d
234#       filename ../data/vienna/viewcells-25-sel.x3d
235#       filename ../data/vienna/viewcells-25.x3d
236#       filename ../data/vienna/viewcells-large-sel.x3d
237#       filename ../scripts/viewcells_vienna.xml
238        filename ../scripts/viewcells_atlanta.xml
239}
240
241
242Simulation {
243        objRenderCost 1.0
244        vcOverhead 1.0
245        # always between 0 and 1
246        moveSpeed 0.0001
247}
248
249
250VspKdTree {
251        epsilon         1e-6
252
253        Construction {
254                samples 500000
255        }
256       
257        Termination {
258                maxDepth                40
259                minPvs                  0
260                minRays                 1
261                minSize                 0.001
262                maxCostRatio            5.9
263                maxViewCells            169
264                missTolerance           4
265                maxRayContribution      2.5
266        }
267       
268        maxTotalMemory  100
269        maxStaticMemory 40
270
271        splitType       regular
272        #splitType      heuristics
273        splitUseOnlyDrivingAxis true
274        ct_div_ci       0.0
275       
276        # maximal cost for merging a view cell
277        PostProcess {
278                maxCostRatio 0.005
279                minViewCells 10000
280                maxPvsSize   5000
281        }
282       
283       
284        Visualization {
285        }
286}
287
288VspBspTree {
289        Construction {
290                samples 500000
291                epsilon 0.005
292                randomize false
293                renderCostWeight 1.0
294        }
295
296
297        # random polygon       = 1
298        # axis aligned         = 2
299        # least ray splits     = 256
300        # balanced rays        = 512
301        # pvs                  = 1024
302       
303        splitPlaneStrategy 1024
304       
305        # maximal candidates for split planes
306        maxPolyCandidates 0
307
308        usePolygonSplitIfAvailable false
309        # maximal tested rays for split cost heuristics
310        maxTests 10000
311       
312        maxTotalMemory  50
313        maxStaticMemory 50
314       
315        # factors for evaluating split plane costs
316        Factor {
317                leastRaySplits 1.0
318                balancedRays 1.0
319                pvs 1.0
320        }
321       
322        Termination {
323                # parameters used for autopartition
324                minRays                 -15
325                minPolygons             -1
326                maxDepth                25
327                minPvs                  -15
328                minProbability          0.00000001
329                maxRayContribution      1.8
330                maxCostRatio            1.8
331                missTolerance           6
332               
333                maxViewCells            256
334               
335                # used for pvs criterium
336                ct_div_ci 0.0
337               
338                AxisAligned {
339                        minRays                 50000
340                        maxRayContribution      9.9
341                }
342        }
343       
344        useCostHeuristics false
345        splitUseOnlyDrivingAxis false
346        usePolygonSplitIfAvailable false
347
348        Visualization {
349                # x3d visualization of the split planes
350                exportSplits false
351        }
352}
353
354BspTree {
355        Construction {
356                samples 50000
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        # 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 10
417                minPolygons -1
418                maxDepth 30
419                minPvs -1
420                minProbability 0.001
421                maxRayContribution 9999
422                #maxAccRayLength 100
423                maxViewCells    50000
424
425                # used for pvs criterium
426                ct_div_ci 0.0
427       
428                maxCostRatio 0.9
429               
430                # axis aligned splits
431                AxisAligned {
432                        minPolys 5000
433                        minRays 500
434                        minObjects 10
435                        ct_div_ci 0.5
436                }
437        }
438       
439        AxisAligned {
440                splitBorder 0.01
441        }
442       
443       
444        Visualization {
445                # x3d visualization of the split planes
446                exportSplits true
447        }
448}
Note: See TracBrowser for help on using the repository browser.