[163] | 1 | ############################################################################# |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
[170] | 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
[534] | 8 | # filename ../data/glasgow/glasgow1.x3d |
---|
[311] | 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 |
---|
[504] | 15 | filename ../data/atlanta/atlanta2.x3d |
---|
[386] | 16 | # filename ../data/soda/soda.dat |
---|
[534] | 17 | # filename ../data/soda/soda5.dat |
---|
[170] | 18 | } |
---|
| 19 | |
---|
[374] | 20 | Preprocessor { |
---|
[497] | 21 | # stored sample rays |
---|
| 22 | samplesFilename rays.out |
---|
| 23 | useGlRenderer true |
---|
[374] | 24 | # type sampling |
---|
[534] | 25 | type vss |
---|
| 26 | # type rss |
---|
| 27 | detectEmptyViewSpace false |
---|
[374] | 28 | } |
---|
| 29 | |
---|
[376] | 30 | VssPreprocessor { |
---|
[403] | 31 | samplesPerPass 100000 |
---|
[438] | 32 | initialSamples 500000 |
---|
[534] | 33 | vssSamples 2000000 |
---|
| 34 | vssSamplesPerPass 200000 |
---|
[403] | 35 | useImportanceSampling true |
---|
[497] | 36 | loadInitialSamples false |
---|
| 37 | storeInitialSamples false |
---|
[376] | 38 | } |
---|
| 39 | |
---|
[446] | 40 | |
---|
[382] | 41 | VssTree { |
---|
[435] | 42 | useRss false |
---|
[382] | 43 | epsilon 1e-6 |
---|
| 44 | |
---|
| 45 | maxDepth 40 |
---|
[497] | 46 | minPvs 30 |
---|
[534] | 47 | minRays 100 |
---|
[427] | 48 | minSize 0.001 |
---|
[534] | 49 | maxCostRatio 1.5 |
---|
| 50 | maxRayContribution 0.5 |
---|
[382] | 51 | |
---|
[427] | 52 | maxTotalMemory 200 |
---|
[534] | 53 | maxStaticMemory 100 |
---|
[382] | 54 | |
---|
[497] | 55 | splitType regular |
---|
[434] | 56 | # splitType heuristic |
---|
[497] | 57 | # splitType hybrid |
---|
[434] | 58 | splitUseOnlyDrivingAxis true |
---|
[382] | 59 | |
---|
[534] | 60 | interleaveDirSplits true |
---|
| 61 | dirSplitDepth 0 |
---|
[438] | 62 | |
---|
[382] | 63 | numberOfEndPointDomains 10000 |
---|
| 64 | ct_div_ci 0.0 |
---|
| 65 | randomize false |
---|
| 66 | |
---|
| 67 | refDirBoxMaxSize 0.1 |
---|
| 68 | } |
---|
| 69 | |
---|
[446] | 70 | RssPreprocessor { |
---|
| 71 | samplesPerPass 100000 |
---|
[516] | 72 | initialSamples 500000 |
---|
[464] | 73 | vssSamples 10000000 |
---|
[492] | 74 | vssSamplesPerPass 500000 |
---|
[446] | 75 | useImportanceSampling true |
---|
[464] | 76 | |
---|
[492] | 77 | directionalSampling true |
---|
| 78 | objectBasedSampling false |
---|
| 79 | |
---|
[464] | 80 | Export { |
---|
| 81 | pvs false |
---|
| 82 | rssTree false |
---|
| 83 | rays true |
---|
| 84 | numRays 5000 |
---|
| 85 | } |
---|
| 86 | |
---|
[467] | 87 | useViewcells true |
---|
[492] | 88 | updateSubdivision true |
---|
[497] | 89 | loadInitialSamples true |
---|
| 90 | storeInitialSamples false |
---|
[446] | 91 | } |
---|
| 92 | |
---|
[497] | 93 | |
---|
[446] | 94 | RssTree { |
---|
[464] | 95 | |
---|
[446] | 96 | epsilon 1e-6 |
---|
[516] | 97 | perObjectTree true |
---|
[446] | 98 | |
---|
| 99 | maxDepth 40 |
---|
[459] | 100 | minPvs 3 |
---|
[446] | 101 | minRays 30 |
---|
| 102 | minSize 0.001 |
---|
[492] | 103 | maxCostRatio 1.0 |
---|
| 104 | maxRayContribution 0.5 |
---|
| 105 | maxRays 1000000 |
---|
[446] | 106 | maxTotalMemory 200 |
---|
| 107 | maxStaticMemory 100 |
---|
| 108 | |
---|
[516] | 109 | splitType regular |
---|
[446] | 110 | # splitType heuristic |
---|
[516] | 111 | # splitType hybrid |
---|
[492] | 112 | splitUseOnlyDrivingAxis true |
---|
| 113 | importanceBasedCost false |
---|
[446] | 114 | |
---|
| 115 | interleaveDirSplits true |
---|
[459] | 116 | dirSplitDepth 0 |
---|
[446] | 117 | |
---|
| 118 | numberOfEndPointDomains 10000 |
---|
| 119 | ct_div_ci 0.0 |
---|
| 120 | randomize false |
---|
| 121 | |
---|
| 122 | refDirBoxMaxSize 0.1 |
---|
| 123 | } |
---|
| 124 | |
---|
[163] | 125 | Limits { |
---|
| 126 | |
---|
| 127 | threshold 1e-6 |
---|
| 128 | small 1e-6 |
---|
| 129 | infinity 1e9 |
---|
| 130 | } |
---|
| 131 | |
---|
| 132 | Unigraphics { |
---|
[176] | 133 | meshGrouping 1 |
---|
[163] | 134 | } |
---|
| 135 | |
---|
| 136 | KdTree { |
---|
[170] | 137 | sahUseFaces true |
---|
[163] | 138 | Termination { |
---|
[376] | 139 | minCost 1 |
---|
[163] | 140 | maxDepth 18 |
---|
[335] | 141 | maxCostRatio 0.9 |
---|
[170] | 142 | ct_div_ci 0.5 |
---|
[163] | 143 | } |
---|
| 144 | |
---|
| 145 | # splitMethod spatialMedian |
---|
| 146 | splitMethod SAH |
---|
[170] | 147 | splitBorder 0.01 |
---|
[163] | 148 | } |
---|
[170] | 149 | |
---|
| 150 | MeshKdTree { |
---|
| 151 | Termination { |
---|
[376] | 152 | minCost 1 |
---|
[335] | 153 | maxDepth 18 |
---|
| 154 | maxCostRatio 0.9 |
---|
[170] | 155 | ct_div_ci 0.5 |
---|
| 156 | } |
---|
| 157 | |
---|
| 158 | # splitMethod spatialMedian |
---|
| 159 | splitMethod SAH |
---|
| 160 | splitBorder 0.01 |
---|
| 161 | } |
---|
[176] | 162 | |
---|
| 163 | |
---|
[177] | 164 | Sampling { |
---|
[382] | 165 | totalSamples 10000000 |
---|
[365] | 166 | samplesPerPass 3 |
---|
[176] | 167 | } |
---|
[311] | 168 | |
---|
| 169 | ViewCells { |
---|
[534] | 170 | loadFromFile false |
---|
[451] | 171 | #type kdTree |
---|
[467] | 172 | #type vspKdTree |
---|
[534] | 173 | # type bspTree |
---|
| 174 | type vspBspTree |
---|
[335] | 175 | |
---|
[451] | 176 | #type sceneDependent |
---|
| 177 | |
---|
[326] | 178 | height 5.0 |
---|
[497] | 179 | maxViewCells 500 |
---|
| 180 | maxPvs 200 |
---|
[335] | 181 | |
---|
[497] | 182 | |
---|
| 183 | PostProcess { |
---|
| 184 | minPvsDif 100 |
---|
[430] | 185 | minPvs 10 |
---|
| 186 | maxPvs 150 |
---|
[451] | 187 | # how much samples are used for post processing |
---|
[497] | 188 | samples 100000 |
---|
[430] | 189 | } |
---|
| 190 | |
---|
[497] | 191 | Visualization { |
---|
| 192 | # how much samples we use for visualization |
---|
| 193 | samples 5000 |
---|
| 194 | #colorCode PVS |
---|
| 195 | #colorCode MergedLeaves |
---|
| 196 | #colorCode MergedTreeDiff |
---|
| 197 | colorCode Random |
---|
| 198 | exportRays false |
---|
| 199 | exportGeometry true |
---|
[451] | 200 | } |
---|
[370] | 201 | |
---|
[534] | 202 | filename ../data/soda/viewcells_soda5.xml |
---|
[326] | 203 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[497] | 204 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
[335] | 205 | # filename ../data/vienna/viewcells-25.x3d |
---|
[311] | 206 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
| 207 | } |
---|
| 208 | |
---|
| 209 | |
---|
[430] | 210 | Simulation { |
---|
| 211 | objRenderCost 1.0 |
---|
[497] | 212 | vcOverhead 1.0 |
---|
| 213 | # always between 0 and 1 |
---|
| 214 | moveSpeed 0.0001 |
---|
[430] | 215 | } |
---|
| 216 | |
---|
| 217 | |
---|
| 218 | VspKdTree { |
---|
| 219 | epsilon 1e-6 |
---|
| 220 | |
---|
| 221 | Construction { |
---|
[497] | 222 | samples 300000 |
---|
[430] | 223 | } |
---|
| 224 | |
---|
| 225 | Termination { |
---|
[451] | 226 | maxDepth 40 |
---|
| 227 | minPvs 50 |
---|
[497] | 228 | minRays 300 |
---|
| 229 | minSize 0.001 |
---|
| 230 | maxCostRatio 0.9 |
---|
| 231 | missTolerance 4 |
---|
| 232 | maxRayContribution 0.5 |
---|
[430] | 233 | } |
---|
| 234 | |
---|
[497] | 235 | maxTotalMemory 100 |
---|
| 236 | maxStaticMemory 50 |
---|
[430] | 237 | |
---|
[497] | 238 | splitType regular |
---|
| 239 | #splitType heuristics |
---|
| 240 | splitUseOnlyDrivingAxis true |
---|
[430] | 241 | ct_div_ci 0.0 |
---|
[497] | 242 | |
---|
| 243 | # maximal cost for merging a view cell |
---|
| 244 | PostProcess { |
---|
| 245 | maxCostRatio 0.005 |
---|
| 246 | minViewCells 200 |
---|
| 247 | maxPvsSize 50000 |
---|
| 248 | } |
---|
| 249 | |
---|
| 250 | |
---|
| 251 | Visualization { |
---|
| 252 | } |
---|
[430] | 253 | } |
---|
[451] | 254 | |
---|
| 255 | VspBspTree { |
---|
| 256 | Construction { |
---|
[497] | 257 | samples 500000 |
---|
[451] | 258 | epsilon 0.005 |
---|
[497] | 259 | randomize false |
---|
[451] | 260 | } |
---|
| 261 | |
---|
| 262 | |
---|
| 263 | # random polygon = 1 |
---|
| 264 | # axis aligned = 2 |
---|
| 265 | # least ray splits = 256 |
---|
| 266 | # balanced rays = 512 |
---|
| 267 | # pvs = 1024 |
---|
| 268 | |
---|
| 269 | splitPlaneStrategy 1024 |
---|
| 270 | |
---|
| 271 | # maximal candidates for split planes |
---|
[497] | 272 | maxPolyCandidates 100 |
---|
| 273 | maxRayCandidates 100 |
---|
[451] | 274 | |
---|
| 275 | # maximal tested rays for split cost heuristics |
---|
[497] | 276 | maxTests 2000 |
---|
[451] | 277 | |
---|
| 278 | # factors for evaluating split plane costs |
---|
| 279 | Factor { |
---|
| 280 | leastRaySplits 1.0 |
---|
| 281 | balancedRays 1.0 |
---|
| 282 | pvs 1.0 |
---|
| 283 | } |
---|
| 284 | |
---|
| 285 | Termination { |
---|
| 286 | # parameters used for autopartition |
---|
[497] | 287 | minRays 100 |
---|
| 288 | minPolygons -1 |
---|
| 289 | maxDepth 30 |
---|
[535] | 290 | minPvs 2 |
---|
[497] | 291 | #minArea 0.0001 |
---|
| 292 | minArea 0.000 |
---|
| 293 | maxRayContribution 0.005 |
---|
| 294 | maxCostRatio 0.9 |
---|
| 295 | missTolerance 4 |
---|
| 296 | #maxAccRayLength 100 |
---|
[451] | 297 | |
---|
[497] | 298 | maxViewCells 20000 |
---|
| 299 | |
---|
[451] | 300 | # used for pvs criterium |
---|
| 301 | ct_div_ci 0.0 |
---|
| 302 | } |
---|
| 303 | |
---|
[497] | 304 | splitUseOnlyDrivingAxis false |
---|
[451] | 305 | |
---|
| 306 | Visualization { |
---|
| 307 | # x3d visualization of the split planes |
---|
| 308 | exportSplits true |
---|
| 309 | } |
---|
[497] | 310 | |
---|
| 311 | PostProcess { |
---|
| 312 | maxCostRatio 0.1 |
---|
| 313 | minViewCells 500 |
---|
| 314 | maxPvsSize 1000 |
---|
| 315 | useRaysForMerge true |
---|
| 316 | } |
---|
[459] | 317 | } |
---|