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