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