[1744] | 1 | ############################################################################## |
---|
[942] | 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
[2072] | 7 | |
---|
[2066] | 8 | filename ../data/vienna/vienna_cropped.obj |
---|
| 9 | # filename ../data/soda/soda5.dat |
---|
[942] | 10 | } |
---|
| 11 | |
---|
[1744] | 12 | |
---|
[942] | 13 | Preprocessor { |
---|
[2071] | 14 | samplesPerPass 3000000 |
---|
[942] | 15 | useGlRenderer false |
---|
| 16 | type vss |
---|
| 17 | detectEmptyViewSpace true |
---|
[1744] | 18 | loadMeshes false |
---|
| 19 | # internal raycaster |
---|
[2072] | 20 | rayCastMethod 0 |
---|
[1744] | 21 | # intel raycaster |
---|
[2072] | 22 | #rayCastMethod 1 |
---|
[1744] | 23 | exportVisibility false |
---|
| 24 | loadKdTree false |
---|
| 25 | exportKdTree false |
---|
| 26 | # exportObj true |
---|
[1746] | 27 | applyVisibilityFilter false |
---|
| 28 | applyVisibilitySpatialFilter false |
---|
[942] | 29 | } |
---|
| 30 | |
---|
[1744] | 31 | |
---|
[942] | 32 | VssPreprocessor { |
---|
| 33 | useImportanceSampling true |
---|
| 34 | loadInitialSamples false |
---|
| 35 | storeInitialSamples false |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | VssTree { |
---|
| 40 | useRss false |
---|
| 41 | epsilon 1e-6 |
---|
| 42 | |
---|
[1744] | 43 | maxDepth 2 |
---|
[942] | 44 | minPvs 30 |
---|
| 45 | minRays 800 |
---|
| 46 | minSize 0.001 |
---|
| 47 | maxCostRatio 1.5 |
---|
| 48 | maxRayContribution 0.5 |
---|
| 49 | |
---|
| 50 | maxTotalMemory 50 |
---|
| 51 | maxStaticMemory 20 |
---|
| 52 | |
---|
| 53 | splitType regular |
---|
| 54 | # splitType heuristic |
---|
| 55 | # splitType hybrid |
---|
| 56 | splitUseOnlyDrivingAxis true |
---|
| 57 | |
---|
| 58 | interleaveDirSplits true |
---|
[1744] | 59 | dirSplitDepth 0 |
---|
[942] | 60 | |
---|
| 61 | numberOfEndPointDomains 10000 |
---|
| 62 | ct_div_ci 0.0 |
---|
| 63 | randomize false |
---|
| 64 | |
---|
| 65 | refDirBoxMaxSize 0.1 |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | Limits { |
---|
| 70 | threshold 1e-6 |
---|
| 71 | small 1e-6 |
---|
| 72 | infinity 1e9 |
---|
| 73 | } |
---|
| 74 | |
---|
[1744] | 75 | |
---|
[942] | 76 | Unigraphics { |
---|
[1744] | 77 | meshGrouping 1 |
---|
[942] | 78 | } |
---|
| 79 | |
---|
[1744] | 80 | |
---|
[942] | 81 | KdTree { |
---|
| 82 | sahUseFaces true |
---|
[1744] | 83 | |
---|
[942] | 84 | Termination { |
---|
[1744] | 85 | minCost 0 |
---|
| 86 | maxDepth 20 |
---|
| 87 | |
---|
[2066] | 88 | maxCostRatio 1.5 |
---|
[942] | 89 | ct_div_ci 0.5 |
---|
| 90 | } |
---|
| 91 | |
---|
| 92 | # splitMethod spatialMedian |
---|
| 93 | splitMethod SAH |
---|
| 94 | splitBorder 0.01 |
---|
| 95 | } |
---|
| 96 | |
---|
| 97 | MeshKdTree { |
---|
| 98 | Termination { |
---|
| 99 | minCost 1 |
---|
| 100 | maxDepth 18 |
---|
| 101 | maxCostRatio 0.9 |
---|
| 102 | ct_div_ci 0.5 |
---|
| 103 | } |
---|
| 104 | |
---|
| 105 | # splitMethod spatialMedian |
---|
| 106 | splitMethod SAH |
---|
| 107 | splitBorder 0.01 |
---|
| 108 | } |
---|
| 109 | |
---|
| 110 | |
---|
| 111 | ViewCells { |
---|
[1744] | 112 | |
---|
| 113 | # samples used for view cell construction |
---|
| 114 | # (after the sampling used for the hierarchy) |
---|
[942] | 115 | Construction { |
---|
| 116 | samples 0 |
---|
[1744] | 117 | samplesPerPass 1000000 |
---|
[942] | 118 | } |
---|
| 119 | |
---|
[1744] | 120 | # number of active view cells |
---|
| 121 | active 50000 |
---|
[942] | 122 | maxStaticMemory 40 |
---|
| 123 | |
---|
| 124 | exportToFile true |
---|
| 125 | loadFromFile false |
---|
| 126 | |
---|
[2072] | 127 | filename vienna_cropped-viewcells.xml.gz |
---|
| 128 | |
---|
[1744] | 129 | exportPvs false |
---|
[942] | 130 | |
---|
[1744] | 131 | # type of view cells |
---|
[2072] | 132 | type vspOspTree |
---|
[1744] | 133 | |
---|
[942] | 134 | #percentage of total visible objects where pvs is considered invalid |
---|
| 135 | maxPvsRatio 1.0 |
---|
| 136 | |
---|
| 137 | processOnlyValidViewCells false |
---|
| 138 | |
---|
[1744] | 139 | #samplingType object_directional |
---|
[942] | 140 | #samplingType directional |
---|
| 141 | samplingType box |
---|
[1744] | 142 | #samplingType reverse_object |
---|
| 143 | #samplingType object |
---|
[942] | 144 | |
---|
| 145 | PostProcess { |
---|
| 146 | # how much samples are used for post processing |
---|
| 147 | samples 0 |
---|
| 148 | maxMergesPerPass 5000 |
---|
| 149 | useRaysForMerge false |
---|
[1744] | 150 | refine false |
---|
[942] | 151 | compress false |
---|
[1744] | 152 | merge false |
---|
[942] | 153 | } |
---|
| 154 | |
---|
| 155 | Visualization { |
---|
| 156 | # how much samples we use for visualization |
---|
[2072] | 157 | samples 200 |
---|
[1744] | 158 | exportRays true |
---|
[2072] | 159 | exportGeometry true |
---|
[942] | 160 | exportMergedViewCells false |
---|
| 161 | useClipPlane true |
---|
| 162 | clipPlaneAxis 1 |
---|
[1744] | 163 | clipPlanePos 0.3 |
---|
| 164 | maxOutput 2 |
---|
[942] | 165 | } |
---|
| 166 | |
---|
[2073] | 167 | #showVisualization true |
---|
| 168 | showVisualization false |
---|
[942] | 169 | evaluateViewCells false |
---|
| 170 | |
---|
| 171 | Evaluation { |
---|
[1744] | 172 | samples 80000000 |
---|
| 173 | samplesForStats 80000000 |
---|
| 174 | samplesPerPass 2000000 |
---|
[942] | 175 | |
---|
[1744] | 176 | stepSize 500 |
---|
[942] | 177 | |
---|
[1744] | 178 | #samplingType object_directional |
---|
| 179 | #samplingType reverse_object |
---|
| 180 | #samplingType object |
---|
| 181 | samplingType box |
---|
[942] | 182 | |
---|
[1744] | 183 | statsPrefix ../scripts/viewCells |
---|
| 184 | } |
---|
[942] | 185 | } |
---|
| 186 | |
---|
| 187 | |
---|
[2072] | 188 | ################################ |
---|
| 189 | # |
---|
| 190 | # View space partitioning kd tree |
---|
| 191 | # |
---|
| 192 | |
---|
| 193 | VspTree { |
---|
[942] | 194 | Construction { |
---|
[2072] | 195 | renderCostDecreaseWeight 1.0 |
---|
[942] | 196 | } |
---|
| 197 | |
---|
[2072] | 198 | Termination { |
---|
| 199 | minPvs 0 |
---|
| 200 | maxViewCells 5000 |
---|
| 201 | } |
---|
[942] | 202 | |
---|
[2072] | 203 | useCostHeuristics true |
---|
| 204 | splitUseOnlyDrivingAxis false |
---|
[942] | 205 | |
---|
[2072] | 206 | # maximum number of tests per node |
---|
| 207 | maxTests 50000 |
---|
| 208 | } |
---|
[942] | 209 | |
---|
| 210 | |
---|
[2072] | 211 | ########################## |
---|
| 212 | # |
---|
| 213 | # The bounding volume hierarchy |
---|
| 214 | # |
---|
[942] | 215 | |
---|
[2072] | 216 | BvHierarchy { |
---|
| 217 | |
---|
| 218 | Construction { |
---|
| 219 | renderCostDecreaseWeight 1.0 |
---|
[942] | 220 | } |
---|
[2072] | 221 | |
---|
[1744] | 222 | Termination { |
---|
[2072] | 223 | maxLeaves 50000 |
---|
[2064] | 224 | } |
---|
[1744] | 225 | |
---|
[2072] | 226 | minRaysForVisibility 15 |
---|
[942] | 227 | |
---|
[2072] | 228 | # use only surface area heuristic |
---|
[2064] | 229 | useCostHeuristics true |
---|
[2072] | 230 | useSah false |
---|
[942] | 231 | |
---|
[2072] | 232 | splitUseOnlyDrivingAxis false |
---|
| 233 | |
---|
| 234 | maxTests 50000 |
---|
| 235 | } |
---|
| 236 | |
---|
| 237 | |
---|
| 238 | ############################################################### |
---|
| 239 | # |
---|
| 240 | # Manages the construction of view space and object space partition |
---|
| 241 | # |
---|
| 242 | |
---|
| 243 | Hierarchy { |
---|
| 244 | # the type of object space partition: view space is always vsp (=kd) partition |
---|
| 245 | type bvh |
---|
| 246 | |
---|
| 247 | Construction { |
---|
| 248 | |
---|
[2073] | 249 | samples 1500000 |
---|
[2072] | 250 | |
---|
| 251 | # type 0 = sequential computation, 1 = interleaved, 2 = gradient |
---|
| 252 | type 0 |
---|
| 253 | |
---|
| 254 | ############################### |
---|
| 255 | # only for interleaved method |
---|
| 256 | |
---|
| 257 | # minimal steps of same type for gradient method |
---|
| 258 | minStepsOfSameType 100 |
---|
| 259 | # maximum steps of same type for gradient method |
---|
| 260 | maxStepsOfSameType 900 |
---|
| 261 | |
---|
| 262 | # maximum number of repair steps per gradient step |
---|
| 263 | maxRepairs 1000 |
---|
[942] | 264 | } |
---|
[2072] | 265 | |
---|
| 266 | Termination { |
---|
| 267 | # maximal number of leaves |
---|
| 268 | maxLeaves 3000000 |
---|
| 269 | # maximal memory in MB |
---|
| 270 | maxMemory 100 |
---|
| 271 | # minimum ratio of global cost decrease |
---|
| 272 | minGlobalCostRatio -1 |
---|
| 273 | } |
---|
[1744] | 274 | } |
---|