[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 |
---|
[503] | 15 | filename ../data/atlanta/atlanta2.x3d |
---|
[235] | 16 | # filename ../data/soda/soda.dat |
---|
[508] | 17 | filename ../data/soda/soda5.dat |
---|
[235] | 18 | } |
---|
| 19 | |
---|
[430] | 20 | Preprocessor { |
---|
[490] | 21 | # stored sample rays |
---|
| 22 | samplesFilename rays.out |
---|
[508] | 23 | useGlRenderer false |
---|
[452] | 24 | # type sampling |
---|
| 25 | type vss |
---|
[451] | 26 | # type rss |
---|
[430] | 27 | } |
---|
| 28 | |
---|
| 29 | VssPreprocessor { |
---|
[508] | 30 | samplesPerPass 500000 |
---|
| 31 | initialSamples 200000 |
---|
| 32 | vssSamples 200000 |
---|
[462] | 33 | vssSamplesPerPass 100000 |
---|
[430] | 34 | useImportanceSampling true |
---|
[495] | 35 | loadInitialSamples false |
---|
[491] | 36 | storeInitialSamples false |
---|
[508] | 37 | useViewSpaceBox true |
---|
[430] | 38 | } |
---|
| 39 | |
---|
[451] | 40 | |
---|
[508] | 41 | SamplingPreprocessor { |
---|
| 42 | totalSamples 500000 |
---|
| 43 | samplesPerPass 3 |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | |
---|
[430] | 47 | VssTree { |
---|
[451] | 48 | useRss false |
---|
[430] | 49 | epsilon 1e-6 |
---|
| 50 | |
---|
| 51 | maxDepth 40 |
---|
[465] | 52 | minPvs 30 |
---|
| 53 | minRays 1000 |
---|
[430] | 54 | minSize 0.001 |
---|
[465] | 55 | maxCostRatio 0.9 |
---|
[430] | 56 | maxRayContribution 0.05 |
---|
| 57 | |
---|
| 58 | maxTotalMemory 200 |
---|
[465] | 59 | maxStaticMemory 20 |
---|
[430] | 60 | |
---|
| 61 | splitType regular |
---|
[451] | 62 | # splitType heuristic |
---|
| 63 | # splitType hybrid |
---|
| 64 | splitUseOnlyDrivingAxis true |
---|
[430] | 65 | |
---|
[451] | 66 | interleaveDirSplits false |
---|
| 67 | dirSplitDepth 40 |
---|
| 68 | |
---|
[430] | 69 | numberOfEndPointDomains 10000 |
---|
| 70 | ct_div_ci 0.0 |
---|
| 71 | randomize false |
---|
| 72 | |
---|
| 73 | refDirBoxMaxSize 0.1 |
---|
| 74 | } |
---|
| 75 | |
---|
[451] | 76 | RssPreprocessor { |
---|
| 77 | samplesPerPass 100000 |
---|
[497] | 78 | initialSamples 500000 |
---|
| 79 | vssSamples 10000000 |
---|
| 80 | vssSamplesPerPass 500000 |
---|
[451] | 81 | useImportanceSampling true |
---|
[497] | 82 | |
---|
| 83 | directionalSampling true |
---|
| 84 | objectBasedSampling false |
---|
| 85 | |
---|
| 86 | Export { |
---|
| 87 | pvs false |
---|
| 88 | rssTree false |
---|
| 89 | rays true |
---|
| 90 | numRays 5000 |
---|
| 91 | } |
---|
| 92 | |
---|
| 93 | useViewcells true |
---|
| 94 | updateSubdivision true |
---|
| 95 | loadInitialSamples true |
---|
[490] | 96 | storeInitialSamples false |
---|
[451] | 97 | } |
---|
| 98 | |
---|
[497] | 99 | |
---|
[451] | 100 | RssTree { |
---|
[497] | 101 | |
---|
[451] | 102 | epsilon 1e-6 |
---|
| 103 | |
---|
| 104 | maxDepth 40 |
---|
[497] | 105 | minPvs 3 |
---|
[451] | 106 | minRays 30 |
---|
| 107 | minSize 0.001 |
---|
[497] | 108 | maxCostRatio 1.0 |
---|
| 109 | maxRayContribution 0.5 |
---|
| 110 | maxRays 1000000 |
---|
[451] | 111 | maxTotalMemory 200 |
---|
| 112 | maxStaticMemory 100 |
---|
| 113 | |
---|
| 114 | # splitType regular |
---|
| 115 | # splitType heuristic |
---|
| 116 | splitType hybrid |
---|
[497] | 117 | splitUseOnlyDrivingAxis true |
---|
| 118 | importanceBasedCost false |
---|
[451] | 119 | |
---|
| 120 | interleaveDirSplits true |
---|
[497] | 121 | dirSplitDepth 0 |
---|
[451] | 122 | |
---|
| 123 | numberOfEndPointDomains 10000 |
---|
| 124 | ct_div_ci 0.0 |
---|
| 125 | randomize false |
---|
| 126 | |
---|
| 127 | refDirBoxMaxSize 0.1 |
---|
| 128 | } |
---|
| 129 | |
---|
[235] | 130 | Limits { |
---|
| 131 | |
---|
| 132 | threshold 1e-6 |
---|
| 133 | small 1e-6 |
---|
| 134 | infinity 1e9 |
---|
| 135 | } |
---|
| 136 | |
---|
| 137 | Unigraphics { |
---|
| 138 | meshGrouping 1 |
---|
| 139 | } |
---|
| 140 | |
---|
| 141 | KdTree { |
---|
| 142 | sahUseFaces true |
---|
| 143 | Termination { |
---|
[430] | 144 | minCost 1 |
---|
[235] | 145 | maxDepth 18 |
---|
| 146 | maxCostRatio 0.9 |
---|
| 147 | ct_div_ci 0.5 |
---|
| 148 | } |
---|
| 149 | |
---|
| 150 | # splitMethod spatialMedian |
---|
| 151 | splitMethod SAH |
---|
| 152 | splitBorder 0.01 |
---|
| 153 | } |
---|
| 154 | |
---|
| 155 | MeshKdTree { |
---|
| 156 | Termination { |
---|
[430] | 157 | minCost 1 |
---|
[235] | 158 | maxDepth 18 |
---|
| 159 | maxCostRatio 0.9 |
---|
| 160 | ct_div_ci 0.5 |
---|
| 161 | } |
---|
| 162 | |
---|
| 163 | # splitMethod spatialMedian |
---|
| 164 | splitMethod SAH |
---|
| 165 | splitBorder 0.01 |
---|
| 166 | } |
---|
| 167 | |
---|
| 168 | |
---|
| 169 | |
---|
[310] | 170 | ViewCells { |
---|
[441] | 171 | loadFromFile false |
---|
[508] | 172 | exportToFile true |
---|
[441] | 173 | #type kdTree |
---|
[497] | 174 | #type vspKdTree |
---|
[445] | 175 | #type bspTree |
---|
[486] | 176 | type vspBspTree |
---|
[445] | 177 | |
---|
[441] | 178 | #type sceneDependent |
---|
[329] | 179 | |
---|
[321] | 180 | height 5.0 |
---|
[491] | 181 | maxViewCells 500 |
---|
[508] | 182 | maxPvs 500 |
---|
| 183 | |
---|
[478] | 184 | PostProcess { |
---|
[445] | 185 | # how much samples are used for post processing |
---|
[485] | 186 | samples 100000 |
---|
[378] | 187 | } |
---|
| 188 | |
---|
[445] | 189 | Visualization { |
---|
[490] | 190 | # how much samples we use for visualization |
---|
| 191 | samples 5000 |
---|
[482] | 192 | #colorCode PVS |
---|
| 193 | #colorCode MergedLeaves |
---|
| 194 | #colorCode MergedTreeDiff |
---|
| 195 | colorCode Random |
---|
[491] | 196 | exportRays false |
---|
[508] | 197 | exportGeometry true |
---|
[445] | 198 | } |
---|
[378] | 199 | |
---|
[319] | 200 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[485] | 201 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
[361] | 202 | # filename ../data/vienna/viewcells-25.x3d |
---|
[310] | 203 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
[508] | 204 | filename ../scripts/viewcells.xml |
---|
[310] | 205 | } |
---|
[308] | 206 | |
---|
[310] | 207 | |
---|
[406] | 208 | Simulation { |
---|
| 209 | objRenderCost 1.0 |
---|
[480] | 210 | vcOverhead 1.0 |
---|
[479] | 211 | # always between 0 and 1 |
---|
[480] | 212 | moveSpeed 0.0001 |
---|
[409] | 213 | } |
---|
| 214 | |
---|
| 215 | |
---|
| 216 | VspKdTree { |
---|
| 217 | epsilon 1e-6 |
---|
| 218 | |
---|
[411] | 219 | Construction { |
---|
[452] | 220 | samples 300000 |
---|
[411] | 221 | } |
---|
[409] | 222 | |
---|
[411] | 223 | Termination { |
---|
[444] | 224 | maxDepth 40 |
---|
[503] | 225 | minPvs 50 |
---|
[508] | 226 | minRays 700 |
---|
[503] | 227 | minSize 0.001 |
---|
| 228 | maxCostRatio 0.9 |
---|
[485] | 229 | missTolerance 4 |
---|
[508] | 230 | maxRayContribution 0.05 |
---|
[411] | 231 | } |
---|
| 232 | |
---|
[485] | 233 | maxTotalMemory 100 |
---|
[503] | 234 | maxStaticMemory 50 |
---|
[409] | 235 | |
---|
[430] | 236 | splitType regular |
---|
| 237 | #splitType heuristics |
---|
[485] | 238 | splitUseOnlyDrivingAxis true |
---|
[409] | 239 | ct_div_ci 0.0 |
---|
[462] | 240 | |
---|
| 241 | # maximal cost for merging a view cell |
---|
[465] | 242 | PostProcess { |
---|
[482] | 243 | maxCostRatio 0.005 |
---|
[489] | 244 | minViewCells 200 |
---|
[465] | 245 | maxPvsSize 50000 |
---|
| 246 | } |
---|
[469] | 247 | |
---|
| 248 | |
---|
| 249 | Visualization { |
---|
| 250 | } |
---|
[445] | 251 | } |
---|
| 252 | |
---|
| 253 | VspBspTree { |
---|
| 254 | Construction { |
---|
[495] | 255 | samples 500000 |
---|
[448] | 256 | epsilon 0.005 |
---|
[490] | 257 | randomize false |
---|
[445] | 258 | } |
---|
| 259 | |
---|
| 260 | |
---|
| 261 | # random polygon = 1 |
---|
| 262 | # axis aligned = 2 |
---|
| 263 | # least ray splits = 256 |
---|
| 264 | # balanced rays = 512 |
---|
| 265 | # pvs = 1024 |
---|
| 266 | |
---|
[508] | 267 | splitPlaneStrategy 1026 |
---|
| 268 | |
---|
[445] | 269 | # maximal candidates for split planes |
---|
[474] | 270 | maxPolyCandidates 100 |
---|
| 271 | maxRayCandidates 100 |
---|
[445] | 272 | |
---|
| 273 | # maximal tested rays for split cost heuristics |
---|
[508] | 274 | maxTests 10000 |
---|
[445] | 275 | |
---|
| 276 | # factors for evaluating split plane costs |
---|
| 277 | Factor { |
---|
| 278 | leastRaySplits 1.0 |
---|
| 279 | balancedRays 1.0 |
---|
| 280 | pvs 1.0 |
---|
| 281 | } |
---|
| 282 | |
---|
| 283 | Termination { |
---|
| 284 | # parameters used for autopartition |
---|
[508] | 285 | minRays 500 |
---|
[472] | 286 | minPolygons -1 |
---|
| 287 | maxDepth 30 |
---|
[503] | 288 | minPvs 20 |
---|
[508] | 289 | minArea 0.0001 |
---|
| 290 | #minArea 0.000 |
---|
| 291 | maxRayContribution 0.5 |
---|
| 292 | maxCostRatio 0.95 |
---|
[503] | 293 | missTolerance 5 |
---|
[472] | 294 | #maxAccRayLength 100 |
---|
[445] | 295 | |
---|
[508] | 296 | maxViewCells 200000 |
---|
[478] | 297 | |
---|
[445] | 298 | # used for pvs criterium |
---|
| 299 | ct_div_ci 0.0 |
---|
[508] | 300 | |
---|
| 301 | AxisAligned { |
---|
| 302 | minRays 2000 |
---|
| 303 | maxRayContribution 0.5 |
---|
| 304 | } |
---|
[482] | 305 | } |
---|
[445] | 306 | |
---|
[485] | 307 | splitUseOnlyDrivingAxis false |
---|
| 308 | |
---|
[445] | 309 | Visualization { |
---|
| 310 | # x3d visualization of the split planes |
---|
| 311 | exportSplits true |
---|
[473] | 312 | } |
---|
[478] | 313 | |
---|
| 314 | PostProcess { |
---|
[485] | 315 | maxCostRatio 0.1 |
---|
[508] | 316 | minViewCells 200 |
---|
[491] | 317 | maxPvsSize 1000 |
---|
[503] | 318 | useRaysForMerge true |
---|
[478] | 319 | } |
---|
[473] | 320 | } |
---|
| 321 | |
---|
| 322 | BspTree { |
---|
| 323 | Construction { |
---|
| 324 | samples 50000 |
---|
| 325 | epsilon 0.005 |
---|
| 326 | } |
---|
| 327 | |
---|
| 328 | |
---|
| 329 | # random polygon = 1 |
---|
| 330 | # axis aligned = 2 |
---|
| 331 | # least splits = 4 |
---|
| 332 | # balanced polygons = 8 |
---|
| 333 | # balanced view cells = 16 |
---|
| 334 | # largest polygon area = 32 |
---|
| 335 | # vertical axis = 64 |
---|
| 336 | # blocked rays = 128 |
---|
| 337 | # least ray splits = 256 |
---|
| 338 | # balanced rays = 512 |
---|
| 339 | # pvs = 1024 |
---|
| 340 | |
---|
| 341 | # least splits + balanced polygons |
---|
| 342 | #splitPlaneStrategy 12 |
---|
| 343 | |
---|
| 344 | #axis aligned + vertical axis |
---|
| 345 | #splitPlaneStrategy 66 |
---|
| 346 | |
---|
| 347 | # axis aligned + balanced view cells |
---|
| 348 | # splitPlaneStrategy 18 |
---|
| 349 | |
---|
| 350 | # largest polygon area |
---|
| 351 | #splitPlaneStrategy 32 |
---|
| 352 | |
---|
| 353 | # axus aligned + balanced polygons |
---|
| 354 | #splitPlaneStrategy 72 |
---|
| 355 | |
---|
| 356 | # axis aligned + blocked rays |
---|
| 357 | #splitPlaneStrategy 130 |
---|
| 358 | |
---|
| 359 | #splitPlaneStrategy 384 |
---|
| 360 | #splitPlaneStrategy 130 |
---|
| 361 | |
---|
| 362 | splitPlaneStrategy 1024 |
---|
| 363 | |
---|
| 364 | maxPolyCandidates 50 |
---|
| 365 | maxRayCandidates 50 |
---|
| 366 | |
---|
| 367 | maxTests 10000 |
---|
| 368 | |
---|
| 369 | # factors for evaluating split plane costs |
---|
| 370 | Factor { |
---|
| 371 | verticalSplits 1.0 |
---|
| 372 | largestPolyArea 1.0 |
---|
| 373 | blockedRays 1.0 |
---|
| 374 | leastRaySplits 1.0 |
---|
| 375 | balancedRays 1.0 |
---|
| 376 | pvs 1.0 |
---|
| 377 | leastSplits 1.0 |
---|
| 378 | balancedPolys 1.0 |
---|
| 379 | balancedViewCells 1.0 |
---|
| 380 | } |
---|
| 381 | |
---|
| 382 | Termination { |
---|
| 383 | # parameters used for autopartition |
---|
| 384 | minRays 200 |
---|
| 385 | minPolygons -1 |
---|
| 386 | maxDepth 40 |
---|
| 387 | minPvs 100 |
---|
| 388 | minArea 0.01 |
---|
| 389 | maxRayContribution 0.005 |
---|
| 390 | #maxAccRayLength 100 |
---|
| 391 | |
---|
| 392 | # used for pvs criterium |
---|
| 393 | ct_div_ci 0.0 |
---|
| 394 | |
---|
| 395 | maxCostRatio 0.9 |
---|
| 396 | |
---|
| 397 | # axis aligned splits |
---|
| 398 | AxisAligned { |
---|
| 399 | minPolys 5000 |
---|
| 400 | minRays 500 |
---|
| 401 | minObjects 10 |
---|
| 402 | ct_div_ci 0.5 |
---|
| 403 | } |
---|
| 404 | } |
---|
| 405 | |
---|
| 406 | AxisAligned { |
---|
| 407 | splitBorder 0.01 |
---|
| 408 | } |
---|
| 409 | |
---|
| 410 | |
---|
| 411 | Visualization { |
---|
| 412 | # x3d visualization of the split planes |
---|
| 413 | exportSplits true |
---|
[445] | 414 | } |
---|
[473] | 415 | } |
---|