[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 |
---|
[556] | 15 | # filename ../data/atlanta/atlanta2.x3d |
---|
[386] | 16 | # filename ../data/soda/soda.dat |
---|
[556] | 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 |
---|
[549] | 25 | # type vss |
---|
| 26 | type rss |
---|
[556] | 27 | detectEmptyViewSpace true |
---|
[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 |
---|
[556] | 72 | initialSamples 100000 |
---|
| 73 | vssSamples 10000 |
---|
| 74 | vssSamplesPerPass 100000 |
---|
[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 |
---|
[549] | 89 | loadInitialSamples true |
---|
[497] | 90 | storeInitialSamples false |
---|
[446] | 91 | } |
---|
| 92 | |
---|
[497] | 93 | |
---|
[446] | 94 | RssTree { |
---|
| 95 | epsilon 1e-6 |
---|
[556] | 96 | perObjectTree false |
---|
[446] | 97 | |
---|
| 98 | maxDepth 40 |
---|
[556] | 99 | minPvs 1 |
---|
| 100 | minRays 100 |
---|
[446] | 101 | minSize 0.001 |
---|
[492] | 102 | maxCostRatio 1.0 |
---|
| 103 | maxRayContribution 0.5 |
---|
| 104 | maxRays 1000000 |
---|
[446] | 105 | maxTotalMemory 200 |
---|
| 106 | maxStaticMemory 100 |
---|
| 107 | |
---|
[556] | 108 | splitType regular |
---|
[446] | 109 | # splitType heuristic |
---|
[556] | 110 | # splitType hybrid |
---|
| 111 | splitUseOnlyDrivingAxis true |
---|
[492] | 112 | importanceBasedCost false |
---|
[446] | 113 | |
---|
| 114 | interleaveDirSplits true |
---|
[459] | 115 | dirSplitDepth 0 |
---|
[446] | 116 | |
---|
| 117 | numberOfEndPointDomains 10000 |
---|
| 118 | ct_div_ci 0.0 |
---|
| 119 | randomize false |
---|
| 120 | |
---|
| 121 | refDirBoxMaxSize 0.1 |
---|
| 122 | } |
---|
| 123 | |
---|
[163] | 124 | Limits { |
---|
| 125 | |
---|
| 126 | threshold 1e-6 |
---|
| 127 | small 1e-6 |
---|
| 128 | infinity 1e9 |
---|
| 129 | } |
---|
| 130 | |
---|
| 131 | Unigraphics { |
---|
[176] | 132 | meshGrouping 1 |
---|
[163] | 133 | } |
---|
| 134 | |
---|
| 135 | KdTree { |
---|
[170] | 136 | sahUseFaces true |
---|
[163] | 137 | Termination { |
---|
[376] | 138 | minCost 1 |
---|
[163] | 139 | maxDepth 18 |
---|
[335] | 140 | maxCostRatio 0.9 |
---|
[170] | 141 | ct_div_ci 0.5 |
---|
[163] | 142 | } |
---|
| 143 | |
---|
| 144 | # splitMethod spatialMedian |
---|
| 145 | splitMethod SAH |
---|
[170] | 146 | splitBorder 0.01 |
---|
[163] | 147 | } |
---|
[170] | 148 | |
---|
| 149 | MeshKdTree { |
---|
| 150 | Termination { |
---|
[376] | 151 | minCost 1 |
---|
[335] | 152 | maxDepth 18 |
---|
| 153 | maxCostRatio 0.9 |
---|
[170] | 154 | ct_div_ci 0.5 |
---|
| 155 | } |
---|
| 156 | |
---|
| 157 | # splitMethod spatialMedian |
---|
| 158 | splitMethod SAH |
---|
| 159 | splitBorder 0.01 |
---|
| 160 | } |
---|
[176] | 161 | |
---|
| 162 | |
---|
[556] | 163 | SamplingPreprocessor { |
---|
[382] | 164 | totalSamples 10000000 |
---|
[365] | 165 | samplesPerPass 3 |
---|
[176] | 166 | } |
---|
[311] | 167 | |
---|
| 168 | ViewCells { |
---|
[549] | 169 | loadFromFile true |
---|
[451] | 170 | #type kdTree |
---|
[467] | 171 | #type vspKdTree |
---|
[534] | 172 | # type bspTree |
---|
| 173 | type vspBspTree |
---|
[335] | 174 | |
---|
[451] | 175 | #type sceneDependent |
---|
| 176 | |
---|
[326] | 177 | height 5.0 |
---|
[497] | 178 | maxViewCells 500 |
---|
| 179 | maxPvs 200 |
---|
[335] | 180 | |
---|
[497] | 181 | |
---|
| 182 | PostProcess { |
---|
| 183 | minPvsDif 100 |
---|
[430] | 184 | minPvs 10 |
---|
| 185 | maxPvs 150 |
---|
[451] | 186 | # how much samples are used for post processing |
---|
[497] | 187 | samples 100000 |
---|
[430] | 188 | } |
---|
| 189 | |
---|
[497] | 190 | Visualization { |
---|
| 191 | # how much samples we use for visualization |
---|
| 192 | samples 5000 |
---|
| 193 | #colorCode PVS |
---|
| 194 | #colorCode MergedLeaves |
---|
| 195 | #colorCode MergedTreeDiff |
---|
| 196 | colorCode Random |
---|
| 197 | exportRays false |
---|
| 198 | exportGeometry true |
---|
[451] | 199 | } |
---|
[370] | 200 | |
---|
[556] | 201 | filename ../data/soda/viewcells_soda5-2.xml |
---|
| 202 | # filename ../data/atlanta/viewcells_atlanta2.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 | |
---|
[556] | 285 | # Termination { |
---|
| 286 | # # parameters used for autopartition |
---|
| 287 | # minRays 100 |
---|
| 288 | # minPolygons -1 |
---|
| 289 | # maxDepth 30 |
---|
| 290 | # minPvs 2 |
---|
| 291 | # #minProbability 0.0001 |
---|
| 292 | # minProbabilty 0.000 |
---|
| 293 | # maxRayContribution 0.005 |
---|
| 294 | # maxCostRatio 0.9 |
---|
| 295 | # missTolerance 4 |
---|
| 296 | # #maxAccRayLength 100 |
---|
[451] | 297 | |
---|
[556] | 298 | # maxViewCells 20000 |
---|
[497] | 299 | |
---|
[556] | 300 | # # used for pvs criterium |
---|
| 301 | # ct_div_ci 0.0 |
---|
| 302 | # } |
---|
[451] | 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 | } |
---|