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