[235] | 1 | ############################################################################# |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
| 8 | # filename glasgow1.x3d |
---|
| 9 | # filename vienna.x3d |
---|
[349] | 10 | # filename ../data/vienna/vienna-simple.x3d |
---|
[362] | 11 | # filename ../data/vienna/vienna-buildings.x3d |
---|
[430] | 12 | #filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d |
---|
| 13 | #;../data/vienna/vienna-plane.x3d |
---|
[304] | 14 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
[362] | 15 | filename ../data/atlanta/atlanta2.x3d |
---|
[235] | 16 | # filename ../data/soda/soda.dat |
---|
| 17 | # filename ../data/soda/soda5.dat |
---|
| 18 | } |
---|
| 19 | |
---|
[430] | 20 | Preprocessor { |
---|
[448] | 21 | # type sampling |
---|
| 22 | type vss |
---|
[430] | 23 | } |
---|
| 24 | |
---|
| 25 | VssPreprocessor { |
---|
[433] | 26 | samplesPerPass 10000 |
---|
| 27 | initialSamples 200000 |
---|
| 28 | vssSamples 100000 |
---|
| 29 | vssSamplesPerPass 10000 |
---|
[430] | 30 | useImportanceSampling true |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | VssTree { |
---|
| 34 | epsilon 1e-6 |
---|
| 35 | |
---|
| 36 | maxDepth 40 |
---|
| 37 | minPvs 3 |
---|
| 38 | minRays 100 |
---|
| 39 | minSize 0.001 |
---|
[433] | 40 | maxCostRatio 0.98 |
---|
[430] | 41 | maxRayContribution 0.05 |
---|
| 42 | |
---|
| 43 | maxTotalMemory 200 |
---|
| 44 | maxStaticMemory 50 |
---|
| 45 | |
---|
| 46 | splitType regular |
---|
| 47 | # splitType heuristics |
---|
| 48 | |
---|
| 49 | numberOfEndPointDomains 10000 |
---|
| 50 | ct_div_ci 0.0 |
---|
| 51 | randomize false |
---|
| 52 | |
---|
| 53 | refDirBoxMaxSize 0.1 |
---|
| 54 | } |
---|
| 55 | |
---|
[235] | 56 | Limits { |
---|
| 57 | |
---|
| 58 | threshold 1e-6 |
---|
| 59 | small 1e-6 |
---|
| 60 | infinity 1e9 |
---|
| 61 | } |
---|
| 62 | |
---|
| 63 | Unigraphics { |
---|
| 64 | meshGrouping 1 |
---|
| 65 | } |
---|
| 66 | |
---|
| 67 | KdTree { |
---|
| 68 | sahUseFaces true |
---|
| 69 | Termination { |
---|
[430] | 70 | minCost 1 |
---|
[235] | 71 | maxDepth 18 |
---|
| 72 | maxCostRatio 0.9 |
---|
| 73 | ct_div_ci 0.5 |
---|
| 74 | } |
---|
| 75 | |
---|
| 76 | # splitMethod spatialMedian |
---|
| 77 | splitMethod SAH |
---|
| 78 | splitBorder 0.01 |
---|
| 79 | } |
---|
| 80 | |
---|
| 81 | MeshKdTree { |
---|
| 82 | Termination { |
---|
[430] | 83 | minCost 1 |
---|
[235] | 84 | maxDepth 18 |
---|
| 85 | maxCostRatio 0.9 |
---|
| 86 | ct_div_ci 0.5 |
---|
| 87 | } |
---|
| 88 | |
---|
| 89 | # splitMethod spatialMedian |
---|
| 90 | splitMethod SAH |
---|
| 91 | splitBorder 0.01 |
---|
| 92 | } |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | Sampling { |
---|
[448] | 96 | totalSamples 300000 |
---|
[362] | 97 | samplesPerPass 3 |
---|
[235] | 98 | } |
---|
| 99 | |
---|
[310] | 100 | ViewCells { |
---|
[441] | 101 | loadFromFile false |
---|
| 102 | #type kdTree |
---|
[448] | 103 | type vspKdTree |
---|
[445] | 104 | #type bspTree |
---|
[448] | 105 | #type vspBspTree |
---|
[445] | 106 | |
---|
[441] | 107 | #type sceneDependent |
---|
[329] | 108 | |
---|
[321] | 109 | height 5.0 |
---|
[421] | 110 | maxViewCells 0 |
---|
[329] | 111 | |
---|
[378] | 112 | PostProcessing { |
---|
| 113 | minPvsDif 100 |
---|
| 114 | minPvs 10 |
---|
[414] | 115 | maxPvs 150 |
---|
[445] | 116 | # how much samples are used for post processing |
---|
[444] | 117 | samples 10 |
---|
[378] | 118 | } |
---|
| 119 | |
---|
[445] | 120 | Visualization { |
---|
| 121 | # how much samples are be used for visualization |
---|
| 122 | samples 90000 |
---|
| 123 | } |
---|
[378] | 124 | |
---|
[319] | 125 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[361] | 126 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 127 | # filename ../data/vienna/viewcells-25.x3d |
---|
[310] | 128 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
| 129 | } |
---|
[308] | 130 | |
---|
[235] | 131 | BspTree { |
---|
[329] | 132 | Construction { |
---|
[448] | 133 | samples 50000 |
---|
| 134 | epsilon 0.005 |
---|
[329] | 135 | } |
---|
[310] | 136 | |
---|
[329] | 137 | |
---|
[321] | 138 | # random polygon = 1 |
---|
[297] | 139 | # axis aligned = 2 |
---|
| 140 | # least splits = 4 |
---|
| 141 | # balanced polygons = 8 |
---|
| 142 | # balanced view cells = 16 |
---|
| 143 | # largest polygon area = 32 |
---|
| 144 | # vertical axis = 64 |
---|
[319] | 145 | # blocked rays = 128 |
---|
[332] | 146 | # least ray splits = 256 |
---|
| 147 | # balanced rays = 512 |
---|
[367] | 148 | # pvs = 1024 |
---|
[332] | 149 | |
---|
[297] | 150 | # least splits + balanced polygons |
---|
| 151 | #splitPlaneStrategy 12 |
---|
[304] | 152 | |
---|
[301] | 153 | #axis aligned + vertical axis |
---|
[303] | 154 | #splitPlaneStrategy 66 |
---|
| 155 | |
---|
[297] | 156 | # axis aligned + balanced view cells |
---|
[302] | 157 | # splitPlaneStrategy 18 |
---|
[303] | 158 | |
---|
[297] | 159 | # largest polygon area |
---|
[301] | 160 | #splitPlaneStrategy 32 |
---|
[303] | 161 | |
---|
[298] | 162 | # axus aligned + balanced polygons |
---|
| 163 | #splitPlaneStrategy 72 |
---|
[303] | 164 | |
---|
[332] | 165 | # axis aligned + blocked rays |
---|
| 166 | #splitPlaneStrategy 130 |
---|
[319] | 167 | |
---|
[349] | 168 | #splitPlaneStrategy 384 |
---|
[352] | 169 | #splitPlaneStrategy 130 |
---|
[313] | 170 | |
---|
[436] | 171 | splitPlaneStrategy 1024 |
---|
[352] | 172 | |
---|
[436] | 173 | maxPolyCandidates 50 |
---|
| 174 | maxRayCandidates 50 |
---|
[332] | 175 | |
---|
[444] | 176 | maxTests 10000 |
---|
[441] | 177 | |
---|
[425] | 178 | # factors for evaluating split plane costs |
---|
| 179 | Factor { |
---|
| 180 | verticalSplits 1.0 |
---|
| 181 | largestPolyArea 1.0 |
---|
| 182 | blockedRays 1.0 |
---|
| 183 | leastRaySplits 1.0 |
---|
| 184 | balancedRays 1.0 |
---|
[445] | 185 | pvs 1.0 |
---|
[425] | 186 | leastSplits 1.0 |
---|
| 187 | balancedPolys 1.0 |
---|
| 188 | balancedViewCells 1.0 |
---|
| 189 | } |
---|
| 190 | |
---|
[235] | 191 | Termination { |
---|
[409] | 192 | # parameters used for autopartition |
---|
[444] | 193 | minRays 200 |
---|
[426] | 194 | minPolygons -1 |
---|
[448] | 195 | maxDepth 40 |
---|
[444] | 196 | minPvs 100 |
---|
[409] | 197 | minArea 0.01 |
---|
[410] | 198 | maxRayContribution 0.005 |
---|
[409] | 199 | #maxAccRayLength 100 |
---|
[426] | 200 | |
---|
[425] | 201 | # used for pvs criterium |
---|
| 202 | ct_div_ci 0.0 |
---|
| 203 | |
---|
[352] | 204 | # axis aligned splits |
---|
[362] | 205 | AxisAligned { |
---|
[426] | 206 | minPolys 5000 |
---|
| 207 | minRays 500 |
---|
| 208 | minObjects 10 |
---|
[362] | 209 | maxCostRatio 0.9 |
---|
| 210 | ct_div_ci 0.5 |
---|
| 211 | } |
---|
[235] | 212 | } |
---|
[332] | 213 | |
---|
[362] | 214 | AxisAligned { |
---|
| 215 | splitBorder 0.01 |
---|
| 216 | } |
---|
[367] | 217 | |
---|
[389] | 218 | |
---|
[392] | 219 | Visualization { |
---|
[389] | 220 | # x3d visualization of the split planes |
---|
| 221 | exportSplits true |
---|
| 222 | } |
---|
[235] | 223 | } |
---|
[406] | 224 | |
---|
| 225 | Simulation { |
---|
| 226 | objRenderCost 1.0 |
---|
[419] | 227 | vcOverhead 7.0 |
---|
| 228 | moveSpeed 3.0 |
---|
[409] | 229 | } |
---|
| 230 | |
---|
| 231 | VssTree { |
---|
| 232 | epsilon 1e-6 |
---|
| 233 | |
---|
| 234 | maxDepth 40 |
---|
[430] | 235 | minPvs 100 |
---|
[409] | 236 | minRays 50 |
---|
| 237 | minSize 0.00001 |
---|
| 238 | maxCostRatio 0.95 |
---|
| 239 | maxRayContribution 0.05 |
---|
| 240 | |
---|
[431] | 241 | maxTotalMemory 200 |
---|
[409] | 242 | maxStaticMemory 20 |
---|
| 243 | |
---|
| 244 | splitType regular |
---|
| 245 | # splitType heuristics |
---|
| 246 | |
---|
| 247 | numberOfEndPointDomains 10000 |
---|
| 248 | ct_div_ci 0.0 |
---|
| 249 | randomize false |
---|
| 250 | |
---|
| 251 | refDirBoxMaxSize 0.1 |
---|
| 252 | } |
---|
| 253 | |
---|
| 254 | VspKdTree { |
---|
| 255 | epsilon 1e-6 |
---|
| 256 | |
---|
[411] | 257 | Construction { |
---|
[448] | 258 | samples 100000 |
---|
[411] | 259 | } |
---|
[409] | 260 | |
---|
[411] | 261 | Termination { |
---|
[444] | 262 | maxDepth 40 |
---|
[433] | 263 | minPvs 50 |
---|
[430] | 264 | minRays 1 |
---|
| 265 | minSize 0.1 |
---|
| 266 | maxCostRatio 999.0 |
---|
| 267 | maxRayContribution 0.2 |
---|
[411] | 268 | } |
---|
| 269 | |
---|
[431] | 270 | maxTotalMemory 400 |
---|
| 271 | maxStaticMemory 200 |
---|
[409] | 272 | |
---|
[430] | 273 | splitType regular |
---|
| 274 | #splitType heuristics |
---|
[409] | 275 | ct_div_ci 0.0 |
---|
[445] | 276 | } |
---|
| 277 | |
---|
| 278 | VspBspTree { |
---|
| 279 | Construction { |
---|
[448] | 280 | samples 100000 |
---|
| 281 | epsilon 0.005 |
---|
[445] | 282 | } |
---|
| 283 | |
---|
| 284 | |
---|
| 285 | # random polygon = 1 |
---|
| 286 | # axis aligned = 2 |
---|
| 287 | # least ray splits = 256 |
---|
| 288 | # balanced rays = 512 |
---|
| 289 | # pvs = 1024 |
---|
| 290 | |
---|
| 291 | splitPlaneStrategy 1024 |
---|
| 292 | |
---|
| 293 | # maximal candidates for split planes |
---|
| 294 | maxPolyCandidates 50 |
---|
| 295 | maxRayCandidates 50 |
---|
| 296 | |
---|
| 297 | # maximal tested rays for split cost heuristics |
---|
| 298 | maxTests 10000 |
---|
| 299 | |
---|
| 300 | # factors for evaluating split plane costs |
---|
| 301 | Factor { |
---|
| 302 | leastRaySplits 1.0 |
---|
| 303 | balancedRays 1.0 |
---|
| 304 | pvs 1.0 |
---|
| 305 | } |
---|
| 306 | |
---|
| 307 | Termination { |
---|
| 308 | # parameters used for autopartition |
---|
| 309 | minRays 200 |
---|
| 310 | minPolygons -1 |
---|
[448] | 311 | maxDepth 40 |
---|
[445] | 312 | minPvs 100 |
---|
| 313 | minArea 0.01 |
---|
| 314 | maxRayContribution 0.005 |
---|
| 315 | #maxAccRayLength 100 |
---|
| 316 | |
---|
| 317 | # used for pvs criterium |
---|
| 318 | ct_div_ci 0.0 |
---|
| 319 | |
---|
| 320 | # axis aligned splits |
---|
| 321 | AxisAligned { |
---|
| 322 | minPolys 5000 |
---|
| 323 | minRays 500 |
---|
| 324 | minObjects 10 |
---|
| 325 | maxCostRatio 0.9 |
---|
| 326 | ct_div_ci 0.5 |
---|
| 327 | } |
---|
| 328 | } |
---|
| 329 | |
---|
| 330 | AxisAligned { |
---|
| 331 | splitBorder 0.01 |
---|
| 332 | } |
---|
| 333 | |
---|
| 334 | |
---|
| 335 | Visualization { |
---|
| 336 | # x3d visualization of the split planes |
---|
| 337 | exportSplits true |
---|
| 338 | } |
---|
[406] | 339 | } |
---|