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