[163] | 1 | ############################################################################# |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
[170] | 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
[311] | 8 | # filename glasgow1.x3d |
---|
| 9 | # filename vienna.x3d |
---|
[376] | 10 | # filename ../data/vienna/vienna-simple.x3d |
---|
[387] | 11 | #filename ../data/vienna/vienna-buildings.x3d |
---|
| 12 | #filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d |
---|
| 13 | #;../data/vienna/vienna-plane.x3d |
---|
[365] | 14 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
[463] | 15 | # filename ../data/atlanta/atlanta2.x3d |
---|
[386] | 16 | # filename ../data/soda/soda.dat |
---|
[463] | 17 | filename ../data/soda/soda5.dat |
---|
[170] | 18 | } |
---|
| 19 | |
---|
[374] | 20 | Preprocessor { |
---|
| 21 | # type sampling |
---|
[446] | 22 | # type vss |
---|
| 23 | type rss |
---|
[374] | 24 | } |
---|
| 25 | |
---|
[376] | 26 | VssPreprocessor { |
---|
[403] | 27 | samplesPerPass 100000 |
---|
[438] | 28 | initialSamples 500000 |
---|
[403] | 29 | vssSamples 1000000 |
---|
[434] | 30 | vssSamplesPerPass 50000 |
---|
[403] | 31 | useImportanceSampling true |
---|
[376] | 32 | } |
---|
| 33 | |
---|
[446] | 34 | |
---|
[382] | 35 | VssTree { |
---|
[435] | 36 | useRss false |
---|
[382] | 37 | epsilon 1e-6 |
---|
| 38 | |
---|
| 39 | maxDepth 40 |
---|
[427] | 40 | minPvs 3 |
---|
[463] | 41 | minRays 200 |
---|
[427] | 42 | minSize 0.001 |
---|
[438] | 43 | maxCostRatio 2.0 |
---|
[403] | 44 | maxRayContribution 0.05 |
---|
[382] | 45 | |
---|
[427] | 46 | maxTotalMemory 200 |
---|
[438] | 47 | maxStaticMemory 100 |
---|
[382] | 48 | |
---|
[463] | 49 | # splitType regular |
---|
[434] | 50 | # splitType heuristic |
---|
[463] | 51 | splitType hybrid |
---|
[434] | 52 | splitUseOnlyDrivingAxis true |
---|
[382] | 53 | |
---|
[438] | 54 | interleaveDirSplits false |
---|
[446] | 55 | dirSplitDepth 40 |
---|
[438] | 56 | |
---|
[382] | 57 | numberOfEndPointDomains 10000 |
---|
| 58 | ct_div_ci 0.0 |
---|
| 59 | randomize false |
---|
| 60 | |
---|
| 61 | refDirBoxMaxSize 0.1 |
---|
| 62 | } |
---|
| 63 | |
---|
[446] | 64 | RssPreprocessor { |
---|
| 65 | samplesPerPass 100000 |
---|
[463] | 66 | initialSamples 500000 |
---|
[464] | 67 | vssSamples 10000000 |
---|
[467] | 68 | vssSamplesPerPass 100000 |
---|
[446] | 69 | useImportanceSampling true |
---|
[464] | 70 | |
---|
| 71 | Export { |
---|
| 72 | pvs false |
---|
| 73 | rssTree false |
---|
| 74 | rays true |
---|
| 75 | numRays 5000 |
---|
| 76 | } |
---|
| 77 | |
---|
[467] | 78 | useViewcells true |
---|
[464] | 79 | updateSubdivision false |
---|
[446] | 80 | } |
---|
| 81 | |
---|
| 82 | RssTree { |
---|
[464] | 83 | |
---|
[446] | 84 | epsilon 1e-6 |
---|
| 85 | |
---|
| 86 | maxDepth 40 |
---|
[459] | 87 | minPvs 3 |
---|
[446] | 88 | minRays 30 |
---|
| 89 | minSize 0.001 |
---|
| 90 | maxCostRatio 0.9 |
---|
| 91 | maxRayContribution 0.1 |
---|
| 92 | |
---|
| 93 | maxTotalMemory 200 |
---|
| 94 | maxStaticMemory 100 |
---|
| 95 | |
---|
| 96 | # splitType regular |
---|
| 97 | # splitType heuristic |
---|
| 98 | splitType hybrid |
---|
| 99 | splitUseOnlyDrivingAxis false |
---|
| 100 | |
---|
| 101 | interleaveDirSplits true |
---|
[459] | 102 | dirSplitDepth 0 |
---|
[446] | 103 | |
---|
| 104 | numberOfEndPointDomains 10000 |
---|
| 105 | ct_div_ci 0.0 |
---|
| 106 | randomize false |
---|
| 107 | |
---|
| 108 | refDirBoxMaxSize 0.1 |
---|
| 109 | } |
---|
| 110 | |
---|
[163] | 111 | Limits { |
---|
| 112 | |
---|
| 113 | threshold 1e-6 |
---|
| 114 | small 1e-6 |
---|
| 115 | infinity 1e9 |
---|
| 116 | } |
---|
| 117 | |
---|
| 118 | Unigraphics { |
---|
[176] | 119 | meshGrouping 1 |
---|
[163] | 120 | } |
---|
| 121 | |
---|
| 122 | KdTree { |
---|
[170] | 123 | sahUseFaces true |
---|
[163] | 124 | Termination { |
---|
[376] | 125 | minCost 1 |
---|
[163] | 126 | maxDepth 18 |
---|
[335] | 127 | maxCostRatio 0.9 |
---|
[170] | 128 | ct_div_ci 0.5 |
---|
[163] | 129 | } |
---|
| 130 | |
---|
| 131 | # splitMethod spatialMedian |
---|
| 132 | splitMethod SAH |
---|
[170] | 133 | splitBorder 0.01 |
---|
[163] | 134 | } |
---|
[170] | 135 | |
---|
| 136 | MeshKdTree { |
---|
| 137 | Termination { |
---|
[376] | 138 | minCost 1 |
---|
[335] | 139 | maxDepth 18 |
---|
| 140 | maxCostRatio 0.9 |
---|
[170] | 141 | ct_div_ci 0.5 |
---|
| 142 | } |
---|
| 143 | |
---|
| 144 | # splitMethod spatialMedian |
---|
| 145 | splitMethod SAH |
---|
| 146 | splitBorder 0.01 |
---|
| 147 | } |
---|
[176] | 148 | |
---|
| 149 | |
---|
[177] | 150 | Sampling { |
---|
[382] | 151 | totalSamples 10000000 |
---|
[365] | 152 | samplesPerPass 3 |
---|
[176] | 153 | } |
---|
[311] | 154 | |
---|
| 155 | ViewCells { |
---|
[451] | 156 | loadFromFile false |
---|
| 157 | #type kdTree |
---|
[467] | 158 | #type vspKdTree |
---|
[451] | 159 | #type bspTree |
---|
[467] | 160 | type vspBspTree |
---|
[335] | 161 | |
---|
[451] | 162 | #type sceneDependent |
---|
| 163 | |
---|
[326] | 164 | height 5.0 |
---|
| 165 | maxViewCells 0 |
---|
[335] | 166 | |
---|
[430] | 167 | PostProcessing { |
---|
[370] | 168 | minPvsDif 100 |
---|
[430] | 169 | minPvs 10 |
---|
| 170 | maxPvs 150 |
---|
[451] | 171 | # how much samples are used for post processing |
---|
| 172 | samples 10 |
---|
[430] | 173 | } |
---|
| 174 | |
---|
[451] | 175 | Visualization { |
---|
| 176 | # how much samples are be used for visualization |
---|
| 177 | samples 90000 |
---|
| 178 | } |
---|
[370] | 179 | |
---|
[326] | 180 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[335] | 181 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 182 | # filename ../data/vienna/viewcells-25.x3d |
---|
[311] | 183 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
| 184 | } |
---|
| 185 | |
---|
| 186 | BspTree { |
---|
[335] | 187 | Construction { |
---|
[451] | 188 | samples 50000 |
---|
| 189 | epsilon 0.005 |
---|
[335] | 190 | } |
---|
[311] | 191 | |
---|
[326] | 192 | # random polygon = 1 |
---|
[311] | 193 | # axis aligned = 2 |
---|
| 194 | # least splits = 4 |
---|
| 195 | # balanced polygons = 8 |
---|
| 196 | # balanced view cells = 16 |
---|
| 197 | # largest polygon area = 32 |
---|
| 198 | # vertical axis = 64 |
---|
[326] | 199 | # blocked rays = 128 |
---|
[335] | 200 | # least ray splits = 256 |
---|
| 201 | # balanced rays = 512 |
---|
[370] | 202 | # pvs = 1024 |
---|
[335] | 203 | |
---|
[311] | 204 | # least splits + balanced polygons |
---|
| 205 | #splitPlaneStrategy 12 |
---|
| 206 | |
---|
| 207 | #axis aligned + vertical axis |
---|
| 208 | #splitPlaneStrategy 66 |
---|
| 209 | |
---|
| 210 | # axis aligned + balanced view cells |
---|
| 211 | # splitPlaneStrategy 18 |
---|
| 212 | |
---|
| 213 | # largest polygon area |
---|
| 214 | #splitPlaneStrategy 32 |
---|
| 215 | |
---|
| 216 | # axus aligned + balanced polygons |
---|
| 217 | #splitPlaneStrategy 72 |
---|
| 218 | |
---|
[335] | 219 | # axis aligned + blocked rays |
---|
| 220 | #splitPlaneStrategy 130 |
---|
| 221 | |
---|
[363] | 222 | #splitPlaneStrategy 384 |
---|
| 223 | #splitPlaneStrategy 130 |
---|
[326] | 224 | |
---|
[451] | 225 | splitPlaneStrategy 1024 |
---|
[316] | 226 | |
---|
[451] | 227 | maxPolyCandidates 50 |
---|
| 228 | maxRayCandidates 50 |
---|
[363] | 229 | |
---|
[451] | 230 | maxTests 10000 |
---|
| 231 | |
---|
[430] | 232 | # factors for evaluating split plane costs |
---|
| 233 | Factor { |
---|
| 234 | verticalSplits 1.0 |
---|
| 235 | largestPolyArea 1.0 |
---|
| 236 | blockedRays 1.0 |
---|
| 237 | leastRaySplits 1.0 |
---|
| 238 | balancedRays 1.0 |
---|
[451] | 239 | pvs 1.0 |
---|
[430] | 240 | leastSplits 1.0 |
---|
| 241 | balancedPolys 1.0 |
---|
| 242 | balancedViewCells 1.0 |
---|
| 243 | } |
---|
| 244 | |
---|
[311] | 245 | Termination { |
---|
[430] | 246 | # parameters used for autopartition |
---|
| 247 | minRays 200 |
---|
| 248 | minPolygons -1 |
---|
| 249 | maxDepth 40 |
---|
[451] | 250 | minPvs 100 |
---|
[430] | 251 | minArea 0.01 |
---|
| 252 | maxRayContribution 0.005 |
---|
| 253 | #maxAccRayLength 100 |
---|
[335] | 254 | |
---|
[430] | 255 | # used for pvs criterium |
---|
| 256 | ct_div_ci 0.0 |
---|
| 257 | |
---|
[363] | 258 | # axis aligned splits |
---|
| 259 | AxisAligned { |
---|
[430] | 260 | minPolys 5000 |
---|
| 261 | minRays 500 |
---|
| 262 | minObjects 10 |
---|
[363] | 263 | maxCostRatio 0.9 |
---|
| 264 | ct_div_ci 0.5 |
---|
| 265 | } |
---|
[311] | 266 | } |
---|
[335] | 267 | |
---|
[363] | 268 | AxisAligned { |
---|
| 269 | splitBorder 0.01 |
---|
| 270 | } |
---|
[370] | 271 | |
---|
[363] | 272 | |
---|
[430] | 273 | Visualization { |
---|
[326] | 274 | # x3d visualization of the split planes |
---|
| 275 | exportSplits true |
---|
[430] | 276 | } |
---|
[311] | 277 | } |
---|
[430] | 278 | |
---|
| 279 | Simulation { |
---|
| 280 | objRenderCost 1.0 |
---|
| 281 | vcOverhead 7.0 |
---|
| 282 | moveSpeed 3.0 |
---|
| 283 | } |
---|
| 284 | |
---|
| 285 | |
---|
| 286 | VspKdTree { |
---|
| 287 | epsilon 1e-6 |
---|
| 288 | |
---|
| 289 | Construction { |
---|
[451] | 290 | samples 100000 |
---|
[430] | 291 | } |
---|
| 292 | |
---|
| 293 | Termination { |
---|
[451] | 294 | maxDepth 40 |
---|
| 295 | minPvs 50 |
---|
[430] | 296 | minRays 1 |
---|
| 297 | minSize 0.1 |
---|
| 298 | maxCostRatio 999.0 |
---|
| 299 | maxRayContribution 0.2 |
---|
| 300 | } |
---|
| 301 | |
---|
[451] | 302 | maxTotalMemory 400 |
---|
| 303 | maxStaticMemory 200 |
---|
[430] | 304 | |
---|
| 305 | splitType regular |
---|
| 306 | # splitType heuristics |
---|
| 307 | ct_div_ci 0.0 |
---|
| 308 | } |
---|
[451] | 309 | |
---|
| 310 | VspBspTree { |
---|
| 311 | Construction { |
---|
| 312 | samples 100000 |
---|
| 313 | epsilon 0.005 |
---|
| 314 | } |
---|
| 315 | |
---|
| 316 | |
---|
| 317 | # random polygon = 1 |
---|
| 318 | # axis aligned = 2 |
---|
| 319 | # least ray splits = 256 |
---|
| 320 | # balanced rays = 512 |
---|
| 321 | # pvs = 1024 |
---|
| 322 | |
---|
| 323 | splitPlaneStrategy 1024 |
---|
| 324 | |
---|
| 325 | # maximal candidates for split planes |
---|
| 326 | maxPolyCandidates 50 |
---|
| 327 | maxRayCandidates 50 |
---|
| 328 | |
---|
| 329 | # maximal tested rays for split cost heuristics |
---|
| 330 | maxTests 10000 |
---|
| 331 | |
---|
| 332 | # factors for evaluating split plane costs |
---|
| 333 | Factor { |
---|
| 334 | leastRaySplits 1.0 |
---|
| 335 | balancedRays 1.0 |
---|
| 336 | pvs 1.0 |
---|
| 337 | } |
---|
| 338 | |
---|
| 339 | Termination { |
---|
| 340 | # parameters used for autopartition |
---|
[467] | 341 | minRays 1000 |
---|
[451] | 342 | minPolygons -1 |
---|
| 343 | maxDepth 40 |
---|
[467] | 344 | minPvs 20 |
---|
| 345 | minArea 200000 |
---|
[451] | 346 | maxRayContribution 0.005 |
---|
| 347 | #maxAccRayLength 100 |
---|
| 348 | |
---|
| 349 | # used for pvs criterium |
---|
| 350 | ct_div_ci 0.0 |
---|
| 351 | |
---|
| 352 | # axis aligned splits |
---|
| 353 | AxisAligned { |
---|
| 354 | minPolys 5000 |
---|
| 355 | minRays 500 |
---|
| 356 | minObjects 10 |
---|
| 357 | maxCostRatio 0.9 |
---|
| 358 | ct_div_ci 0.5 |
---|
| 359 | } |
---|
| 360 | } |
---|
| 361 | |
---|
| 362 | AxisAligned { |
---|
| 363 | splitBorder 0.01 |
---|
| 364 | } |
---|
| 365 | |
---|
| 366 | |
---|
| 367 | Visualization { |
---|
| 368 | # x3d visualization of the split planes |
---|
| 369 | exportSplits true |
---|
| 370 | } |
---|
[459] | 371 | } |
---|