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