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

Revision 2064, 4.1 KB checked in by mattausch, 17 years ago (diff)
RevLine 
[1744]1##############################################################################
[942]2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
[2064]7#       filename ../data/vienna/vienna_cropped.obj
8        filename ../data/soda/soda5.dat
[942]9}
10
[1744]11
[942]12Preprocessor {
13        useGlRenderer false
14        type vss
15        detectEmptyViewSpace true
[1744]16        loadMeshes false
17        # internal raycaster
18        rayCastMethod 0
19        # intel raycaster
20        #rayCastMethod 1
21        exportVisibility false
22        loadKdTree false
23        exportKdTree false
24#       exportObj true
[1746]25        applyVisibilityFilter false
26        applyVisibilitySpatialFilter false
[942]27}
28
[1744]29
[942]30VssPreprocessor {
31        useImportanceSampling true
32        loadInitialSamples  false
33        storeInitialSamples false
34}
35
36
37VssTree {
38        useRss    false
39        epsilon         1e-6
40       
[1744]41        maxDepth        2
[942]42        minPvs          30
43        minRays         800
44        minSize         0.001
45        maxCostRatio    1.5
46        maxRayContribution 0.5
47               
48        maxTotalMemory  50
49        maxStaticMemory 20
50       
51        splitType regular
52        #       splitType heuristic
53        #       splitType hybrid
54        splitUseOnlyDrivingAxis true
55       
56        interleaveDirSplits     true
[1744]57        dirSplitDepth 0
[942]58       
59        numberOfEndPointDomains 10000
60        ct_div_ci       0.0
61        randomize       false
62       
63        refDirBoxMaxSize        0.1
64}
65
66
67Limits {
68       threshold        1e-6
69       small            1e-6
70       infinity         1e9
71}
72
[1744]73
[942]74Unigraphics {
[1744]75        meshGrouping 1
[942]76}
77
[1744]78
[942]79KdTree {
80        sahUseFaces true
[1744]81
[942]82        Termination {
[1744]83                minCost 0
84                maxDepth 20
85               
86                maxCostRatio 1.5
[942]87                ct_div_ci 0.5
88        }
89
90#       splitMethod spatialMedian
91        splitMethod SAH
92        splitBorder 0.01
93}
94
95MeshKdTree {
96        Termination {
97                minCost 1
98                maxDepth 18
99                maxCostRatio 0.9
100                ct_div_ci 0.5
101        }
102
103#       splitMethod spatialMedian
104        splitMethod SAH
105        splitBorder 0.01
106}
107
108
109ViewCells {
[1744]110       
111        # samples used for view cell construction
112        # (after the sampling used for the hierarchy)
[942]113        Construction {
114                samples 0
[1744]115                samplesPerPass 1000000
[942]116        }
117
[1744]118        # number of active view cells
119        active 50000
[942]120        maxStaticMemory 40
121
122        exportToFile true
123        loadFromFile false
124
[1744]125        exportPvs false
[942]126
[1744]127        # type of view cells
[2064]128        type vspBspTree
[1744]129       
[942]130        #percentage of total visible objects where pvs is considered invalid
131        maxPvsRatio 1.0
132               
133        processOnlyValidViewCells false
134
[1744]135        #samplingType object_directional
[942]136        #samplingType directional
137        samplingType box
[1744]138        #samplingType reverse_object
139        #samplingType object
[942]140
141        PostProcess {
142                # how much samples are used for post processing
143                samples 0
144                maxMergesPerPass 5000
145                useRaysForMerge false
[1744]146                refine false
[942]147                compress false
[1744]148                merge false
[942]149        }
150
151        Visualization {
152                # how much samples we use for visualization
[2064]153                samples 0
[1744]154                exportRays true
[942]155                exportGeometry true
156                exportMergedViewCells false
157                useClipPlane true
158                clipPlaneAxis 1
[1744]159                clipPlanePos 0.3
160                maxOutput 2
[942]161        }
162
163        showVisualization true
[1744]164        #showVisualization false
[942]165        evaluateViewCells false
166       
167        Evaluation {
[1744]168                samples         80000000
169                samplesForStats 80000000
170                samplesPerPass  2000000
[942]171
[1744]172                stepSize        500
[942]173
[1744]174                #samplingType object_directional
175                #samplingType reverse_object
176                #samplingType object
177                samplingType box
[942]178
[1744]179                statsPrefix ../scripts/viewCells
180        }
[942]181}
182
183
[2064]184VspBspTree {
[942]185        Construction {
[2064]186                samples 500000
187                epsilon 0.0000001
188                randomize false
189                renderCostWeight 1.0
[942]190        }
191
192
[2064]193        # random polygon       = 1
194        # axis aligned         = 2
195        # least ray splits     = 256
196        # balanced rays        = 512
197        # pvs                  = 1024
198       
199        splitPlaneStrategy 1026
200       
201        # maximal candidates for split planes
202        maxPolyCandidates 0
[942]203
[2064]204        usePolygonSplitIfAvailable false
[942]205
[2064]206        # maximal tested rays for split cost heuristics
207        maxTests 10000
208       
209        maxTotalMemory  50
210        maxStaticMemory 50
[942]211
[2064]212        subdivisionStats ../subdivisionStats.log
[942]213
[2064]214        # factors for evaluating split plane costs
215        Factor {
216                leastRaySplits 1.0
217                balancedRays 1.0
218                pvs 1.0
[942]219        }
[2064]220       
[1744]221        Termination {
[2064]222                # parameters used for autopartition
223                minRays                 -1
224                minPolygons             -1
225                maxDepth                25
226                minPvs                  0
227                minProbability          0.000001
228                maxRayContribution      1
229                maxCostRatio            0.9
230                missTolerance           6
231                globalCostMissTolerance 4
232                minGlobalCostRatio      0.0001
[942]233
[2064]234                maxViewCells            200
235       
[1744]236
[2064]237                # used for pvs criterium
238                ct_div_ci 0.0
239               
240                AxisAligned {
241                        minRays                 50000
242                        maxRayContribution      9.9
243                }
244        }
245       
246        useSplitCostQueue true
[1744]247
[942]248        splitUseOnlyDrivingAxis false
[2064]249        simulateOctree false
250        useRandomAxis false
251        usePolygonSplitIfAvailable false
252        nodePriorityQueueType 0
[942]253
[2064]254        useCostHeuristics true
[942]255
[2064]256        Visualization {
257                # x3d visualization of the split planes
258                exportSplits false
[942]259        }
[1744]260}
Note: See TracBrowser for help on using the repository browser.