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