[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 |
---|
[434] | 15 | # filename ../data/atlanta/atlanta2.x3d |
---|
[386] | 16 | # filename ../data/soda/soda.dat |
---|
[446] | 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 |
---|
| 41 | minRays 100 |
---|
| 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 | |
---|
[435] | 49 | splitType regular |
---|
[434] | 50 | # splitType heuristic |
---|
[435] | 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 |
---|
| 66 | initialSamples 500000 |
---|
| 67 | vssSamples 5000000 |
---|
| 68 | vssSamplesPerPass 100000 |
---|
| 69 | useImportanceSampling true |
---|
| 70 | } |
---|
| 71 | |
---|
| 72 | RssTree { |
---|
| 73 | useRss false |
---|
| 74 | epsilon 1e-6 |
---|
| 75 | |
---|
| 76 | maxDepth 40 |
---|
| 77 | minPvs 5 |
---|
| 78 | minRays 30 |
---|
| 79 | minSize 0.001 |
---|
| 80 | maxCostRatio 0.9 |
---|
| 81 | maxRayContribution 0.1 |
---|
| 82 | |
---|
| 83 | maxTotalMemory 200 |
---|
| 84 | maxStaticMemory 100 |
---|
| 85 | |
---|
| 86 | # splitType regular |
---|
| 87 | # splitType heuristic |
---|
| 88 | splitType hybrid |
---|
| 89 | splitUseOnlyDrivingAxis false |
---|
| 90 | |
---|
| 91 | interleaveDirSplits true |
---|
| 92 | dirSplitDepth 9 |
---|
| 93 | |
---|
| 94 | numberOfEndPointDomains 10000 |
---|
| 95 | ct_div_ci 0.0 |
---|
| 96 | randomize false |
---|
| 97 | |
---|
| 98 | refDirBoxMaxSize 0.1 |
---|
| 99 | } |
---|
| 100 | |
---|
[163] | 101 | Limits { |
---|
| 102 | |
---|
| 103 | threshold 1e-6 |
---|
| 104 | small 1e-6 |
---|
| 105 | infinity 1e9 |
---|
| 106 | } |
---|
| 107 | |
---|
| 108 | Unigraphics { |
---|
[176] | 109 | meshGrouping 1 |
---|
[163] | 110 | } |
---|
| 111 | |
---|
| 112 | KdTree { |
---|
[170] | 113 | sahUseFaces true |
---|
[163] | 114 | Termination { |
---|
[376] | 115 | minCost 1 |
---|
[163] | 116 | maxDepth 18 |
---|
[335] | 117 | maxCostRatio 0.9 |
---|
[170] | 118 | ct_div_ci 0.5 |
---|
[163] | 119 | } |
---|
| 120 | |
---|
| 121 | # splitMethod spatialMedian |
---|
| 122 | splitMethod SAH |
---|
[170] | 123 | splitBorder 0.01 |
---|
[163] | 124 | } |
---|
[170] | 125 | |
---|
| 126 | MeshKdTree { |
---|
| 127 | Termination { |
---|
[376] | 128 | minCost 1 |
---|
[335] | 129 | maxDepth 18 |
---|
| 130 | maxCostRatio 0.9 |
---|
[170] | 131 | ct_div_ci 0.5 |
---|
| 132 | } |
---|
| 133 | |
---|
| 134 | # splitMethod spatialMedian |
---|
| 135 | splitMethod SAH |
---|
| 136 | splitBorder 0.01 |
---|
| 137 | } |
---|
[176] | 138 | |
---|
| 139 | |
---|
[177] | 140 | Sampling { |
---|
[382] | 141 | totalSamples 10000000 |
---|
[365] | 142 | samplesPerPass 3 |
---|
[176] | 143 | } |
---|
[311] | 144 | |
---|
| 145 | ViewCells { |
---|
[430] | 146 | #hierarchy kdTree |
---|
| 147 | hierarchy vspTree |
---|
[374] | 148 | #hierarchy bspTree |
---|
[335] | 149 | # hierarchy sceneDependent |
---|
| 150 | |
---|
[326] | 151 | height 5.0 |
---|
| 152 | maxViewCells 0 |
---|
[335] | 153 | |
---|
[430] | 154 | PostProcessing { |
---|
[370] | 155 | minPvsDif 100 |
---|
[430] | 156 | minPvs 10 |
---|
| 157 | maxPvs 150 |
---|
| 158 | samples 100000 |
---|
| 159 | } |
---|
| 160 | |
---|
[370] | 161 | |
---|
[326] | 162 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[335] | 163 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 164 | # filename ../data/vienna/viewcells-25.x3d |
---|
[311] | 165 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
| 166 | } |
---|
| 167 | |
---|
| 168 | BspTree { |
---|
[335] | 169 | Construction { |
---|
[430] | 170 | input fromSamples |
---|
[335] | 171 | # input fromViewCells |
---|
[363] | 172 | # input fromSceneGeometry |
---|
[430] | 173 | samples 150000 |
---|
[363] | 174 | sideTolerance 0.005 |
---|
[335] | 175 | } |
---|
[311] | 176 | |
---|
[335] | 177 | |
---|
[326] | 178 | # random polygon = 1 |
---|
[311] | 179 | # axis aligned = 2 |
---|
| 180 | # least splits = 4 |
---|
| 181 | # balanced polygons = 8 |
---|
| 182 | # balanced view cells = 16 |
---|
| 183 | # largest polygon area = 32 |
---|
| 184 | # vertical axis = 64 |
---|
[326] | 185 | # blocked rays = 128 |
---|
[335] | 186 | # least ray splits = 256 |
---|
| 187 | # balanced rays = 512 |
---|
[370] | 188 | # pvs = 1024 |
---|
[335] | 189 | |
---|
[311] | 190 | # least splits + balanced polygons |
---|
| 191 | #splitPlaneStrategy 12 |
---|
| 192 | |
---|
| 193 | #axis aligned + vertical axis |
---|
| 194 | #splitPlaneStrategy 66 |
---|
| 195 | |
---|
| 196 | # axis aligned + balanced view cells |
---|
| 197 | # splitPlaneStrategy 18 |
---|
| 198 | |
---|
| 199 | # largest polygon area |
---|
| 200 | #splitPlaneStrategy 32 |
---|
| 201 | |
---|
| 202 | # axus aligned + balanced polygons |
---|
| 203 | #splitPlaneStrategy 72 |
---|
| 204 | |
---|
[335] | 205 | # axis aligned + blocked rays |
---|
| 206 | #splitPlaneStrategy 130 |
---|
| 207 | |
---|
[363] | 208 | #splitPlaneStrategy 384 |
---|
| 209 | #splitPlaneStrategy 130 |
---|
[326] | 210 | |
---|
[430] | 211 | splitPlaneStrategy 12 |
---|
[316] | 212 | |
---|
[430] | 213 | maxPolyCandidates 70 |
---|
| 214 | maxRayCandidates 100 |
---|
[363] | 215 | |
---|
[430] | 216 | # factors for evaluating split plane costs |
---|
| 217 | Factor { |
---|
| 218 | verticalSplits 1.0 |
---|
| 219 | largestPolyArea 1.0 |
---|
| 220 | blockedRays 1.0 |
---|
| 221 | leastRaySplits 1.0 |
---|
| 222 | balancedRays 1.0 |
---|
| 223 | pvsFactor 1.0 |
---|
| 224 | leastSplits 1.0 |
---|
| 225 | balancedPolys 1.0 |
---|
| 226 | balancedViewCells 1.0 |
---|
| 227 | } |
---|
| 228 | |
---|
[311] | 229 | Termination { |
---|
[430] | 230 | # parameters used for autopartition |
---|
| 231 | minRays 200 |
---|
| 232 | minPolygons -1 |
---|
| 233 | maxDepth 40 |
---|
| 234 | minPvs 35 |
---|
| 235 | minArea 0.01 |
---|
| 236 | maxRayContribution 0.005 |
---|
| 237 | #maxAccRayLength 100 |
---|
[335] | 238 | |
---|
[430] | 239 | # used for pvs criterium |
---|
| 240 | ct_div_ci 0.0 |
---|
| 241 | |
---|
[363] | 242 | # axis aligned splits |
---|
| 243 | AxisAligned { |
---|
[430] | 244 | minPolys 5000 |
---|
| 245 | minRays 500 |
---|
| 246 | minObjects 10 |
---|
[363] | 247 | maxCostRatio 0.9 |
---|
| 248 | ct_div_ci 0.5 |
---|
| 249 | } |
---|
[311] | 250 | } |
---|
[335] | 251 | |
---|
[363] | 252 | AxisAligned { |
---|
| 253 | splitBorder 0.01 |
---|
| 254 | } |
---|
[370] | 255 | |
---|
[363] | 256 | |
---|
[430] | 257 | Visualization { |
---|
[326] | 258 | # x3d visualization of the split planes |
---|
| 259 | exportSplits true |
---|
[430] | 260 | # how much samples should be used in visualization |
---|
| 261 | samples 20000 |
---|
| 262 | } |
---|
[311] | 263 | } |
---|
[430] | 264 | |
---|
| 265 | Simulation { |
---|
| 266 | objRenderCost 1.0 |
---|
| 267 | vcOverhead 7.0 |
---|
| 268 | moveSpeed 3.0 |
---|
| 269 | } |
---|
| 270 | |
---|
| 271 | |
---|
| 272 | VspKdTree { |
---|
| 273 | epsilon 1e-6 |
---|
| 274 | |
---|
| 275 | Construction { |
---|
| 276 | samples 500000 |
---|
| 277 | } |
---|
| 278 | |
---|
| 279 | Termination { |
---|
| 280 | maxDepth 30 |
---|
| 281 | minPvs 60 |
---|
| 282 | minRays 1 |
---|
| 283 | minSize 0.1 |
---|
| 284 | maxCostRatio 999.0 |
---|
| 285 | maxRayContribution 0.2 |
---|
| 286 | } |
---|
| 287 | |
---|
| 288 | maxTotalMemory 600 |
---|
| 289 | maxStaticMemory 600 |
---|
| 290 | |
---|
| 291 | splitType regular |
---|
| 292 | # splitType heuristics |
---|
| 293 | ct_div_ci 0.0 |
---|
| 294 | } |
---|