[1744] | 1 | ############################################################################## |
---|
[942] | 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
[2066] | 7 | filename ../data/vienna/vienna_cropped.obj |
---|
| 8 | # filename ../data/soda/soda5.obj |
---|
| 9 | # filename ../data/soda/soda5.dat |
---|
[942] | 10 | } |
---|
| 11 | |
---|
[1744] | 12 | |
---|
[942] | 13 | Preprocessor { |
---|
[2069] | 14 | samplesPerPass 6000000 |
---|
[942] | 15 | useGlRenderer false |
---|
| 16 | type vss |
---|
| 17 | detectEmptyViewSpace true |
---|
[2065] | 18 | #loadMeshes true |
---|
[1744] | 19 | loadMeshes false |
---|
| 20 | # internal raycaster |
---|
[2069] | 21 | #rayCastMethod 0 |
---|
[1744] | 22 | # intel raycaster |
---|
[2069] | 23 | rayCastMethod 1 |
---|
[1744] | 24 | exportVisibility false |
---|
| 25 | loadKdTree false |
---|
| 26 | exportKdTree false |
---|
| 27 | # exportObj true |
---|
[1746] | 28 | applyVisibilityFilter false |
---|
| 29 | applyVisibilitySpatialFilter false |
---|
[942] | 30 | } |
---|
| 31 | |
---|
[1744] | 32 | |
---|
[942] | 33 | VssPreprocessor { |
---|
| 34 | useImportanceSampling true |
---|
| 35 | loadInitialSamples false |
---|
| 36 | storeInitialSamples false |
---|
| 37 | } |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | VssTree { |
---|
| 41 | useRss false |
---|
| 42 | epsilon 1e-6 |
---|
| 43 | |
---|
[1744] | 44 | maxDepth 2 |
---|
[942] | 45 | minPvs 30 |
---|
| 46 | minRays 800 |
---|
| 47 | minSize 0.001 |
---|
| 48 | maxCostRatio 1.5 |
---|
| 49 | maxRayContribution 0.5 |
---|
| 50 | |
---|
| 51 | maxTotalMemory 50 |
---|
| 52 | maxStaticMemory 20 |
---|
| 53 | |
---|
| 54 | splitType regular |
---|
| 55 | # splitType heuristic |
---|
| 56 | # splitType hybrid |
---|
| 57 | splitUseOnlyDrivingAxis true |
---|
| 58 | |
---|
| 59 | interleaveDirSplits true |
---|
[1744] | 60 | dirSplitDepth 0 |
---|
[942] | 61 | |
---|
| 62 | numberOfEndPointDomains 10000 |
---|
| 63 | ct_div_ci 0.0 |
---|
| 64 | randomize false |
---|
| 65 | |
---|
| 66 | refDirBoxMaxSize 0.1 |
---|
| 67 | } |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | Limits { |
---|
| 71 | threshold 1e-6 |
---|
| 72 | small 1e-6 |
---|
| 73 | infinity 1e9 |
---|
| 74 | } |
---|
| 75 | |
---|
[1744] | 76 | |
---|
[942] | 77 | Unigraphics { |
---|
[1744] | 78 | meshGrouping 1 |
---|
[942] | 79 | } |
---|
| 80 | |
---|
[1744] | 81 | |
---|
[942] | 82 | KdTree { |
---|
| 83 | sahUseFaces true |
---|
[1744] | 84 | |
---|
[942] | 85 | Termination { |
---|
[1744] | 86 | minCost 0 |
---|
| 87 | maxDepth 20 |
---|
| 88 | |
---|
[2066] | 89 | maxCostRatio 1.5 |
---|
| 90 | #maxCostRatio 999999 |
---|
[942] | 91 | ct_div_ci 0.5 |
---|
| 92 | } |
---|
| 93 | |
---|
| 94 | # splitMethod spatialMedian |
---|
| 95 | splitMethod SAH |
---|
| 96 | splitBorder 0.01 |
---|
| 97 | } |
---|
| 98 | |
---|
[2065] | 99 | |
---|
[942] | 100 | MeshKdTree { |
---|
| 101 | Termination { |
---|
| 102 | minCost 1 |
---|
| 103 | maxDepth 18 |
---|
| 104 | maxCostRatio 0.9 |
---|
| 105 | ct_div_ci 0.5 |
---|
| 106 | } |
---|
| 107 | |
---|
| 108 | # splitMethod spatialMedian |
---|
| 109 | splitMethod SAH |
---|
| 110 | splitBorder 0.01 |
---|
| 111 | } |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | ViewCells { |
---|
[1744] | 115 | |
---|
| 116 | # samples used for view cell construction |
---|
| 117 | # (after the sampling used for the hierarchy) |
---|
[942] | 118 | Construction { |
---|
| 119 | samples 0 |
---|
[1744] | 120 | samplesPerPass 1000000 |
---|
[942] | 121 | } |
---|
| 122 | |
---|
[1744] | 123 | # number of active view cells |
---|
| 124 | active 50000 |
---|
[942] | 125 | maxStaticMemory 40 |
---|
| 126 | |
---|
| 127 | exportToFile true |
---|
| 128 | loadFromFile false |
---|
| 129 | |
---|
[1744] | 130 | exportPvs false |
---|
[2066] | 131 | filename vienna_cropped-visibility.xml.gz |
---|
[942] | 132 | |
---|
[1744] | 133 | # type of view cells |
---|
[2064] | 134 | type vspBspTree |
---|
[1744] | 135 | |
---|
[942] | 136 | #percentage of total visible objects where pvs is considered invalid |
---|
| 137 | maxPvsRatio 1.0 |
---|
| 138 | |
---|
| 139 | processOnlyValidViewCells false |
---|
| 140 | |
---|
[1744] | 141 | #samplingType object_directional |
---|
[942] | 142 | #samplingType directional |
---|
| 143 | samplingType box |
---|
[1744] | 144 | #samplingType reverse_object |
---|
| 145 | #samplingType object |
---|
[942] | 146 | |
---|
| 147 | PostProcess { |
---|
| 148 | # how much samples are used for post processing |
---|
| 149 | samples 0 |
---|
| 150 | maxMergesPerPass 5000 |
---|
| 151 | useRaysForMerge false |
---|
[1744] | 152 | refine false |
---|
[942] | 153 | compress false |
---|
[1744] | 154 | merge false |
---|
[942] | 155 | } |
---|
| 156 | |
---|
| 157 | Visualization { |
---|
| 158 | # how much samples we use for visualization |
---|
[2065] | 159 | samples 20000 |
---|
[1744] | 160 | exportRays true |
---|
[2069] | 161 | exportGeometry false |
---|
[942] | 162 | exportMergedViewCells false |
---|
| 163 | useClipPlane true |
---|
| 164 | clipPlaneAxis 1 |
---|
[1744] | 165 | clipPlanePos 0.3 |
---|
| 166 | maxOutput 2 |
---|
[942] | 167 | } |
---|
| 168 | |
---|
[2069] | 169 | showVisualization true |
---|
| 170 | #showVisualization false |
---|
[942] | 171 | evaluateViewCells false |
---|
| 172 | |
---|
| 173 | Evaluation { |
---|
[1744] | 174 | samples 80000000 |
---|
| 175 | samplesForStats 80000000 |
---|
| 176 | samplesPerPass 2000000 |
---|
[942] | 177 | |
---|
[1744] | 178 | stepSize 500 |
---|
[942] | 179 | |
---|
[1744] | 180 | #samplingType object_directional |
---|
| 181 | #samplingType reverse_object |
---|
| 182 | #samplingType object |
---|
| 183 | samplingType box |
---|
[942] | 184 | |
---|
[1744] | 185 | statsPrefix ../scripts/viewCells |
---|
| 186 | } |
---|
[942] | 187 | } |
---|
| 188 | |
---|
| 189 | |
---|
[2064] | 190 | VspBspTree { |
---|
[942] | 191 | Construction { |
---|
[2069] | 192 | samples 900000 |
---|
[2064] | 193 | epsilon 0.0000001 |
---|
| 194 | randomize false |
---|
| 195 | renderCostWeight 1.0 |
---|
[942] | 196 | } |
---|
| 197 | |
---|
| 198 | |
---|
[2064] | 199 | # random polygon = 1 |
---|
| 200 | # axis aligned = 2 |
---|
| 201 | # least ray splits = 256 |
---|
| 202 | # balanced rays = 512 |
---|
| 203 | # pvs = 1024 |
---|
| 204 | |
---|
| 205 | splitPlaneStrategy 1026 |
---|
| 206 | |
---|
| 207 | # maximal candidates for split planes |
---|
| 208 | maxPolyCandidates 0 |
---|
[942] | 209 | |
---|
[2064] | 210 | usePolygonSplitIfAvailable false |
---|
[942] | 211 | |
---|
[2064] | 212 | # maximal tested rays for split cost heuristics |
---|
[2066] | 213 | maxTests 100000 |
---|
[2064] | 214 | |
---|
| 215 | maxTotalMemory 50 |
---|
| 216 | maxStaticMemory 50 |
---|
[942] | 217 | |
---|
[2064] | 218 | subdivisionStats ../subdivisionStats.log |
---|
[942] | 219 | |
---|
[2064] | 220 | # factors for evaluating split plane costs |
---|
| 221 | Factor { |
---|
| 222 | leastRaySplits 1.0 |
---|
| 223 | balancedRays 1.0 |
---|
| 224 | pvs 1.0 |
---|
[942] | 225 | } |
---|
[2064] | 226 | |
---|
[1744] | 227 | Termination { |
---|
[2064] | 228 | # parameters used for autopartition |
---|
| 229 | minRays -1 |
---|
| 230 | minPolygons -1 |
---|
| 231 | maxDepth 25 |
---|
| 232 | minPvs 0 |
---|
| 233 | minProbability 0.000001 |
---|
| 234 | maxRayContribution 1 |
---|
| 235 | maxCostRatio 0.9 |
---|
| 236 | missTolerance 6 |
---|
| 237 | globalCostMissTolerance 4 |
---|
| 238 | minGlobalCostRatio 0.0001 |
---|
[942] | 239 | |
---|
[2069] | 240 | maxViewCells 6000 |
---|
[2064] | 241 | |
---|
| 242 | # used for pvs criterium |
---|
| 243 | ct_div_ci 0.0 |
---|
| 244 | |
---|
| 245 | AxisAligned { |
---|
| 246 | minRays 50000 |
---|
| 247 | maxRayContribution 9.9 |
---|
| 248 | } |
---|
| 249 | } |
---|
| 250 | |
---|
| 251 | useSplitCostQueue true |
---|
[1744] | 252 | |
---|
[942] | 253 | splitUseOnlyDrivingAxis false |
---|
[2064] | 254 | simulateOctree false |
---|
| 255 | useRandomAxis false |
---|
| 256 | usePolygonSplitIfAvailable false |
---|
| 257 | nodePriorityQueueType 0 |
---|
[942] | 258 | |
---|
[2064] | 259 | useCostHeuristics true |
---|
[942] | 260 | |
---|
[2064] | 261 | Visualization { |
---|
| 262 | # x3d visualization of the split planes |
---|
| 263 | exportSplits false |
---|
[942] | 264 | } |
---|
[1744] | 265 | } |
---|