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