1 | ############################################################################# |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
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/viewcells-25-sel.x3d |
---|
13 | filename ../data/atlanta/atlanta2.x3d |
---|
14 | # filename ../data/soda/soda.dat |
---|
15 | # filename ../data/soda/soda5.dat |
---|
16 | } |
---|
17 | |
---|
18 | Limits { |
---|
19 | |
---|
20 | threshold 1e-6 |
---|
21 | small 1e-6 |
---|
22 | infinity 1e9 |
---|
23 | } |
---|
24 | |
---|
25 | Preprocessor { |
---|
26 | type sampling |
---|
27 | # type exact |
---|
28 | # type vss |
---|
29 | } |
---|
30 | |
---|
31 | Unigraphics { |
---|
32 | meshGrouping 1 |
---|
33 | } |
---|
34 | |
---|
35 | KdTree { |
---|
36 | sahUseFaces true |
---|
37 | Termination { |
---|
38 | minCost 2 |
---|
39 | maxDepth 18 |
---|
40 | maxCostRatio 0.9 |
---|
41 | ct_div_ci 0.5 |
---|
42 | } |
---|
43 | |
---|
44 | # splitMethod spatialMedian |
---|
45 | splitMethod SAH |
---|
46 | splitBorder 0.01 |
---|
47 | } |
---|
48 | |
---|
49 | MeshKdTree { |
---|
50 | Termination { |
---|
51 | minCost 4 |
---|
52 | maxDepth 18 |
---|
53 | maxCostRatio 0.9 |
---|
54 | ct_div_ci 0.5 |
---|
55 | } |
---|
56 | |
---|
57 | # splitMethod spatialMedian |
---|
58 | splitMethod SAH |
---|
59 | splitBorder 0.01 |
---|
60 | } |
---|
61 | |
---|
62 | |
---|
63 | Sampling { |
---|
64 | totalSamples 300000 |
---|
65 | samplesPerPass 3 |
---|
66 | } |
---|
67 | |
---|
68 | ViewCells { |
---|
69 | #hierarchy kdTree |
---|
70 | hierarchy vspTree |
---|
71 | #hierarchy bspTree |
---|
72 | # hierarchy sceneDependent |
---|
73 | |
---|
74 | height 5.0 |
---|
75 | maxViewCells 0 |
---|
76 | |
---|
77 | PostProcessing { |
---|
78 | minPvsDif 100 |
---|
79 | minPvs 10 |
---|
80 | maxPvs 150 |
---|
81 | samples 100000 |
---|
82 | } |
---|
83 | |
---|
84 | |
---|
85 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
86 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
87 | # filename ../data/vienna/viewcells-25.x3d |
---|
88 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
89 | } |
---|
90 | |
---|
91 | BspTree { |
---|
92 | Construction { |
---|
93 | input fromSamples |
---|
94 | # input fromViewCells |
---|
95 | # input fromSceneGeometry |
---|
96 | samples 150000 |
---|
97 | sideTolerance 0.005 |
---|
98 | } |
---|
99 | |
---|
100 | |
---|
101 | # random polygon = 1 |
---|
102 | # axis aligned = 2 |
---|
103 | # least splits = 4 |
---|
104 | # balanced polygons = 8 |
---|
105 | # balanced view cells = 16 |
---|
106 | # largest polygon area = 32 |
---|
107 | # vertical axis = 64 |
---|
108 | # blocked rays = 128 |
---|
109 | # least ray splits = 256 |
---|
110 | # balanced rays = 512 |
---|
111 | # pvs = 1024 |
---|
112 | |
---|
113 | # least splits + balanced polygons |
---|
114 | #splitPlaneStrategy 12 |
---|
115 | |
---|
116 | #axis aligned + vertical axis |
---|
117 | #splitPlaneStrategy 66 |
---|
118 | |
---|
119 | # axis aligned + balanced view cells |
---|
120 | # splitPlaneStrategy 18 |
---|
121 | |
---|
122 | # largest polygon area |
---|
123 | #splitPlaneStrategy 32 |
---|
124 | |
---|
125 | # axus aligned + balanced polygons |
---|
126 | #splitPlaneStrategy 72 |
---|
127 | |
---|
128 | # axis aligned + blocked rays |
---|
129 | #splitPlaneStrategy 130 |
---|
130 | |
---|
131 | #splitPlaneStrategy 384 |
---|
132 | #splitPlaneStrategy 130 |
---|
133 | |
---|
134 | splitPlaneStrategy 12 |
---|
135 | |
---|
136 | maxPolyCandidates 70 |
---|
137 | maxRayCandidates 100 |
---|
138 | |
---|
139 | # factors for evaluating split plane costs |
---|
140 | Factor { |
---|
141 | verticalSplits 1.0 |
---|
142 | largestPolyArea 1.0 |
---|
143 | blockedRays 1.0 |
---|
144 | leastRaySplits 1.0 |
---|
145 | balancedRays 1.0 |
---|
146 | pvsFactor 1.0 |
---|
147 | leastSplits 1.0 |
---|
148 | balancedPolys 1.0 |
---|
149 | balancedViewCells 1.0 |
---|
150 | } |
---|
151 | |
---|
152 | Termination { |
---|
153 | # parameters used for autopartition |
---|
154 | maxRays 200 |
---|
155 | maxPolygons -1 |
---|
156 | maxDepth 40 |
---|
157 | minPvs 35 |
---|
158 | minArea 0.01 |
---|
159 | maxRayContribution 0.005 |
---|
160 | #maxAccRayLength 100 |
---|
161 | # used for pvs criterium |
---|
162 | ct_div_ci 0.0 |
---|
163 | |
---|
164 | # axis aligned splits |
---|
165 | AxisAligned { |
---|
166 | maxPolys 5000 |
---|
167 | maxRays 500 |
---|
168 | maxObjects 10 |
---|
169 | maxCostRatio 0.9 |
---|
170 | ct_div_ci 0.5 |
---|
171 | } |
---|
172 | } |
---|
173 | |
---|
174 | AxisAligned { |
---|
175 | splitBorder 0.01 |
---|
176 | } |
---|
177 | |
---|
178 | |
---|
179 | Visualization { |
---|
180 | # x3d visualization of the split planes |
---|
181 | exportSplits true |
---|
182 | # how much samples should be used in visualization |
---|
183 | samples 20000 |
---|
184 | } |
---|
185 | } |
---|
186 | |
---|
187 | Simulation { |
---|
188 | objRenderCost 1.0 |
---|
189 | vcOverhead 7.0 |
---|
190 | moveSpeed 3.0 |
---|
191 | } |
---|
192 | |
---|
193 | VssTree { |
---|
194 | epsilon 1e-6 |
---|
195 | |
---|
196 | maxDepth 40 |
---|
197 | minPvs 1 |
---|
198 | minRays 50 |
---|
199 | minSize 0.00001 |
---|
200 | maxCostRatio 0.95 |
---|
201 | maxRayContribution 0.05 |
---|
202 | |
---|
203 | maxTotalMemory 400 |
---|
204 | maxStaticMemory 20 |
---|
205 | |
---|
206 | splitType regular |
---|
207 | # splitType heuristics |
---|
208 | |
---|
209 | numberOfEndPointDomains 10000 |
---|
210 | ct_div_ci 0.0 |
---|
211 | randomize false |
---|
212 | |
---|
213 | refDirBoxMaxSize 0.1 |
---|
214 | } |
---|
215 | |
---|
216 | VspKdTree { |
---|
217 | epsilon 1e-6 |
---|
218 | |
---|
219 | Construction { |
---|
220 | samples 200000 |
---|
221 | } |
---|
222 | |
---|
223 | Termination { |
---|
224 | maxDepth 20 |
---|
225 | minPvs 200 |
---|
226 | minRays 100 |
---|
227 | minSize 0.001 |
---|
228 | maxCostRatio 0.95 |
---|
229 | maxRayContribution 0.1 |
---|
230 | } |
---|
231 | |
---|
232 | maxTotalMemory 600 |
---|
233 | maxStaticMemory 600 |
---|
234 | |
---|
235 | splitType regular |
---|
236 | # splitType heuristics |
---|
237 | ct_div_ci 0.0 |
---|
238 | } |
---|