[2596] | 1 | ############################################################################## |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
| 8 | # filename glasgow1.x3d |
---|
| 9 | # filename vienna.x3d |
---|
| 10 | # filename ../data/vienna/vienna-simple.x3d |
---|
| 11 | # filename ../data/vienna/vienna-buildings.x3d |
---|
| 12 | # filename ../data/vienna/vienna-roofs.x3d |
---|
| 13 | # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d |
---|
| 14 | #;../data/vienna/vienna-plane.x3d |
---|
| 15 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 16 | # filename ../data/atlanta/atlanta2.x3d |
---|
| 17 | # filename ../data/soda/soda.dat |
---|
| 18 | # filename ../data/soda/soda5.dat |
---|
| 19 | # filename ../data/soda/soda5.obj |
---|
| 20 | # filename ../data/soda/soda.obj |
---|
| 21 | filename ../data/vienna/vienna_cropped.obj |
---|
| 22 | # filename ../data/soda/soda5_mod_spheres.obj |
---|
| 23 | # filename ../data/artificial/cube_test.x3d |
---|
| 24 | # filename ../data/grandcanyon1_RotXmin90.obj |
---|
| 25 | # filename ../data/CityModel.obj |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | Preprocessor { |
---|
| 30 | samplesFilename rays.out |
---|
| 31 | # useGlRenderer true |
---|
| 32 | useGlRenderer false |
---|
| 33 | type vss |
---|
| 34 | detectEmptyViewSpace true |
---|
| 35 | loadMeshes false |
---|
[2677] | 36 | |
---|
[2682] | 37 | # internal: 0 intel: 1 2: havran 3: havran dyn |
---|
[2687] | 38 | rayCastMethod 1 |
---|
[2677] | 39 | |
---|
[2596] | 40 | exportVisibility false |
---|
| 41 | applyVisibilityFilter false |
---|
| 42 | applyVisibilitySpatialFilter false |
---|
| 43 | # useViewSpaceBox true |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | VssPreprocessor { |
---|
| 48 | useImportanceSampling true |
---|
| 49 | loadInitialSamples false |
---|
| 50 | storeInitialSamples false |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | VssTree { |
---|
| 55 | useRss false |
---|
| 56 | epsilon 1e-6 |
---|
| 57 | |
---|
| 58 | maxDepth 2 |
---|
| 59 | minPvs 30 |
---|
| 60 | minRays 800 |
---|
| 61 | minSize 0.001 |
---|
| 62 | maxCostRatio 1.5 |
---|
| 63 | maxRayContribution 0.5 |
---|
| 64 | |
---|
| 65 | maxTotalMemory 50 |
---|
| 66 | maxStaticMemory 20 |
---|
| 67 | |
---|
| 68 | splitType regular |
---|
| 69 | # splitType heuristic |
---|
| 70 | # splitType hybrid |
---|
| 71 | splitUseOnlyDrivingAxis true |
---|
| 72 | |
---|
| 73 | interleaveDirSplits true |
---|
| 74 | dirSplitDepth 0 |
---|
| 75 | |
---|
| 76 | numberOfEndPointDomains 10000 |
---|
| 77 | ct_div_ci 0.0 |
---|
| 78 | randomize false |
---|
| 79 | |
---|
| 80 | refDirBoxMaxSize 0.1 |
---|
| 81 | } |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | Limits { |
---|
| 85 | threshold 1e-6 |
---|
| 86 | small 1e-6 |
---|
| 87 | infinity 1e9 |
---|
| 88 | } |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | Unigraphics { |
---|
| 92 | meshGrouping 1 |
---|
| 93 | } |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | KdTree { |
---|
[2643] | 97 | pvsArea 1e-5 |
---|
[2596] | 98 | sahUseFaces true |
---|
| 99 | |
---|
| 100 | Termination { |
---|
[2695] | 101 | minCost 1 |
---|
| 102 | maxDepth 30 |
---|
| 103 | maxCostRatio 0.98 |
---|
| 104 | ct_div_ci 0.5 |
---|
| 105 | maxNodes 100000 |
---|
| 106 | |
---|
| 107 | #minCost 0 |
---|
| 108 | #maxDepth 20 |
---|
[2596] | 109 | |
---|
[2695] | 110 | #maxCostRatio 1.5 |
---|
| 111 | #ct_div_ci 0.5 |
---|
[2596] | 112 | } |
---|
| 113 | |
---|
| 114 | # splitMethod spatialMedian |
---|
| 115 | splitMethod SAH |
---|
| 116 | splitBorder 0.01 |
---|
| 117 | } |
---|
| 118 | |
---|
| 119 | MeshKdTree { |
---|
| 120 | Termination { |
---|
| 121 | minCost 1 |
---|
| 122 | maxDepth 18 |
---|
| 123 | maxCostRatio 0.9 |
---|
| 124 | ct_div_ci 0.5 |
---|
| 125 | } |
---|
| 126 | |
---|
| 127 | # splitMethod spatialMedian |
---|
| 128 | splitMethod SAH |
---|
| 129 | splitBorder 0.01 |
---|
| 130 | } |
---|
| 131 | |
---|
| 132 | |
---|
| 133 | ViewCells { |
---|
| 134 | |
---|
[2625] | 135 | useKdPvs true |
---|
| 136 | |
---|
[2596] | 137 | # samples used for view cell construction |
---|
| 138 | # (after the sampling used for the hierarchy) |
---|
| 139 | Construction { |
---|
| 140 | samples 0 |
---|
| 141 | samplesPerPass 1000000 |
---|
| 142 | } |
---|
| 143 | |
---|
| 144 | # number of active view cells |
---|
| 145 | active 25000 |
---|
| 146 | maxStaticMemory 40 |
---|
| 147 | |
---|
| 148 | exportToFile true |
---|
| 149 | loadFromFile false |
---|
| 150 | |
---|
| 151 | exportPvs true |
---|
| 152 | type vspOspTree |
---|
| 153 | |
---|
| 154 | #percentage of total visible objects where pvs is considered invalid |
---|
| 155 | maxPvsRatio 1.0 |
---|
| 156 | |
---|
| 157 | processOnlyValidViewCells false |
---|
| 158 | |
---|
| 159 | #stats viewCellStats.log |
---|
| 160 | #samplingType directional |
---|
| 161 | #samplingType reverse_object |
---|
| 162 | samplingType box |
---|
| 163 | |
---|
| 164 | PostProcess { |
---|
| 165 | # how much samples are used for post processing |
---|
| 166 | samples 0 |
---|
| 167 | maxMergesPerPass 5000 |
---|
| 168 | useRaysForMerge false |
---|
| 169 | refine false |
---|
| 170 | compress true |
---|
| 171 | merge false |
---|
| 172 | } |
---|
| 173 | |
---|
| 174 | Visualization { |
---|
| 175 | # how much samples we use for visualization |
---|
| 176 | samples 1000 |
---|
| 177 | exportRays true |
---|
| 178 | exportGeometry true |
---|
| 179 | exportMergedViewCells false |
---|
| 180 | useClipPlane true |
---|
| 181 | clipPlaneAxis 1 |
---|
| 182 | clipPlanePos 0.3 |
---|
| 183 | maxOutput 2 |
---|
| 184 | } |
---|
| 185 | |
---|
| 186 | showVisualization true |
---|
| 187 | #evaluateiewCells true |
---|
| 188 | #showVisualization false |
---|
| 189 | evaluateViewCells true |
---|
| 190 | |
---|
| 191 | Evaluation { |
---|
| 192 | samples 300000 |
---|
| 193 | samplesForStats 300000 |
---|
| 194 | samplesPerPass 300000 |
---|
| 195 | |
---|
| 196 | stepSize 50 |
---|
| 197 | |
---|
| 198 | #samplingType reverse_object |
---|
| 199 | samplingType box |
---|
| 200 | statsPrefix ../scripts/viewCells |
---|
| 201 | } |
---|
| 202 | } |
---|
| 203 | |
---|
| 204 | |
---|
| 205 | ################################ |
---|
| 206 | # |
---|
| 207 | # View space partitioning kd tree |
---|
| 208 | # |
---|
| 209 | |
---|
| 210 | VspTree { |
---|
| 211 | Construction { |
---|
| 212 | } |
---|
| 213 | |
---|
| 214 | Termination { |
---|
| 215 | minPvs 0 |
---|
| 216 | maxViewCells 500000 |
---|
| 217 | } |
---|
| 218 | |
---|
| 219 | useCostHeuristics false |
---|
| 220 | splitUseOnlyDrivingAxis false |
---|
| 221 | |
---|
| 222 | # maximum number of tests per node |
---|
| 223 | maxTests 30000 |
---|
| 224 | } |
---|
| 225 | |
---|
| 226 | |
---|
| 227 | ########################## |
---|
| 228 | # |
---|
| 229 | # The bounding volume hierarchy |
---|
| 230 | # |
---|
| 231 | |
---|
| 232 | BvHierarchy { |
---|
| 233 | |
---|
| 234 | Construction { |
---|
| 235 | |
---|
| 236 | } |
---|
| 237 | |
---|
| 238 | Termination { |
---|
| 239 | maxLeaves 500000 |
---|
| 240 | } |
---|
| 241 | |
---|
| 242 | useCostHeuristics true |
---|
| 243 | useSah true |
---|
| 244 | splitUseOnlyDrivingAxis false |
---|
| 245 | minRaysForVisibility 3 |
---|
| 246 | |
---|
| 247 | maxTests 300 |
---|
| 248 | } |
---|
| 249 | |
---|
| 250 | |
---|
| 251 | ############################################################### |
---|
| 252 | # |
---|
| 253 | # Manages the construction of view space and object space partition |
---|
| 254 | # |
---|
| 255 | |
---|
| 256 | Hierarchy { |
---|
| 257 | |
---|
| 258 | # the type of object space partition: view space is always vsp (=kd) partition |
---|
| 259 | type bvh |
---|
| 260 | |
---|
| 261 | Construction { |
---|
| 262 | |
---|
| 263 | samples 30000 |
---|
| 264 | |
---|
| 265 | # type 0 = sequential computation, 1 = interleaved, 2 = gradient |
---|
| 266 | type 0 |
---|
| 267 | |
---|
| 268 | # if the object space should be subdivided first (if false, the view space is subdivided first) |
---|
| 269 | startWithObjectSpace true |
---|
| 270 | |
---|
| 271 | ############################### |
---|
| 272 | # only for interleaved method |
---|
| 273 | |
---|
| 274 | # if dirty split candidates are reevaluated |
---|
| 275 | repairQueue true |
---|
| 276 | |
---|
| 277 | # recompute split plane when "repairing" a candidate |
---|
| 278 | recomputeSplitPlaneOnRepair true |
---|
| 279 | |
---|
| 280 | ################################################### |
---|
| 281 | |
---|
| 282 | # iterative construction of vs partititon and os partition |
---|
| 283 | useMultiLevel false |
---|
| 284 | |
---|
| 285 | # number of iteration steps |
---|
| 286 | levels 3 |
---|
| 287 | |
---|
| 288 | # minimal steps of same type: for interleaved, this is only valid for the first few splits |
---|
| 289 | minStepsOfSameType 10 |
---|
| 290 | maxStepsOfSameType 50 |
---|
| 291 | |
---|
| 292 | maxRepairs 10 |
---|
| 293 | } |
---|
| 294 | |
---|
| 295 | Termination { |
---|
| 296 | # maximal number of leaves |
---|
| 297 | maxLeaves 4000 |
---|
| 298 | # maximal memory in MB |
---|
| 299 | maxMemory 0.1 |
---|
| 300 | # minimum ratio of global cost decrease |
---|
| 301 | minGlobalCostRatio -1 |
---|
| 302 | } |
---|
| 303 | } |
---|
| 304 | |
---|
| 305 | |
---|
| 306 | VspBspTree { |
---|
| 307 | Construction { |
---|
| 308 | samples 100000 |
---|
| 309 | } |
---|
| 310 | |
---|
| 311 | Termination { |
---|
| 312 | minPvs 0 |
---|
| 313 | maxViewCells 1000 |
---|
| 314 | } |
---|
| 315 | |
---|
| 316 | useCostHeuristics true |
---|
| 317 | splitUseOnlyDrivingAxis false |
---|
| 318 | |
---|
| 319 | # maximum number of tests per node |
---|
| 320 | maxTests 100000 |
---|
| 321 | } |
---|