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