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