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