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