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