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