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