[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 |
---|
[577] | 15 | # filename ../data/atlanta/atlanta2.x3d |
---|
[235] | 16 | # filename ../data/soda/soda.dat |
---|
[577] | 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 |
---|
[575] | 27 | detectEmptyViewSpace false |
---|
[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 |
---|
[547] | 38 | useViewSpaceBox true |
---|
[562] | 39 | # testBeamSampling true |
---|
[430] | 40 | } |
---|
| 41 | |
---|
[451] | 42 | |
---|
[508] | 43 | SamplingPreprocessor { |
---|
| 44 | totalSamples 500000 |
---|
| 45 | samplesPerPass 3 |
---|
| 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 |
---|
[535] | 67 | |
---|
| 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 |
---|
| 96 | } |
---|
| 97 | |
---|
| 98 | useViewcells true |
---|
| 99 | updateSubdivision true |
---|
[577] | 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 | |
---|
| 119 | # splitType regular |
---|
| 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 | |
---|
| 142 | Unigraphics { |
---|
| 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 { |
---|
[580] | 178 | samples 1200000 |
---|
| 179 | samplesPerPass 300000 |
---|
[574] | 180 | } |
---|
[577] | 181 | |
---|
[564] | 182 | exportToFile false |
---|
[578] | 183 | loadFromFile false |
---|
[577] | 184 | |
---|
[441] | 185 | #type kdTree |
---|
[497] | 186 | #type vspKdTree |
---|
[542] | 187 | type bspTree |
---|
[486] | 188 | type vspBspTree |
---|
[445] | 189 | |
---|
[441] | 190 | #type sceneDependent |
---|
[329] | 191 | |
---|
[321] | 192 | height 5.0 |
---|
[551] | 193 | maxViewCells 3000 |
---|
[513] | 194 | #percentage of total visible objects where pvs is considered invalid |
---|
[579] | 195 | maxPvsRatio 1.0 |
---|
[508] | 196 | |
---|
[564] | 197 | pruneEmptyViewCells false |
---|
| 198 | processOnlyValidViewCells false |
---|
| 199 | |
---|
[478] | 200 | PostProcess { |
---|
[445] | 201 | # how much samples are used for post processing |
---|
[551] | 202 | samples 300000 |
---|
[580] | 203 | renderCostWeight 0.5 |
---|
| 204 | maxCostRatio 0.1 |
---|
| 205 | minViewCells 110 |
---|
| 206 | avgCostMaxDeviation 0.8 |
---|
| 207 | maxMergesPerPass 500 |
---|
| 208 | useRaysForMerge false |
---|
[378] | 209 | } |
---|
| 210 | |
---|
[445] | 211 | Visualization { |
---|
[490] | 212 | # how much samples we use for visualization |
---|
[574] | 213 | samples 100000 |
---|
[551] | 214 | #colorCode PVS |
---|
[482] | 215 | #colorCode MergedLeaves |
---|
| 216 | #colorCode MergedTreeDiff |
---|
[551] | 217 | colorCode Random |
---|
[491] | 218 | exportRays false |
---|
[530] | 219 | exportGeometry true |
---|
[580] | 220 | exportMergedViewCells false |
---|
[445] | 221 | } |
---|
[378] | 222 | |
---|
[319] | 223 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[485] | 224 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
[361] | 225 | # filename ../data/vienna/viewcells-25.x3d |
---|
[310] | 226 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
[540] | 227 | # filename ../scripts/viewcells_vienna.xml |
---|
| 228 | filename ../scripts/viewcells_atlanta.xml |
---|
[310] | 229 | } |
---|
[308] | 230 | |
---|
[310] | 231 | |
---|
[406] | 232 | Simulation { |
---|
| 233 | objRenderCost 1.0 |
---|
[480] | 234 | vcOverhead 1.0 |
---|
[479] | 235 | # always between 0 and 1 |
---|
[480] | 236 | moveSpeed 0.0001 |
---|
[409] | 237 | } |
---|
| 238 | |
---|
| 239 | |
---|
| 240 | VspKdTree { |
---|
| 241 | epsilon 1e-6 |
---|
| 242 | |
---|
[411] | 243 | Construction { |
---|
[542] | 244 | samples 500000 |
---|
[411] | 245 | } |
---|
[409] | 246 | |
---|
[411] | 247 | Termination { |
---|
[444] | 248 | maxDepth 40 |
---|
[503] | 249 | minPvs 50 |
---|
[542] | 250 | minRays 800 |
---|
[503] | 251 | minSize 0.001 |
---|
| 252 | maxCostRatio 0.9 |
---|
[485] | 253 | missTolerance 4 |
---|
[542] | 254 | maxRayContribution 0.5 |
---|
[411] | 255 | } |
---|
| 256 | |
---|
[485] | 257 | maxTotalMemory 100 |
---|
[542] | 258 | maxStaticMemory 40 |
---|
[409] | 259 | |
---|
[430] | 260 | splitType regular |
---|
| 261 | #splitType heuristics |
---|
[542] | 262 | splitUseOnlyDrivingAxis false |
---|
[409] | 263 | ct_div_ci 0.0 |
---|
[462] | 264 | |
---|
| 265 | # maximal cost for merging a view cell |
---|
[465] | 266 | PostProcess { |
---|
[482] | 267 | maxCostRatio 0.005 |
---|
[542] | 268 | minViewCells 1000 |
---|
[568] | 269 | maxPvsSize 5000 |
---|
[465] | 270 | } |
---|
[469] | 271 | |
---|
| 272 | |
---|
| 273 | Visualization { |
---|
| 274 | } |
---|
[445] | 275 | } |
---|
| 276 | |
---|
| 277 | VspBspTree { |
---|
| 278 | Construction { |
---|
[578] | 279 | samples 900000 |
---|
[448] | 280 | epsilon 0.005 |
---|
[490] | 281 | randomize false |
---|
[580] | 282 | renderCostWeight 0.5 |
---|
[445] | 283 | } |
---|
| 284 | |
---|
| 285 | |
---|
| 286 | # random polygon = 1 |
---|
| 287 | # axis aligned = 2 |
---|
| 288 | # least ray splits = 256 |
---|
| 289 | # balanced rays = 512 |
---|
| 290 | # pvs = 1024 |
---|
| 291 | |
---|
[547] | 292 | splitPlaneStrategy 1024 |
---|
[508] | 293 | |
---|
[445] | 294 | # maximal candidates for split planes |
---|
[474] | 295 | maxPolyCandidates 100 |
---|
[517] | 296 | #maxRayCandidates 100 |
---|
[445] | 297 | |
---|
| 298 | # maximal tested rays for split cost heuristics |
---|
[508] | 299 | maxTests 10000 |
---|
[445] | 300 | |
---|
[542] | 301 | maxTotalMemory 50 |
---|
| 302 | maxStaticMemory 50 |
---|
| 303 | |
---|
[445] | 304 | # factors for evaluating split plane costs |
---|
| 305 | Factor { |
---|
| 306 | leastRaySplits 1.0 |
---|
| 307 | balancedRays 1.0 |
---|
| 308 | pvs 1.0 |
---|
| 309 | } |
---|
| 310 | |
---|
| 311 | Termination { |
---|
| 312 | # parameters used for autopartition |
---|
[575] | 313 | minRays 150 |
---|
[472] | 314 | minPolygons -1 |
---|
| 315 | maxDepth 30 |
---|
[517] | 316 | minPvs 10 |
---|
[547] | 317 | #minProbability 0.0001 |
---|
| 318 | minProbability -1 |
---|
[575] | 319 | maxRayContribution 0.3 |
---|
[557] | 320 | maxCostRatio 0.9 |
---|
[522] | 321 | missTolerance 3 |
---|
[472] | 322 | #maxAccRayLength 100 |
---|
[445] | 323 | |
---|
[578] | 324 | maxViewCells 5000 |
---|
[478] | 325 | |
---|
[445] | 326 | # used for pvs criterium |
---|
| 327 | ct_div_ci 0.0 |
---|
[508] | 328 | |
---|
| 329 | AxisAligned { |
---|
[542] | 330 | minRays 4000 |
---|
[508] | 331 | maxRayContribution 0.5 |
---|
| 332 | } |
---|
[482] | 333 | } |
---|
[445] | 334 | |
---|
[485] | 335 | splitUseOnlyDrivingAxis false |
---|
| 336 | |
---|
[445] | 337 | Visualization { |
---|
| 338 | # x3d visualization of the split planes |
---|
[542] | 339 | exportSplits true |
---|
[473] | 340 | } |
---|
| 341 | } |
---|
| 342 | |
---|
| 343 | BspTree { |
---|
| 344 | Construction { |
---|
| 345 | samples 50000 |
---|
| 346 | epsilon 0.005 |
---|
| 347 | } |
---|
| 348 | |
---|
| 349 | |
---|
| 350 | # random polygon = 1 |
---|
| 351 | # axis aligned = 2 |
---|
| 352 | # least splits = 4 |
---|
| 353 | # balanced polygons = 8 |
---|
| 354 | # balanced view cells = 16 |
---|
| 355 | # largest polygon area = 32 |
---|
| 356 | # vertical axis = 64 |
---|
| 357 | # blocked rays = 128 |
---|
| 358 | # least ray splits = 256 |
---|
| 359 | # balanced rays = 512 |
---|
| 360 | # pvs = 1024 |
---|
| 361 | |
---|
| 362 | # least splits + balanced polygons |
---|
| 363 | #splitPlaneStrategy 12 |
---|
| 364 | |
---|
| 365 | #axis aligned + vertical axis |
---|
| 366 | #splitPlaneStrategy 66 |
---|
| 367 | |
---|
| 368 | # axis aligned + balanced view cells |
---|
| 369 | # splitPlaneStrategy 18 |
---|
| 370 | |
---|
| 371 | # largest polygon area |
---|
| 372 | #splitPlaneStrategy 32 |
---|
| 373 | |
---|
| 374 | # axus aligned + balanced polygons |
---|
| 375 | #splitPlaneStrategy 72 |
---|
| 376 | |
---|
| 377 | # axis aligned + blocked rays |
---|
| 378 | #splitPlaneStrategy 130 |
---|
| 379 | |
---|
| 380 | #splitPlaneStrategy 384 |
---|
| 381 | #splitPlaneStrategy 130 |
---|
| 382 | |
---|
| 383 | splitPlaneStrategy 1024 |
---|
| 384 | |
---|
| 385 | maxPolyCandidates 50 |
---|
| 386 | maxRayCandidates 50 |
---|
| 387 | |
---|
| 388 | maxTests 10000 |
---|
| 389 | |
---|
| 390 | # factors for evaluating split plane costs |
---|
| 391 | Factor { |
---|
| 392 | verticalSplits 1.0 |
---|
| 393 | largestPolyArea 1.0 |
---|
| 394 | blockedRays 1.0 |
---|
| 395 | leastRaySplits 1.0 |
---|
| 396 | balancedRays 1.0 |
---|
| 397 | pvs 1.0 |
---|
| 398 | leastSplits 1.0 |
---|
| 399 | balancedPolys 1.0 |
---|
| 400 | balancedViewCells 1.0 |
---|
| 401 | } |
---|
| 402 | |
---|
| 403 | Termination { |
---|
| 404 | # parameters used for autopartition |
---|
| 405 | minRays 200 |
---|
| 406 | minPolygons -1 |
---|
| 407 | maxDepth 40 |
---|
| 408 | minPvs 100 |
---|
| 409 | minArea 0.01 |
---|
| 410 | maxRayContribution 0.005 |
---|
| 411 | #maxAccRayLength 100 |
---|
| 412 | |
---|
| 413 | # used for pvs criterium |
---|
| 414 | ct_div_ci 0.0 |
---|
| 415 | |
---|
| 416 | maxCostRatio 0.9 |
---|
| 417 | |
---|
| 418 | # axis aligned splits |
---|
| 419 | AxisAligned { |
---|
| 420 | minPolys 5000 |
---|
| 421 | minRays 500 |
---|
| 422 | minObjects 10 |
---|
| 423 | ct_div_ci 0.5 |
---|
| 424 | } |
---|
| 425 | } |
---|
| 426 | |
---|
| 427 | AxisAligned { |
---|
| 428 | splitBorder 0.01 |
---|
| 429 | } |
---|
| 430 | |
---|
| 431 | |
---|
| 432 | Visualization { |
---|
| 433 | # x3d visualization of the split planes |
---|
| 434 | exportSplits true |
---|
[445] | 435 | } |
---|
[473] | 436 | } |
---|