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