[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 |
---|
[1404] | 11 | # filename ../data/vienna/city1500_flat_1.x3d |
---|
| 12 | # filename ../data/vienna/vienna-roads.x3d |
---|
| 13 | # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-roofs.x3d |
---|
[942] | 14 | #filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d |
---|
| 15 | filename ../data/vienna/city1500_flat_1.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d |
---|
| 16 | #filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d |
---|
| 17 | #filename ../data/vienna/city1500_flat_1.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d |
---|
| 18 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 19 | # filename ../data/atlanta/atlanta2.x3d |
---|
| 20 | # filename ../data/soda/soda.dat |
---|
| 21 | # filename ../data/soda/soda5.dat |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | Preprocessor { |
---|
| 25 | # stored sample rays |
---|
| 26 | samplesFilename rays.out |
---|
| 27 | useGlRenderer false |
---|
| 28 | # type sampling |
---|
| 29 | type vss |
---|
| 30 | # type rss |
---|
| 31 | detectEmptyViewSpace true |
---|
[1404] | 32 | loadMeshes true |
---|
[976] | 33 | applyVisibilityFilter true |
---|
| 34 | applyVisibilitySpatialFilter true |
---|
[942] | 35 | } |
---|
| 36 | |
---|
| 37 | VssPreprocessor { |
---|
| 38 | samplesPerPass 100000 |
---|
| 39 | initialSamples 0 |
---|
| 40 | vssSamples 0 |
---|
| 41 | vssSamplesPerPass 500000 |
---|
| 42 | useImportanceSampling true |
---|
| 43 | loadInitialSamples false |
---|
| 44 | storeInitialSamples false |
---|
| 45 | useViewSpaceBox false |
---|
| 46 | # testBeamSampling true |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | SamplingPreprocessor { |
---|
| 51 | totalSamples 500000 |
---|
| 52 | samplesPerPass 3 |
---|
| 53 | } |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | VssTree { |
---|
| 57 | useRss false |
---|
| 58 | epsilon 1e-6 |
---|
| 59 | |
---|
| 60 | maxDepth 40 |
---|
| 61 | minPvs 30 |
---|
| 62 | minRays 800 |
---|
| 63 | minSize 0.001 |
---|
| 64 | maxCostRatio 1.5 |
---|
| 65 | maxRayContribution 0.5 |
---|
| 66 | |
---|
| 67 | maxTotalMemory 50 |
---|
| 68 | maxStaticMemory 20 |
---|
| 69 | |
---|
| 70 | splitType regular |
---|
| 71 | # splitType heuristic |
---|
| 72 | # splitType hybrid |
---|
| 73 | splitUseOnlyDrivingAxis true |
---|
| 74 | |
---|
| 75 | interleaveDirSplits true |
---|
| 76 | dirSplitDepth 0 |
---|
| 77 | |
---|
| 78 | numberOfEndPointDomains 10000 |
---|
| 79 | ct_div_ci 0.0 |
---|
| 80 | randomize false |
---|
| 81 | |
---|
| 82 | refDirBoxMaxSize 0.1 |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | RssPreprocessor { |
---|
| 86 | samplesPerPass 100000 |
---|
| 87 | #initialSamples 500000 |
---|
| 88 | #vssSamples 10000000 |
---|
| 89 | #for view cell construction |
---|
| 90 | initialSamples 0 |
---|
| 91 | vssSamples 0 |
---|
| 92 | vssSamplesPerPass 500000 |
---|
| 93 | useImportanceSampling true |
---|
| 94 | |
---|
| 95 | directionalSampling true |
---|
| 96 | objectBasedSampling false |
---|
| 97 | |
---|
| 98 | Export { |
---|
| 99 | pvs false |
---|
| 100 | rssTree false |
---|
| 101 | rays true |
---|
| 102 | numRays 5000 |
---|
| 103 | } |
---|
| 104 | |
---|
| 105 | useViewcells true |
---|
| 106 | updateSubdivision true |
---|
| 107 | loadInitialSamples false |
---|
| 108 | storeInitialSamples false |
---|
| 109 | } |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | RssTree { |
---|
| 113 | |
---|
| 114 | epsilon 1e-6 |
---|
| 115 | |
---|
| 116 | maxDepth 40 |
---|
| 117 | minPvs 3 |
---|
| 118 | minRays 30 |
---|
| 119 | minSize 0.001 |
---|
| 120 | maxCostRatio 1.0 |
---|
| 121 | maxRayContribution 0.5 |
---|
| 122 | maxRays 1000000 |
---|
| 123 | maxTotalMemory 200 |
---|
| 124 | maxStaticMemory 100 |
---|
| 125 | |
---|
| 126 | # splitType regular |
---|
| 127 | # splitType heuristic |
---|
| 128 | splitType hybrid |
---|
| 129 | splitUseOnlyDrivingAxis true |
---|
| 130 | importanceBasedCost false |
---|
| 131 | |
---|
| 132 | interleaveDirSplits true |
---|
| 133 | dirSplitDepth 0 |
---|
| 134 | |
---|
| 135 | numberOfEndPointDomains 10000 |
---|
| 136 | ct_div_ci 0.0 |
---|
| 137 | randomize false |
---|
| 138 | |
---|
| 139 | refDirBoxMaxSize 0.1 |
---|
| 140 | } |
---|
| 141 | |
---|
| 142 | Limits { |
---|
| 143 | |
---|
| 144 | threshold 1e-6 |
---|
| 145 | small 1e-6 |
---|
| 146 | infinity 1e9 |
---|
| 147 | } |
---|
| 148 | |
---|
| 149 | Unigraphics { |
---|
| 150 | meshGrouping 1 |
---|
| 151 | } |
---|
| 152 | |
---|
| 153 | KdTree { |
---|
| 154 | sahUseFaces true |
---|
| 155 | Termination { |
---|
| 156 | minCost 1 |
---|
| 157 | maxDepth 18 |
---|
| 158 | maxCostRatio 0.9 |
---|
| 159 | ct_div_ci 0.5 |
---|
| 160 | } |
---|
| 161 | |
---|
| 162 | # splitMethod spatialMedian |
---|
| 163 | splitMethod SAH |
---|
| 164 | splitBorder 0.01 |
---|
| 165 | } |
---|
| 166 | |
---|
| 167 | MeshKdTree { |
---|
| 168 | Termination { |
---|
| 169 | minCost 1 |
---|
| 170 | maxDepth 18 |
---|
| 171 | maxCostRatio 0.9 |
---|
| 172 | ct_div_ci 0.5 |
---|
| 173 | } |
---|
| 174 | |
---|
| 175 | # splitMethod spatialMedian |
---|
| 176 | splitMethod SAH |
---|
| 177 | splitBorder 0.01 |
---|
| 178 | } |
---|
| 179 | |
---|
| 180 | |
---|
| 181 | |
---|
| 182 | ViewCells { |
---|
| 183 | # samples used for view cell construction |
---|
| 184 | Construction { |
---|
| 185 | samples 0 |
---|
| 186 | samplesPerPass 1500000 |
---|
| 187 | } |
---|
| 188 | |
---|
| 189 | #number of active view cells |
---|
| 190 | active 200000 |
---|
| 191 | maxStaticMemory 40 |
---|
| 192 | |
---|
| 193 | exportToFile true |
---|
| 194 | loadFromFile false |
---|
| 195 | |
---|
| 196 | #type kdTree |
---|
| 197 | #type vspKdTree |
---|
| 198 | #type bspTree |
---|
| 199 | type vspBspTree |
---|
| 200 | #type sceneDependent |
---|
| 201 | |
---|
| 202 | height 5.0 |
---|
| 203 | maxViewCells 3000 |
---|
| 204 | |
---|
| 205 | #percentage of total visible objects where pvs is considered invalid |
---|
| 206 | maxPvsRatio 1.0 |
---|
| 207 | |
---|
| 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 | compress false |
---|
| 225 | merge true |
---|
| 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 false |
---|
| 245 | |
---|
| 246 | Evaluation { |
---|
| 247 | samplesPerPass 1000000 |
---|
| 248 | samples 1000000 |
---|
| 249 | statsPrefix ../scripts/viewCells |
---|
| 250 | #samplingType directional |
---|
| 251 | samplingType box |
---|
| 252 | histogram true |
---|
[1277] | 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 |
---|
[1269] | 260 | filename D:/svn/gametools/GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna-visibility.xml.zip |
---|
| 261 | # filename ../scripts/vienna-visibility.xml.zip |
---|
[942] | 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 500000 |
---|
| 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 0 |
---|
| 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 0 |
---|
| 316 | minProbability 0.000001 |
---|
| 317 | maxRayContribution 1 |
---|
| 318 | maxCostRatio 0.9 |
---|
| 319 | missTolerance 6 |
---|
| 320 | globalCostMissTolerance 4 |
---|
| 321 | #minGlobalCostRatio 0.0000001 |
---|
| 322 | minGlobalCostRatio 0.0001 |
---|
| 323 | maxViewCells 5000 |
---|
| 324 | |
---|
| 325 | |
---|
| 326 | # used for pvs criterium |
---|
| 327 | ct_div_ci 0.0 |
---|
| 328 | |
---|
| 329 | AxisAligned { |
---|
| 330 | minRays 50000 |
---|
| 331 | maxRayContribution 9.9 |
---|
| 332 | } |
---|
| 333 | } |
---|
| 334 | |
---|
| 335 | useSplitCostQueue true |
---|
| 336 | useCostHeuristics false |
---|
| 337 | |
---|
| 338 | splitUseOnlyDrivingAxis false |
---|
| 339 | simulateOctree false |
---|
| 340 | useRandomAxis false |
---|
| 341 | usePolygonSplitIfAvailable false |
---|
| 342 | nodePriorityQueueType 0 |
---|
| 343 | |
---|
| 344 | Visualization { |
---|
| 345 | # x3d visualization of the split planes |
---|
| 346 | exportSplits false |
---|
| 347 | } |
---|
| 348 | } |
---|
| 349 | |
---|
| 350 | BspTree { |
---|
| 351 | Construction { |
---|
| 352 | samples 100000 |
---|
| 353 | epsilon 0.005 |
---|
| 354 | } |
---|
| 355 | |
---|
| 356 | |
---|
| 357 | # random polygon = 1 |
---|
| 358 | # axis aligned = 2 |
---|
| 359 | # least splits = 4 |
---|
| 360 | # balanced polygons = 8 |
---|
| 361 | # balanced view cells = 16 |
---|
| 362 | # largest polygon area = 32 |
---|
| 363 | # vertical axis = 64 |
---|
| 364 | # blocked rays = 128 |
---|
| 365 | # least ray splits = 256 |
---|
| 366 | # balanced rays = 512 |
---|
| 367 | # pvs = 1024 |
---|
| 368 | |
---|
| 369 | # least splits + balanced polygons |
---|
| 370 | #splitPlaneStrategy 12 |
---|
| 371 | |
---|
| 372 | #axis aligned + vertical axis |
---|
| 373 | #splitPlaneStrategy 66 |
---|
| 374 | |
---|
| 375 | # axis aligned + balanced view cells |
---|
| 376 | # splitPlaneStrategy 18 |
---|
| 377 | |
---|
| 378 | # largest polygon area |
---|
| 379 | #splitPlaneStrategy 32 |
---|
| 380 | |
---|
| 381 | # axus aligned + balanced polygons |
---|
| 382 | #splitPlaneStrategy 72 |
---|
| 383 | |
---|
| 384 | # axis aligned + blocked rays |
---|
| 385 | #splitPlaneStrategy 130 |
---|
| 386 | |
---|
| 387 | #splitPlaneStrategy 384 |
---|
| 388 | #splitPlaneStrategy 130 |
---|
| 389 | |
---|
| 390 | splitPlaneStrategy 32 |
---|
| 391 | |
---|
| 392 | maxPolyCandidates 100 |
---|
| 393 | maxRayCandidates 0 |
---|
| 394 | |
---|
| 395 | maxTests 10000 |
---|
| 396 | |
---|
| 397 | subdivisionStats ../subDivisionStats.log |
---|
| 398 | |
---|
| 399 | # factors for evaluating split plane costs |
---|
| 400 | Factor { |
---|
| 401 | verticalSplits 1.0 |
---|
| 402 | largestPolyArea 1.0 |
---|
| 403 | blockedRays 1.0 |
---|
| 404 | leastRaySplits 1.0 |
---|
| 405 | balancedRays 1.0 |
---|
| 406 | pvs 1.0 |
---|
| 407 | leastSplits 1.0 |
---|
| 408 | balancedPolys 1.0 |
---|
| 409 | balancedViewCells 1.0 |
---|
| 410 | } |
---|
| 411 | |
---|
| 412 | Termination { |
---|
| 413 | # parameters used for autopartition |
---|
| 414 | minRays -1 |
---|
| 415 | minPolygons 0 |
---|
| 416 | maxDepth 30 |
---|
| 417 | minPvs -1 |
---|
| 418 | minProbability 0.00001 |
---|
| 419 | maxRayContribution 9999 |
---|
| 420 | maxViewCells 50000 |
---|
| 421 | |
---|
| 422 | # used for pvs criterium |
---|
| 423 | ct_div_ci 0.0 |
---|
| 424 | |
---|
| 425 | maxCostRatio 0.9 |
---|
| 426 | |
---|
| 427 | # axis aligned splits |
---|
| 428 | AxisAligned { |
---|
| 429 | minPolys 5000 |
---|
| 430 | minRays 500 |
---|
| 431 | minObjects 10 |
---|
| 432 | ct_div_ci 0.5 |
---|
| 433 | } |
---|
| 434 | } |
---|
| 435 | |
---|
| 436 | AxisAligned { |
---|
| 437 | splitBorder 0.01 |
---|
| 438 | } |
---|
| 439 | |
---|
| 440 | |
---|
| 441 | Visualization { |
---|
| 442 | # x3d visualization of the split planes |
---|
| 443 | exportSplits false |
---|
| 444 | } |
---|
| 445 | } |
---|