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