[2228] | 1 | ############################################################################### |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
| 8 | filename ../data/vienna/vienna_cropped.obj |
---|
| 9 | # filename ../data/soda/soda.dat |
---|
| 10 | # filename ../data/soda/soda5.dat |
---|
| 11 | # filename ../data/artificial/cube_test.x3d |
---|
| 12 | # filename ../data/CityModel.obj |
---|
| 13 | # filename ../data/arena/arena-low-lods.obj |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | Preprocessor { |
---|
[2255] | 18 | samplesPerPass 500000 |
---|
[2228] | 19 | type vss |
---|
| 20 | detectEmptyViewSpace true |
---|
| 21 | loadMeshes false |
---|
| 22 | # internal raycaster |
---|
[2364] | 23 | rayCastMethod 0 |
---|
[2228] | 24 | # intel raycaster |
---|
[2364] | 25 | #rayCastMethod 1 |
---|
[2228] | 26 | exportVisibility false |
---|
| 27 | applyVisibilityFilter false |
---|
| 28 | applyVisibilitySpatialFilter false |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | RssPreprocessor { |
---|
| 33 | distributions mutation+spatial+object_direction |
---|
| 34 | #distributions spatial |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | useImportanceSampling true |
---|
| 38 | |
---|
| 39 | Export { |
---|
| 40 | pvs false |
---|
| 41 | rssTree false |
---|
| 42 | } |
---|
| 43 | |
---|
| 44 | useViewcells true |
---|
| 45 | updateSubdivision true |
---|
| 46 | loadInitialSamples false |
---|
| 47 | storeInitialSamples false |
---|
| 48 | |
---|
| 49 | useRssTree true |
---|
| 50 | } |
---|
| 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 { |
---|
| 97 | sahUseFaces true |
---|
| 98 | |
---|
| 99 | Termination { |
---|
| 100 | minCost 0 |
---|
| 101 | maxDepth 20 |
---|
| 102 | |
---|
| 103 | maxCostRatio 1.5 |
---|
| 104 | ct_div_ci 0.5 |
---|
| 105 | } |
---|
| 106 | |
---|
| 107 | # splitMethod spatialMedian |
---|
| 108 | splitMethod SAH |
---|
| 109 | splitBorder 0.01 |
---|
| 110 | } |
---|
| 111 | |
---|
| 112 | MeshKdTree { |
---|
| 113 | Termination { |
---|
| 114 | minCost 1 |
---|
| 115 | maxDepth 18 |
---|
| 116 | maxCostRatio 0.9 |
---|
| 117 | ct_div_ci 0.5 |
---|
| 118 | } |
---|
| 119 | |
---|
| 120 | # splitMethod spatialMedian |
---|
| 121 | splitMethod SAH |
---|
| 122 | splitBorder 0.01 |
---|
| 123 | } |
---|
| 124 | |
---|
| 125 | |
---|
| 126 | ViewCells { |
---|
| 127 | |
---|
| 128 | # samples used for view cell construction in the merge step |
---|
| 129 | Construction { |
---|
| 130 | samples 0 |
---|
| 131 | samplesPerPass 1000000 |
---|
| 132 | } |
---|
| 133 | |
---|
| 134 | # number of active view cells |
---|
| 135 | active 25000 |
---|
| 136 | maxStaticMemory 40 |
---|
| 137 | |
---|
| 138 | exportToFile true |
---|
| 139 | loadFromFile false |
---|
| 140 | |
---|
| 141 | #exportPvs true |
---|
| 142 | |
---|
| 143 | # type of view cells |
---|
| 144 | type vspOspTree |
---|
| 145 | |
---|
| 146 | #percentage of total visible objects where pvs is considered invalid |
---|
| 147 | maxPvsRatio 1.0 |
---|
| 148 | |
---|
| 149 | processOnlyValidViewCells false |
---|
| 150 | |
---|
| 151 | samplingType box |
---|
| 152 | |
---|
| 153 | PostProcess { |
---|
| 154 | # how much samples are used for post processing |
---|
| 155 | samples 0 |
---|
| 156 | maxMergesPerPass 5000 |
---|
| 157 | useRaysForMerge false |
---|
| 158 | refine false |
---|
| 159 | compress true |
---|
| 160 | merge false |
---|
| 161 | } |
---|
| 162 | |
---|
| 163 | Visualization { |
---|
| 164 | # how much samples we use for visualization |
---|
[2255] | 165 | samples 0 |
---|
[2228] | 166 | exportRays true |
---|
| 167 | exportGeometry true |
---|
| 168 | exportMergedViewCells false |
---|
| 169 | useClipPlane true |
---|
| 170 | clipPlaneAxis 1 |
---|
| 171 | clipPlanePos 0.3 |
---|
| 172 | maxOutput 0 |
---|
| 173 | } |
---|
| 174 | |
---|
[2350] | 175 | showVisualization true |
---|
| 176 | #showVisualization false |
---|
[2255] | 177 | #evaluateViewCells false |
---|
[2228] | 178 | evaluateViewCells true |
---|
| 179 | |
---|
| 180 | Evaluation { |
---|
[2364] | 181 | samples 80000000 |
---|
| 182 | samplesForStats 40000000 |
---|
[2228] | 183 | |
---|
[2255] | 184 | samplesPerPass 500000 |
---|
| 185 | stepSize 200 |
---|
[2228] | 186 | |
---|
| 187 | samplingType box |
---|
| 188 | |
---|
| 189 | histogram true |
---|
| 190 | histoStepSize 200 |
---|
| 191 | histoMem 60 |
---|
| 192 | |
---|
| 193 | statsPrefix ../scripts/viewCells |
---|
| 194 | } |
---|
| 195 | } |
---|
| 196 | |
---|
| 197 | |
---|
| 198 | ################################ |
---|
| 199 | # |
---|
| 200 | # View space partitioning kd tree |
---|
| 201 | # |
---|
| 202 | |
---|
| 203 | VspTree { |
---|
| 204 | Construction { |
---|
| 205 | renderCostDecreaseWeight 0.999 |
---|
| 206 | } |
---|
| 207 | |
---|
| 208 | Termination { |
---|
| 209 | minPvs 0 |
---|
| 210 | maxViewCells 500000 |
---|
| 211 | } |
---|
| 212 | |
---|
| 213 | useCostHeuristics true |
---|
| 214 | #splitUseOnlyDrivingAxis true |
---|
| 215 | |
---|
| 216 | #useCostHeuristics false |
---|
| 217 | splitUseOnlyDrivingAxis false |
---|
| 218 | |
---|
| 219 | # maximum number of tests per node |
---|
[2255] | 220 | maxTests 500000 |
---|
[2228] | 221 | } |
---|
| 222 | |
---|
| 223 | |
---|
| 224 | |
---|
| 225 | # |
---|
| 226 | # The bounding volume hierarchy |
---|
| 227 | # |
---|
| 228 | |
---|
| 229 | BvHierarchy { |
---|
| 230 | |
---|
| 231 | Construction { |
---|
| 232 | renderCostDecreaseWeight 0.999 |
---|
[2364] | 233 | #renderCostDecreaseWeight 1.0 |
---|
[2228] | 234 | } |
---|
| 235 | |
---|
| 236 | Termination { |
---|
| 237 | maxLeaves 50000000 |
---|
| 238 | } |
---|
| 239 | |
---|
| 240 | minRaysForVisibility 3 |
---|
| 241 | #minRaysForVisibility 15 |
---|
| 242 | |
---|
| 243 | # use only surface area heuristic |
---|
| 244 | useCostHeuristics true |
---|
| 245 | #useCostHeuristics false |
---|
| 246 | useSah false |
---|
| 247 | |
---|
| 248 | #splitUseOnlyDrivingAxis true |
---|
| 249 | splitUseOnlyDrivingAxis false |
---|
| 250 | |
---|
[2255] | 251 | maxTests 500000 |
---|
[2228] | 252 | } |
---|
| 253 | |
---|
| 254 | |
---|
| 255 | ############################################################### |
---|
| 256 | # |
---|
| 257 | # Manages the construction of view space and object space partition |
---|
| 258 | # |
---|
| 259 | |
---|
| 260 | Hierarchy { |
---|
| 261 | # the type of object space partition: view space is always vsp (=kd) partition |
---|
| 262 | type bvh |
---|
| 263 | |
---|
| 264 | Construction { |
---|
| 265 | |
---|
[2364] | 266 | samples 5000000 |
---|
[2228] | 267 | |
---|
| 268 | # type 0 = sequential computation, 1 = interleaved, 2 = gradient |
---|
| 269 | type 2 |
---|
| 270 | |
---|
| 271 | ############################### |
---|
| 272 | # only for interleaved method |
---|
| 273 | |
---|
| 274 | # if dirty split candidates are reevaluated |
---|
| 275 | repairQueue true |
---|
| 276 | |
---|
| 277 | ################################################### |
---|
| 278 | |
---|
| 279 | # minimal steps of same type: for interleaved, this is only valid for the first few splits |
---|
| 280 | minStepsOfSameType 100 |
---|
[2255] | 281 | maxStepsOfSameType 900 |
---|
[2228] | 282 | |
---|
[2255] | 283 | maxRepairs 2000 |
---|
[2228] | 284 | } |
---|
| 285 | |
---|
| 286 | Termination { |
---|
| 287 | # maximal number of leaves |
---|
[2364] | 288 | maxLeaves 100000 |
---|
[2228] | 289 | # maximal memory in MB |
---|
| 290 | # maxMemory 4 |
---|
[2364] | 291 | maxMemory 20 |
---|
[2228] | 292 | # minimum ratio of global cost decrease |
---|
| 293 | minGlobalCostRatio -1 |
---|
| 294 | } |
---|
| 295 | } |
---|