[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 | #samples 2500000 |
---|
| 181 | samplesPerPass 500000 |
---|
| 182 | } |
---|
| 183 | |
---|
| 184 | #number of active view cells |
---|
| 185 | active 1024 |
---|
| 186 | maxStaticMemory 40 |
---|
| 187 | |
---|
| 188 | exportToFile true |
---|
| 189 | loadFromFile false |
---|
| 190 | |
---|
| 191 | #type kdTree |
---|
| 192 | #type vspKdTree |
---|
| 193 | #type bspTree |
---|
| 194 | type vspBspTree |
---|
| 195 | #type sceneDependent |
---|
| 196 | |
---|
| 197 | height 5.0 |
---|
| 198 | maxViewCells 3000 |
---|
| 199 | |
---|
| 200 | #percentage of total visible objects where pvs is considered invalid |
---|
| 201 | maxPvsRatio 1.0 |
---|
| 202 | |
---|
| 203 | pruneEmptyViewCells false |
---|
| 204 | processOnlyValidViewCells false |
---|
| 205 | |
---|
| 206 | #stats viewCellStats.log |
---|
| 207 | |
---|
| 208 | samplingType directional |
---|
| 209 | #samplingType box |
---|
| 210 | |
---|
| 211 | PostProcess { |
---|
| 212 | # how much samples are used for post processing |
---|
| 213 | samples 0 |
---|
| 214 | renderCostWeight 1.0 |
---|
| 215 | maxCostRatio 0.1 |
---|
| 216 | minViewCells 1 |
---|
| 217 | avgCostMaxDeviation 0.01 |
---|
| 218 | maxMergesPerPass 5000 |
---|
| 219 | useRaysForMerge false |
---|
| 220 | refine false |
---|
| 221 | compress false |
---|
| 222 | merge true |
---|
| 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 1000000 |
---|
| 244 | samples 10000000 |
---|
| 245 | statsPrefix ../scripts/viewCells |
---|
| 246 | samplingType directional |
---|
| 247 | #samplingType box |
---|
| 248 | histogram true |
---|
| 249 | histoPasses 500 |
---|
| 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_vienna.xml |
---|
| 257 | filename ../scripts/viewcells_soda.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 | # maximal cost for merging a view cell |
---|
| 296 | PostProcess { |
---|
| 297 | maxCostRatio 0.005 |
---|
| 298 | minViewCells 10000 |
---|
| 299 | maxPvsSize 5000 |
---|
| 300 | } |
---|
| 301 | |
---|
| 302 | |
---|
| 303 | Visualization { |
---|
| 304 | } |
---|
| 305 | } |
---|
| 306 | |
---|
| 307 | |
---|
| 308 | VspBspTree { |
---|
| 309 | Construction { |
---|
| 310 | samples 1500000 |
---|
| 311 | epsilon 0.0000001 |
---|
| 312 | randomize false |
---|
| 313 | renderCostWeight 1.0 |
---|
| 314 | } |
---|
| 315 | |
---|
| 316 | |
---|
| 317 | # random polygon = 1 |
---|
| 318 | # axis aligned = 2 |
---|
| 319 | # least ray splits = 256 |
---|
| 320 | # balanced rays = 512 |
---|
| 321 | # pvs = 1024 |
---|
| 322 | |
---|
| 323 | splitPlaneStrategy 1026 |
---|
| 324 | |
---|
| 325 | # maximal candidates for split planes |
---|
| 326 | maxPolyCandidates 100 |
---|
| 327 | |
---|
| 328 | usePolygonSplitIfAvailable false |
---|
| 329 | |
---|
| 330 | # maximal tested rays for split cost heuristics |
---|
| 331 | maxTests 50000 |
---|
| 332 | |
---|
| 333 | maxTotalMemory 50 |
---|
| 334 | maxStaticMemory 50 |
---|
| 335 | |
---|
| 336 | subdivisionStats ../subdivisionStats.log |
---|
| 337 | |
---|
| 338 | # factors for evaluating split plane costs |
---|
| 339 | Factor { |
---|
| 340 | leastRaySplits 1.0 |
---|
| 341 | balancedRays 1.0 |
---|
| 342 | pvs 1.0 |
---|
| 343 | } |
---|
| 344 | |
---|
| 345 | Termination { |
---|
| 346 | # parameters used for autopartition |
---|
| 347 | minRays -15 |
---|
| 348 | minPolygons -1 |
---|
| 349 | maxDepth 25 |
---|
| 350 | minPvs -15 |
---|
| 351 | minProbability 0.00000001 |
---|
| 352 | maxRayContribution 1.8 |
---|
| 353 | maxCostRatio 1.8 |
---|
| 354 | missTolerance 6 |
---|
| 355 | globalCostMissTolerance 4 |
---|
| 356 | minGlobalCostRatio 0.0000001 |
---|
| 357 | # minGlobalCostRatio 0.0001 |
---|
| 358 | maxViewCells 25000 |
---|
| 359 | |
---|
| 360 | |
---|
| 361 | # used for pvs criterium |
---|
| 362 | ct_div_ci 0.0 |
---|
| 363 | |
---|
| 364 | AxisAligned { |
---|
| 365 | minRays 50000 |
---|
| 366 | maxRayContribution 9.9 |
---|
| 367 | } |
---|
| 368 | } |
---|
| 369 | |
---|
| 370 | useSplitCostQueue true |
---|
| 371 | useCostHeuristics true |
---|
| 372 | |
---|
| 373 | splitUseOnlyDrivingAxis false |
---|
| 374 | simulateOctree false |
---|
| 375 | useRandomAxis false |
---|
| 376 | usePolygonSplitIfAvailable false |
---|
| 377 | nodePriorityQueueType 0 |
---|
| 378 | |
---|
| 379 | Visualization { |
---|
| 380 | # x3d visualization of the split planes |
---|
| 381 | exportSplits false |
---|
| 382 | } |
---|
| 383 | } |
---|
| 384 | |
---|
| 385 | BspTree { |
---|
| 386 | Construction { |
---|
| 387 | samples 100000 |
---|
| 388 | epsilon 0.005 |
---|
| 389 | } |
---|
| 390 | |
---|
| 391 | |
---|
| 392 | # random polygon = 1 |
---|
| 393 | # axis aligned = 2 |
---|
| 394 | # least splits = 4 |
---|
| 395 | # balanced polygons = 8 |
---|
| 396 | # balanced view cells = 16 |
---|
| 397 | # largest polygon area = 32 |
---|
| 398 | # vertical axis = 64 |
---|
| 399 | # blocked rays = 128 |
---|
| 400 | # least ray splits = 256 |
---|
| 401 | # balanced rays = 512 |
---|
| 402 | # pvs = 1024 |
---|
| 403 | |
---|
| 404 | # least splits + balanced polygons |
---|
| 405 | #splitPlaneStrategy 12 |
---|
| 406 | |
---|
| 407 | #axis aligned + vertical axis |
---|
| 408 | #splitPlaneStrategy 66 |
---|
| 409 | |
---|
| 410 | # axis aligned + balanced view cells |
---|
| 411 | # splitPlaneStrategy 18 |
---|
| 412 | |
---|
| 413 | # largest polygon area |
---|
| 414 | #splitPlaneStrategy 32 |
---|
| 415 | |
---|
| 416 | # axus aligned + balanced polygons |
---|
| 417 | #splitPlaneStrategy 72 |
---|
| 418 | |
---|
| 419 | # axis aligned + blocked rays |
---|
| 420 | #splitPlaneStrategy 130 |
---|
| 421 | |
---|
| 422 | #splitPlaneStrategy 384 |
---|
| 423 | #splitPlaneStrategy 130 |
---|
| 424 | |
---|
| 425 | splitPlaneStrategy 32 |
---|
| 426 | |
---|
| 427 | maxPolyCandidates 100 |
---|
| 428 | maxRayCandidates 0 |
---|
| 429 | |
---|
| 430 | maxTests 10000 |
---|
| 431 | |
---|
| 432 | subdivisionStats ../subDivisionStats.log |
---|
| 433 | |
---|
| 434 | # factors for evaluating split plane costs |
---|
| 435 | Factor { |
---|
| 436 | verticalSplits 1.0 |
---|
| 437 | largestPolyArea 1.0 |
---|
| 438 | blockedRays 1.0 |
---|
| 439 | leastRaySplits 1.0 |
---|
| 440 | balancedRays 1.0 |
---|
| 441 | pvs 1.0 |
---|
| 442 | leastSplits 1.0 |
---|
| 443 | balancedPolys 1.0 |
---|
| 444 | balancedViewCells 1.0 |
---|
| 445 | } |
---|
| 446 | |
---|
| 447 | Termination { |
---|
| 448 | # parameters used for autopartition |
---|
| 449 | minRays -1 |
---|
| 450 | minPolygons 0 |
---|
| 451 | maxDepth 30 |
---|
| 452 | minPvs -1 |
---|
| 453 | minProbability 0.00001 |
---|
| 454 | maxRayContribution 9999 |
---|
| 455 | maxViewCells 20000 |
---|
| 456 | |
---|
| 457 | # used for pvs criterium |
---|
| 458 | ct_div_ci 0.0 |
---|
| 459 | |
---|
| 460 | maxCostRatio 0.9 |
---|
| 461 | |
---|
| 462 | # axis aligned splits |
---|
| 463 | AxisAligned { |
---|
| 464 | minPolys 5000 |
---|
| 465 | minRays 500 |
---|
| 466 | minObjects 10 |
---|
| 467 | ct_div_ci 0.5 |
---|
| 468 | } |
---|
| 469 | } |
---|
| 470 | |
---|
| 471 | AxisAligned { |
---|
| 472 | splitBorder 0.01 |
---|
| 473 | } |
---|
| 474 | |
---|
| 475 | |
---|
| 476 | Visualization { |
---|
| 477 | # x3d visualization of the split planes |
---|
| 478 | exportSplits false |
---|
| 479 | } |
---|
| 480 | } |
---|