1 | ############################################################################## |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
7 | # filename ../data/vienna/vienna_cropped.obj |
---|
8 | filename ../data/soda/soda5.dat |
---|
9 | } |
---|
10 | |
---|
11 | |
---|
12 | Preprocessor { |
---|
13 | useGlRenderer false |
---|
14 | type vss |
---|
15 | detectEmptyViewSpace true |
---|
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 |
---|
25 | applyVisibilityFilter false |
---|
26 | applyVisibilitySpatialFilter false |
---|
27 | } |
---|
28 | |
---|
29 | |
---|
30 | VssPreprocessor { |
---|
31 | useImportanceSampling true |
---|
32 | loadInitialSamples false |
---|
33 | storeInitialSamples false |
---|
34 | } |
---|
35 | |
---|
36 | |
---|
37 | VssTree { |
---|
38 | useRss false |
---|
39 | epsilon 1e-6 |
---|
40 | |
---|
41 | maxDepth 2 |
---|
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 |
---|
57 | dirSplitDepth 0 |
---|
58 | |
---|
59 | numberOfEndPointDomains 10000 |
---|
60 | ct_div_ci 0.0 |
---|
61 | randomize false |
---|
62 | |
---|
63 | refDirBoxMaxSize 0.1 |
---|
64 | } |
---|
65 | |
---|
66 | |
---|
67 | Limits { |
---|
68 | threshold 1e-6 |
---|
69 | small 1e-6 |
---|
70 | infinity 1e9 |
---|
71 | } |
---|
72 | |
---|
73 | |
---|
74 | Unigraphics { |
---|
75 | meshGrouping 1 |
---|
76 | } |
---|
77 | |
---|
78 | |
---|
79 | KdTree { |
---|
80 | sahUseFaces true |
---|
81 | |
---|
82 | Termination { |
---|
83 | minCost 0 |
---|
84 | maxDepth 20 |
---|
85 | |
---|
86 | maxCostRatio 1.5 |
---|
87 | ct_div_ci 0.5 |
---|
88 | } |
---|
89 | |
---|
90 | # splitMethod spatialMedian |
---|
91 | splitMethod SAH |
---|
92 | splitBorder 0.01 |
---|
93 | } |
---|
94 | |
---|
95 | MeshKdTree { |
---|
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 | |
---|
109 | ViewCells { |
---|
110 | |
---|
111 | # samples used for view cell construction |
---|
112 | # (after the sampling used for the hierarchy) |
---|
113 | Construction { |
---|
114 | samples 0 |
---|
115 | samplesPerPass 1000000 |
---|
116 | } |
---|
117 | |
---|
118 | # number of active view cells |
---|
119 | active 50000 |
---|
120 | maxStaticMemory 40 |
---|
121 | |
---|
122 | exportToFile true |
---|
123 | loadFromFile false |
---|
124 | |
---|
125 | exportPvs false |
---|
126 | |
---|
127 | # type of view cells |
---|
128 | type vspBspTree |
---|
129 | |
---|
130 | #percentage of total visible objects where pvs is considered invalid |
---|
131 | maxPvsRatio 1.0 |
---|
132 | |
---|
133 | processOnlyValidViewCells false |
---|
134 | |
---|
135 | #samplingType object_directional |
---|
136 | #samplingType directional |
---|
137 | samplingType box |
---|
138 | #samplingType reverse_object |
---|
139 | #samplingType object |
---|
140 | |
---|
141 | PostProcess { |
---|
142 | # how much samples are used for post processing |
---|
143 | samples 0 |
---|
144 | maxMergesPerPass 5000 |
---|
145 | useRaysForMerge false |
---|
146 | refine false |
---|
147 | compress false |
---|
148 | merge false |
---|
149 | } |
---|
150 | |
---|
151 | Visualization { |
---|
152 | # how much samples we use for visualization |
---|
153 | samples 0 |
---|
154 | exportRays true |
---|
155 | exportGeometry true |
---|
156 | exportMergedViewCells false |
---|
157 | useClipPlane true |
---|
158 | clipPlaneAxis 1 |
---|
159 | clipPlanePos 0.3 |
---|
160 | maxOutput 2 |
---|
161 | } |
---|
162 | |
---|
163 | showVisualization true |
---|
164 | #showVisualization false |
---|
165 | evaluateViewCells false |
---|
166 | |
---|
167 | Evaluation { |
---|
168 | samples 80000000 |
---|
169 | samplesForStats 80000000 |
---|
170 | samplesPerPass 2000000 |
---|
171 | |
---|
172 | stepSize 500 |
---|
173 | |
---|
174 | #samplingType object_directional |
---|
175 | #samplingType reverse_object |
---|
176 | #samplingType object |
---|
177 | samplingType box |
---|
178 | |
---|
179 | statsPrefix ../scripts/viewCells |
---|
180 | } |
---|
181 | } |
---|
182 | |
---|
183 | |
---|
184 | VspBspTree { |
---|
185 | Construction { |
---|
186 | samples 500000 |
---|
187 | epsilon 0.0000001 |
---|
188 | randomize false |
---|
189 | renderCostWeight 1.0 |
---|
190 | } |
---|
191 | |
---|
192 | |
---|
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 |
---|
203 | |
---|
204 | usePolygonSplitIfAvailable false |
---|
205 | |
---|
206 | # maximal tested rays for split cost heuristics |
---|
207 | maxTests 10000 |
---|
208 | |
---|
209 | maxTotalMemory 50 |
---|
210 | maxStaticMemory 50 |
---|
211 | |
---|
212 | subdivisionStats ../subdivisionStats.log |
---|
213 | |
---|
214 | # factors for evaluating split plane costs |
---|
215 | Factor { |
---|
216 | leastRaySplits 1.0 |
---|
217 | balancedRays 1.0 |
---|
218 | pvs 1.0 |
---|
219 | } |
---|
220 | |
---|
221 | Termination { |
---|
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 |
---|
233 | |
---|
234 | maxViewCells 200 |
---|
235 | |
---|
236 | |
---|
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 |
---|
247 | |
---|
248 | splitUseOnlyDrivingAxis false |
---|
249 | simulateOctree false |
---|
250 | useRandomAxis false |
---|
251 | usePolygonSplitIfAvailable false |
---|
252 | nodePriorityQueueType 0 |
---|
253 | |
---|
254 | useCostHeuristics true |
---|
255 | |
---|
256 | Visualization { |
---|
257 | # x3d visualization of the split planes |
---|
258 | exportSplits false |
---|
259 | } |
---|
260 | } |
---|