[235] | 1 | ############################################################################# |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
| 8 | # filename glasgow1.x3d |
---|
| 9 | # filename vienna.x3d |
---|
[349] | 10 | # filename ../data/vienna/vienna-simple.x3d |
---|
[362] | 11 | # filename ../data/vienna/vienna-buildings.x3d |
---|
[304] | 12 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
[362] | 13 | filename ../data/atlanta/atlanta2.x3d |
---|
[235] | 14 | # filename ../data/soda/soda.dat |
---|
| 15 | # filename ../data/soda/soda5.dat |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | Limits { |
---|
| 19 | |
---|
| 20 | threshold 1e-6 |
---|
| 21 | small 1e-6 |
---|
| 22 | infinity 1e9 |
---|
| 23 | } |
---|
| 24 | |
---|
[410] | 25 | Preprocessor { |
---|
[414] | 26 | type sampling |
---|
| 27 | # type exact |
---|
| 28 | # type vss |
---|
[410] | 29 | } |
---|
| 30 | |
---|
[235] | 31 | Unigraphics { |
---|
| 32 | meshGrouping 1 |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | KdTree { |
---|
| 36 | sahUseFaces true |
---|
| 37 | Termination { |
---|
| 38 | minCost 2 |
---|
| 39 | maxDepth 18 |
---|
| 40 | maxCostRatio 0.9 |
---|
| 41 | ct_div_ci 0.5 |
---|
| 42 | } |
---|
| 43 | |
---|
| 44 | # splitMethod spatialMedian |
---|
| 45 | splitMethod SAH |
---|
| 46 | splitBorder 0.01 |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | MeshKdTree { |
---|
| 50 | Termination { |
---|
| 51 | minCost 4 |
---|
| 52 | maxDepth 18 |
---|
| 53 | maxCostRatio 0.9 |
---|
| 54 | ct_div_ci 0.5 |
---|
| 55 | } |
---|
| 56 | |
---|
| 57 | # splitMethod spatialMedian |
---|
| 58 | splitMethod SAH |
---|
| 59 | splitBorder 0.01 |
---|
| 60 | } |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | Sampling { |
---|
[423] | 64 | totalSamples 300000 |
---|
[362] | 65 | samplesPerPass 3 |
---|
[235] | 66 | } |
---|
| 67 | |
---|
[310] | 68 | ViewCells { |
---|
[330] | 69 | #hierarchy kdTree |
---|
[422] | 70 | hierarchy vspTree |
---|
| 71 | #hierarchy bspTree |
---|
[329] | 72 | # hierarchy sceneDependent |
---|
| 73 | |
---|
[321] | 74 | height 5.0 |
---|
[421] | 75 | maxViewCells 0 |
---|
[329] | 76 | |
---|
[378] | 77 | PostProcessing { |
---|
| 78 | minPvsDif 100 |
---|
| 79 | minPvs 10 |
---|
[414] | 80 | maxPvs 150 |
---|
| 81 | samples 100000 |
---|
[378] | 82 | } |
---|
| 83 | |
---|
| 84 | |
---|
[319] | 85 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[361] | 86 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 87 | # filename ../data/vienna/viewcells-25.x3d |
---|
[310] | 88 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
| 89 | } |
---|
[308] | 90 | |
---|
[235] | 91 | BspTree { |
---|
[329] | 92 | Construction { |
---|
[422] | 93 | input fromSamples |
---|
[362] | 94 | # input fromViewCells |
---|
[361] | 95 | # input fromSceneGeometry |
---|
[419] | 96 | samples 150000 |
---|
[344] | 97 | sideTolerance 0.005 |
---|
[329] | 98 | } |
---|
[310] | 99 | |
---|
[329] | 100 | |
---|
[321] | 101 | # random polygon = 1 |
---|
[297] | 102 | # axis aligned = 2 |
---|
| 103 | # least splits = 4 |
---|
| 104 | # balanced polygons = 8 |
---|
| 105 | # balanced view cells = 16 |
---|
| 106 | # largest polygon area = 32 |
---|
| 107 | # vertical axis = 64 |
---|
[319] | 108 | # blocked rays = 128 |
---|
[332] | 109 | # least ray splits = 256 |
---|
| 110 | # balanced rays = 512 |
---|
[367] | 111 | # pvs = 1024 |
---|
[332] | 112 | |
---|
[297] | 113 | # least splits + balanced polygons |
---|
| 114 | #splitPlaneStrategy 12 |
---|
[304] | 115 | |
---|
[301] | 116 | #axis aligned + vertical axis |
---|
[303] | 117 | #splitPlaneStrategy 66 |
---|
| 118 | |
---|
[297] | 119 | # axis aligned + balanced view cells |
---|
[302] | 120 | # splitPlaneStrategy 18 |
---|
[303] | 121 | |
---|
[297] | 122 | # largest polygon area |
---|
[301] | 123 | #splitPlaneStrategy 32 |
---|
[303] | 124 | |
---|
[298] | 125 | # axus aligned + balanced polygons |
---|
| 126 | #splitPlaneStrategy 72 |
---|
[303] | 127 | |
---|
[332] | 128 | # axis aligned + blocked rays |
---|
| 129 | #splitPlaneStrategy 130 |
---|
[319] | 130 | |
---|
[349] | 131 | #splitPlaneStrategy 384 |
---|
[352] | 132 | #splitPlaneStrategy 130 |
---|
[313] | 133 | |
---|
[420] | 134 | splitPlaneStrategy 12 |
---|
[352] | 135 | |
---|
[420] | 136 | maxPolyCandidates 70 |
---|
| 137 | maxRayCandidates 100 |
---|
[332] | 138 | |
---|
[425] | 139 | # factors for evaluating split plane costs |
---|
| 140 | Factor { |
---|
| 141 | verticalSplits 1.0 |
---|
| 142 | largestPolyArea 1.0 |
---|
| 143 | blockedRays 1.0 |
---|
| 144 | leastRaySplits 1.0 |
---|
| 145 | balancedRays 1.0 |
---|
| 146 | pvsFactor 1.0 |
---|
| 147 | leastSplits 1.0 |
---|
| 148 | balancedPolys 1.0 |
---|
| 149 | balancedViewCells 1.0 |
---|
| 150 | } |
---|
| 151 | |
---|
[235] | 152 | Termination { |
---|
[409] | 153 | # parameters used for autopartition |
---|
[420] | 154 | maxRays 200 |
---|
[404] | 155 | maxPolygons -1 |
---|
| 156 | maxDepth 40 |
---|
| 157 | minPvs 35 |
---|
[409] | 158 | minArea 0.01 |
---|
[410] | 159 | maxRayContribution 0.005 |
---|
[409] | 160 | #maxAccRayLength 100 |
---|
[425] | 161 | # used for pvs criterium |
---|
| 162 | ct_div_ci 0.0 |
---|
| 163 | |
---|
[352] | 164 | # axis aligned splits |
---|
[362] | 165 | AxisAligned { |
---|
[367] | 166 | maxPolys 5000 |
---|
[379] | 167 | maxRays 500 |
---|
[378] | 168 | maxObjects 10 |
---|
[362] | 169 | maxCostRatio 0.9 |
---|
| 170 | ct_div_ci 0.5 |
---|
| 171 | } |
---|
[235] | 172 | } |
---|
[332] | 173 | |
---|
[362] | 174 | AxisAligned { |
---|
| 175 | splitBorder 0.01 |
---|
| 176 | } |
---|
[367] | 177 | |
---|
[389] | 178 | |
---|
[392] | 179 | Visualization { |
---|
[389] | 180 | # x3d visualization of the split planes |
---|
| 181 | exportSplits true |
---|
| 182 | # how much samples should be used in visualization |
---|
[414] | 183 | samples 20000 |
---|
[389] | 184 | } |
---|
[235] | 185 | } |
---|
[406] | 186 | |
---|
| 187 | Simulation { |
---|
| 188 | objRenderCost 1.0 |
---|
[419] | 189 | vcOverhead 7.0 |
---|
| 190 | moveSpeed 3.0 |
---|
[409] | 191 | } |
---|
| 192 | |
---|
| 193 | VssTree { |
---|
| 194 | epsilon 1e-6 |
---|
| 195 | |
---|
| 196 | maxDepth 40 |
---|
| 197 | minPvs 1 |
---|
| 198 | minRays 50 |
---|
| 199 | minSize 0.00001 |
---|
| 200 | maxCostRatio 0.95 |
---|
| 201 | maxRayContribution 0.05 |
---|
| 202 | |
---|
| 203 | maxTotalMemory 400 |
---|
| 204 | maxStaticMemory 20 |
---|
| 205 | |
---|
| 206 | splitType regular |
---|
| 207 | # splitType heuristics |
---|
| 208 | |
---|
| 209 | numberOfEndPointDomains 10000 |
---|
| 210 | ct_div_ci 0.0 |
---|
| 211 | randomize false |
---|
| 212 | |
---|
| 213 | refDirBoxMaxSize 0.1 |
---|
| 214 | } |
---|
| 215 | |
---|
| 216 | VspKdTree { |
---|
| 217 | epsilon 1e-6 |
---|
| 218 | |
---|
[411] | 219 | Construction { |
---|
[425] | 220 | samples 200000 |
---|
[411] | 221 | } |
---|
[409] | 222 | |
---|
[411] | 223 | Termination { |
---|
[425] | 224 | maxDepth 20 |
---|
| 225 | minPvs 200 |
---|
[423] | 226 | minRays 100 |
---|
| 227 | minSize 0.001 |
---|
[411] | 228 | maxCostRatio 0.95 |
---|
[423] | 229 | maxRayContribution 0.1 |
---|
[411] | 230 | } |
---|
| 231 | |
---|
[425] | 232 | maxTotalMemory 600 |
---|
| 233 | maxStaticMemory 600 |
---|
[409] | 234 | |
---|
| 235 | splitType regular |
---|
[422] | 236 | # splitType heuristics |
---|
[409] | 237 | ct_div_ci 0.0 |
---|
[406] | 238 | } |
---|