[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 |
---|
| 10 | # filename ../data/vienna/vienna-buildings.x3d |
---|
| 11 | filename ../data/vienna/city1500_flat_1.x3d |
---|
| 12 | # filename ../data/vienna/vienna-buildings.x3d;../data/vienna-roads.x3d;../data/vienna/vienna-roofs.x3d |
---|
| 13 | filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d |
---|
| 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 |
---|
| 31 | loadPolygonsAsMeshes false |
---|
| 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 | pruneEmptyViewCells false |
---|
| 208 | processOnlyValidViewCells false |
---|
| 209 | |
---|
| 210 | #stats viewCellStats.log |
---|
| 211 | |
---|
| 212 | #samplingType directional |
---|
| 213 | samplingType box |
---|
| 214 | |
---|
| 215 | PostProcess { |
---|
| 216 | # how much samples are used for post processing |
---|
| 217 | samples 0 |
---|
| 218 | renderCostWeight 1.0 |
---|
| 219 | maxCostRatio 0.1 |
---|
| 220 | minViewCells 1 |
---|
| 221 | avgCostMaxDeviation 0.01 |
---|
| 222 | maxMergesPerPass 5000 |
---|
| 223 | useRaysForMerge false |
---|
| 224 | refine false |
---|
| 225 | compress false |
---|
[1052] | 226 | merge false |
---|
[942] | 227 | } |
---|
| 228 | |
---|
| 229 | Visualization { |
---|
| 230 | # how much samples we use for visualization |
---|
| 231 | samples 0 |
---|
| 232 | #colorCode PVS |
---|
| 233 | #colorCode MergedLeaves |
---|
| 234 | #colorCode MergedTreeDiff |
---|
| 235 | colorCode Random |
---|
| 236 | exportRays false |
---|
| 237 | exportGeometry true |
---|
| 238 | exportMergedViewCells false |
---|
| 239 | useClipPlane true |
---|
| 240 | clipPlaneAxis 1 |
---|
| 241 | clipPlanePos 0.3 |
---|
| 242 | } |
---|
| 243 | |
---|
| 244 | showVisualization true |
---|
| 245 | evaluateViewCells true |
---|
| 246 | |
---|
| 247 | Evaluation { |
---|
| 248 | samplesPerPass 1000000 |
---|
| 249 | samples 1000000 |
---|
| 250 | statsPrefix ../scripts/viewCells |
---|
| 251 | #samplingType directional |
---|
| 252 | samplingType box |
---|
| 253 | histogram true |
---|
[1052] | 254 | histoStepSize 5000 |
---|
[942] | 255 | } |
---|
| 256 | |
---|
| 257 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
| 258 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 259 | # filename ../data/vienna/viewcells-25.x3d |
---|
| 260 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
| 261 | # filename ../scripts/viewcells_vienyena.xml |
---|
| 262 | filename ../scripts/viewcells_atlanta.xml |
---|
| 263 | } |
---|
| 264 | |
---|
| 265 | |
---|
| 266 | Simulation { |
---|
| 267 | objRenderCost 1.0 |
---|
| 268 | vcOverhead 1.0 |
---|
| 269 | # always between 0 and 1 |
---|
| 270 | moveSpeed 0.0001 |
---|
| 271 | } |
---|
| 272 | |
---|
| 273 | |
---|
| 274 | VspBspTree { |
---|
| 275 | Construction { |
---|
| 276 | samples 1000000 |
---|
| 277 | epsilon 0.0000001 |
---|
| 278 | randomize false |
---|
| 279 | renderCostWeight 1.0 |
---|
| 280 | } |
---|
| 281 | |
---|
| 282 | |
---|
| 283 | # random polygon = 1 |
---|
| 284 | # axis aligned = 2 |
---|
| 285 | # least ray splits = 256 |
---|
| 286 | # balanced rays = 512 |
---|
| 287 | # pvs = 1024 |
---|
| 288 | |
---|
| 289 | splitPlaneStrategy 1026 |
---|
| 290 | |
---|
| 291 | # maximal candidates for split planes |
---|
| 292 | maxPolyCandidates 20 |
---|
| 293 | |
---|
| 294 | usePolygonSplitIfAvailable false |
---|
| 295 | |
---|
| 296 | # maximal tested rays for split cost heuristics |
---|
| 297 | maxTests 10000 |
---|
| 298 | |
---|
| 299 | maxTotalMemory 50 |
---|
| 300 | maxStaticMemory 50 |
---|
| 301 | |
---|
| 302 | subdivisionStats ../subdivisionStats.log |
---|
| 303 | |
---|
| 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 |
---|
| 313 | minRays -15 |
---|
| 314 | minPolygons -1 |
---|
| 315 | maxDepth 25 |
---|
| 316 | minPvs -15 |
---|
| 317 | minProbability 0.000001 |
---|
| 318 | maxRayContribution 1.8 |
---|
| 319 | maxCostRatio 1.8 |
---|
| 320 | missTolerance 6 |
---|
| 321 | globalCostMissTolerance 4 |
---|
| 322 | minGlobalCostRatio 0.0000001 |
---|
| 323 | #minGlobalCostRatio 0.0001 |
---|
| 324 | #maxViewCells 4096 |
---|
| 325 | maxViewCells 20000 |
---|
| 326 | |
---|
| 327 | |
---|
| 328 | # used for pvs criterium |
---|
| 329 | ct_div_ci 0.0 |
---|
| 330 | |
---|
| 331 | AxisAligned { |
---|
| 332 | minRays 50000 |
---|
| 333 | maxRayContribution 9.9 |
---|
| 334 | } |
---|
| 335 | } |
---|
| 336 | |
---|
| 337 | useSplitCostQueue true |
---|
| 338 | useCostHeuristics false |
---|
| 339 | |
---|
| 340 | splitUseOnlyDrivingAxis false |
---|
| 341 | simulateOctree false |
---|
| 342 | useRandomAxis false |
---|
| 343 | usePolygonSplitIfAvailable false |
---|
| 344 | nodePriorityQueueType 0 |
---|
| 345 | |
---|
| 346 | Visualization { |
---|
| 347 | # x3d visualization of the split planes |
---|
| 348 | exportSplits false |
---|
| 349 | } |
---|
| 350 | } |
---|
| 351 | |
---|
| 352 | BspTree { |
---|
| 353 | Construction { |
---|
| 354 | samples 100000 |
---|
| 355 | epsilon 0.005 |
---|
| 356 | } |
---|
| 357 | |
---|
| 358 | |
---|
| 359 | # random polygon = 1 |
---|
| 360 | # axis aligned = 2 |
---|
| 361 | # least splits = 4 |
---|
| 362 | # balanced polygons = 8 |
---|
| 363 | # balanced view cells = 16 |
---|
| 364 | # largest polygon area = 32 |
---|
| 365 | # vertical axis = 64 |
---|
| 366 | # blocked rays = 128 |
---|
| 367 | # least ray splits = 256 |
---|
| 368 | # balanced rays = 512 |
---|
| 369 | # pvs = 1024 |
---|
| 370 | |
---|
| 371 | # least splits + balanced polygons |
---|
| 372 | #splitPlaneStrategy 12 |
---|
| 373 | |
---|
| 374 | #axis aligned + vertical axis |
---|
| 375 | #splitPlaneStrategy 66 |
---|
| 376 | |
---|
| 377 | # axis aligned + balanced view cells |
---|
| 378 | # splitPlaneStrategy 18 |
---|
| 379 | |
---|
| 380 | # largest polygon area |
---|
| 381 | #splitPlaneStrategy 32 |
---|
| 382 | |
---|
| 383 | # axus aligned + balanced polygons |
---|
| 384 | #splitPlaneStrategy 72 |
---|
| 385 | |
---|
| 386 | # axis aligned + blocked rays |
---|
| 387 | #splitPlaneStrategy 130 |
---|
| 388 | |
---|
| 389 | #splitPlaneStrategy 384 |
---|
| 390 | #splitPlaneStrategy 130 |
---|
| 391 | |
---|
| 392 | splitPlaneStrategy 32 |
---|
| 393 | |
---|
| 394 | maxPolyCandidates 100 |
---|
| 395 | maxRayCandidates 0 |
---|
| 396 | |
---|
| 397 | maxTests 10000 |
---|
| 398 | |
---|
| 399 | subdivisionStats ../subDivisionStats.log |
---|
| 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 |
---|
| 416 | minRays -1 |
---|
| 417 | minPolygons 0 |
---|
| 418 | maxDepth 30 |
---|
| 419 | minPvs -1 |
---|
| 420 | minProbability 0.00001 |
---|
| 421 | maxRayContribution 9999 |
---|
| 422 | maxViewCells 50000 |
---|
| 423 | |
---|
| 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 |
---|
| 445 | exportSplits false |
---|
| 446 | } |
---|
| 447 | } |
---|