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