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