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