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