[1744] | 1 | ############################################################################## |
---|
[942] | 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
[1744] | 7 | |
---|
[942] | 8 | # filename glasgow1.x3d |
---|
| 9 | # filename vienna.x3d |
---|
| 10 | # filename ../data/vienna/vienna-simple.x3d |
---|
| 11 | # filename ../data/vienna/vienna-buildings.x3d |
---|
[1744] | 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 | # filename ../data/vienna/vienna-buildings_vienna-roofs_vienna-roads_vienna-plane_cropped.obj |
---|
| 15 | filename ../data/vienna/vienna_cropped.obj |
---|
| 16 | #;../data/vienna/vienna-plane.x3d |
---|
| 17 | # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d |
---|
[942] | 18 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 19 | # filename ../data/atlanta/atlanta2.x3d |
---|
| 20 | # filename ../data/soda/soda.dat |
---|
| 21 | # filename ../data/soda/soda5.dat |
---|
[1744] | 22 | # filename ../data/artificial/cube_test.x3d |
---|
| 23 | # filename ../data/grandcanyon1_RotXmin90.obj |
---|
| 24 | # filename ../data/CityModel.obj |
---|
| 25 | # filename ../data/arena/arena-low-lods.obj |
---|
[942] | 26 | } |
---|
| 27 | |
---|
[1744] | 28 | |
---|
[942] | 29 | Preprocessor { |
---|
| 30 | useGlRenderer false |
---|
| 31 | type vss |
---|
| 32 | detectEmptyViewSpace true |
---|
[1744] | 33 | loadMeshes false |
---|
| 34 | # internal raycaster |
---|
| 35 | rayCastMethod 0 |
---|
| 36 | # intel raycaster |
---|
| 37 | #rayCastMethod 1 |
---|
| 38 | exportVisibility false |
---|
| 39 | loadKdTree false |
---|
| 40 | exportKdTree false |
---|
| 41 | # exportObj true |
---|
[1746] | 42 | applyVisibilityFilter false |
---|
| 43 | applyVisibilitySpatialFilter false |
---|
[942] | 44 | } |
---|
| 45 | |
---|
[1744] | 46 | |
---|
[942] | 47 | VssPreprocessor { |
---|
| 48 | useImportanceSampling true |
---|
| 49 | loadInitialSamples false |
---|
| 50 | storeInitialSamples false |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | VssTree { |
---|
| 55 | useRss false |
---|
| 56 | epsilon 1e-6 |
---|
| 57 | |
---|
[1744] | 58 | maxDepth 2 |
---|
[942] | 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 |
---|
[1744] | 74 | dirSplitDepth 0 |
---|
[942] | 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 | |
---|
[1744] | 90 | |
---|
[942] | 91 | Unigraphics { |
---|
[1744] | 92 | meshGrouping 1 |
---|
[942] | 93 | } |
---|
| 94 | |
---|
[1744] | 95 | |
---|
[942] | 96 | KdTree { |
---|
| 97 | sahUseFaces true |
---|
[1744] | 98 | |
---|
[942] | 99 | Termination { |
---|
[1744] | 100 | minCost 0 |
---|
| 101 | maxDepth 20 |
---|
| 102 | |
---|
| 103 | maxCostRatio 1.5 |
---|
[942] | 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 { |
---|
[1744] | 127 | |
---|
| 128 | # samples used for view cell construction |
---|
| 129 | # (after the sampling used for the hierarchy) |
---|
[942] | 130 | Construction { |
---|
| 131 | samples 0 |
---|
[1744] | 132 | samplesPerPass 1000000 |
---|
[942] | 133 | } |
---|
| 134 | |
---|
[1744] | 135 | # number of active view cells |
---|
| 136 | active 50000 |
---|
[942] | 137 | maxStaticMemory 40 |
---|
| 138 | |
---|
| 139 | exportToFile true |
---|
| 140 | loadFromFile false |
---|
| 141 | |
---|
[1744] | 142 | exportPvs false |
---|
[942] | 143 | |
---|
[1744] | 144 | # type of view cells |
---|
| 145 | type vspOspTree |
---|
| 146 | |
---|
[942] | 147 | #percentage of total visible objects where pvs is considered invalid |
---|
| 148 | maxPvsRatio 1.0 |
---|
| 149 | |
---|
| 150 | processOnlyValidViewCells false |
---|
| 151 | |
---|
[1744] | 152 | #samplingType object_directional |
---|
[942] | 153 | #samplingType directional |
---|
| 154 | samplingType box |
---|
[1744] | 155 | #samplingType reverse_object |
---|
| 156 | #samplingType object |
---|
[942] | 157 | |
---|
| 158 | PostProcess { |
---|
| 159 | # how much samples are used for post processing |
---|
| 160 | samples 0 |
---|
| 161 | maxMergesPerPass 5000 |
---|
| 162 | useRaysForMerge false |
---|
[1744] | 163 | refine false |
---|
[942] | 164 | compress false |
---|
[1744] | 165 | merge false |
---|
[942] | 166 | } |
---|
| 167 | |
---|
| 168 | Visualization { |
---|
| 169 | # how much samples we use for visualization |
---|
[1744] | 170 | samples 200 |
---|
| 171 | exportRays true |
---|
[942] | 172 | exportGeometry true |
---|
| 173 | exportMergedViewCells false |
---|
| 174 | useClipPlane true |
---|
| 175 | clipPlaneAxis 1 |
---|
[1744] | 176 | clipPlanePos 0.3 |
---|
| 177 | maxOutput 2 |
---|
[942] | 178 | } |
---|
| 179 | |
---|
| 180 | showVisualization true |
---|
[1744] | 181 | #showVisualization false |
---|
[942] | 182 | evaluateViewCells false |
---|
| 183 | |
---|
| 184 | Evaluation { |
---|
[1744] | 185 | samples 80000000 |
---|
| 186 | samplesForStats 80000000 |
---|
| 187 | samplesPerPass 2000000 |
---|
[942] | 188 | |
---|
[1744] | 189 | stepSize 500 |
---|
[942] | 190 | |
---|
[1744] | 191 | #samplingType object_directional |
---|
| 192 | #samplingType reverse_object |
---|
| 193 | #samplingType object |
---|
| 194 | samplingType box |
---|
[942] | 195 | |
---|
[1744] | 196 | statsPrefix ../scripts/viewCells |
---|
| 197 | } |
---|
[942] | 198 | } |
---|
| 199 | |
---|
| 200 | |
---|
[1744] | 201 | ################################ |
---|
| 202 | # |
---|
| 203 | # View space partitioning kd tree |
---|
| 204 | # |
---|
| 205 | |
---|
| 206 | VspTree { |
---|
[942] | 207 | Construction { |
---|
[1744] | 208 | renderCostDecreaseWeight 1.0 |
---|
[942] | 209 | } |
---|
| 210 | |
---|
[1744] | 211 | Termination { |
---|
| 212 | minPvs 0 |
---|
| 213 | maxViewCells 500000 |
---|
| 214 | } |
---|
[942] | 215 | |
---|
[1744] | 216 | useCostHeuristics true |
---|
| 217 | splitUseOnlyDrivingAxis false |
---|
[942] | 218 | |
---|
[1744] | 219 | # maximum number of tests per node |
---|
| 220 | maxTests 50000 |
---|
| 221 | } |
---|
[942] | 222 | |
---|
| 223 | |
---|
[1744] | 224 | ########################## |
---|
| 225 | # |
---|
| 226 | # The bounding volume hierarchy |
---|
| 227 | # |
---|
[942] | 228 | |
---|
[1744] | 229 | BvHierarchy { |
---|
| 230 | |
---|
| 231 | Construction { |
---|
| 232 | renderCostDecreaseWeight 1.0 |
---|
[942] | 233 | } |
---|
| 234 | |
---|
[1744] | 235 | Termination { |
---|
| 236 | maxLeaves 50000000 |
---|
[942] | 237 | } |
---|
| 238 | |
---|
[1744] | 239 | minRaysForVisibility 15 |
---|
| 240 | |
---|
| 241 | # use only surface area heuristic |
---|
| 242 | useCostHeuristics true |
---|
| 243 | useSah false |
---|
| 244 | |
---|
[942] | 245 | splitUseOnlyDrivingAxis false |
---|
| 246 | |
---|
[1744] | 247 | maxTests 50000 |
---|
[942] | 248 | } |
---|
| 249 | |
---|
[1744] | 250 | |
---|
| 251 | ############################################################### |
---|
| 252 | # |
---|
| 253 | # Manages the construction of view space and object space partition |
---|
| 254 | # |
---|
| 255 | |
---|
| 256 | Hierarchy { |
---|
| 257 | # the type of object space partition: view space is always vsp (=kd) partition |
---|
| 258 | type bvh |
---|
| 259 | |
---|
[942] | 260 | Construction { |
---|
| 261 | |
---|
[1744] | 262 | samples 3000000 |
---|
[942] | 263 | |
---|
[1744] | 264 | # type 0 = sequential computation, 1 = interleaved, 2 = gradient |
---|
| 265 | type 2 |
---|
[942] | 266 | |
---|
[1744] | 267 | ############################### |
---|
| 268 | # only for interleaved method |
---|
[942] | 269 | |
---|
[1744] | 270 | # minimal steps of same type for gradient method |
---|
| 271 | minStepsOfSameType 100 |
---|
| 272 | # maximum steps of same type for gradient method |
---|
| 273 | maxStepsOfSameType 900 |
---|
| 274 | |
---|
| 275 | # maximum number of repair steps per gradient step |
---|
| 276 | maxRepairs 1000 |
---|
[942] | 277 | } |
---|
| 278 | |
---|
[1744] | 279 | Termination { |
---|
| 280 | # maximal number of leaves |
---|
| 281 | maxLeaves 100000 |
---|
| 282 | # maximal memory in MB |
---|
[1745] | 283 | maxMemory 18 |
---|
[1744] | 284 | # minimum ratio of global cost decrease |
---|
| 285 | minGlobalCostRatio -1 |
---|
[942] | 286 | } |
---|
[1744] | 287 | } |
---|