[1744] | 1 | ############################################################################## |
---|
[942] | 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
[2064] | 7 | # filename ../data/vienna/vienna_cropped.obj |
---|
[2065] | 8 | filename ../data/soda/soda5.obj |
---|
[942] | 9 | } |
---|
| 10 | |
---|
[1744] | 11 | |
---|
[942] | 12 | Preprocessor { |
---|
[2065] | 13 | samplesPerPass 3000000 |
---|
[942] | 14 | useGlRenderer false |
---|
| 15 | type vss |
---|
| 16 | detectEmptyViewSpace true |
---|
[2065] | 17 | #loadMeshes true |
---|
[1744] | 18 | loadMeshes false |
---|
| 19 | # internal raycaster |
---|
| 20 | rayCastMethod 0 |
---|
| 21 | # intel raycaster |
---|
| 22 | #rayCastMethod 1 |
---|
| 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 | |
---|
[2065] | 88 | maxCostRatio 2.5 |
---|
[942] | 89 | ct_div_ci 0.5 |
---|
| 90 | } |
---|
| 91 | |
---|
| 92 | # splitMethod spatialMedian |
---|
| 93 | splitMethod SAH |
---|
| 94 | splitBorder 0.01 |
---|
| 95 | } |
---|
| 96 | |
---|
[2065] | 97 | |
---|
[942] | 98 | MeshKdTree { |
---|
| 99 | Termination { |
---|
| 100 | minCost 1 |
---|
| 101 | maxDepth 18 |
---|
| 102 | maxCostRatio 0.9 |
---|
| 103 | ct_div_ci 0.5 |
---|
| 104 | } |
---|
| 105 | |
---|
| 106 | # splitMethod spatialMedian |
---|
| 107 | splitMethod SAH |
---|
| 108 | splitBorder 0.01 |
---|
| 109 | } |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | ViewCells { |
---|
[1744] | 113 | |
---|
| 114 | # samples used for view cell construction |
---|
| 115 | # (after the sampling used for the hierarchy) |
---|
[942] | 116 | Construction { |
---|
| 117 | samples 0 |
---|
[1744] | 118 | samplesPerPass 1000000 |
---|
[942] | 119 | } |
---|
| 120 | |
---|
[1744] | 121 | # number of active view cells |
---|
| 122 | active 50000 |
---|
[942] | 123 | maxStaticMemory 40 |
---|
| 124 | |
---|
| 125 | exportToFile true |
---|
| 126 | loadFromFile false |
---|
| 127 | |
---|
[1744] | 128 | exportPvs false |
---|
[942] | 129 | |
---|
[1744] | 130 | # type of view cells |
---|
[2064] | 131 | type vspBspTree |
---|
[1744] | 132 | |
---|
[942] | 133 | #percentage of total visible objects where pvs is considered invalid |
---|
| 134 | maxPvsRatio 1.0 |
---|
| 135 | |
---|
| 136 | processOnlyValidViewCells false |
---|
| 137 | |
---|
[1744] | 138 | #samplingType object_directional |
---|
[942] | 139 | #samplingType directional |
---|
| 140 | samplingType box |
---|
[1744] | 141 | #samplingType reverse_object |
---|
| 142 | #samplingType object |
---|
[942] | 143 | |
---|
| 144 | PostProcess { |
---|
| 145 | # how much samples are used for post processing |
---|
| 146 | samples 0 |
---|
| 147 | maxMergesPerPass 5000 |
---|
| 148 | useRaysForMerge false |
---|
[1744] | 149 | refine false |
---|
[942] | 150 | compress false |
---|
[1744] | 151 | merge false |
---|
[942] | 152 | } |
---|
| 153 | |
---|
| 154 | Visualization { |
---|
| 155 | # how much samples we use for visualization |
---|
[2065] | 156 | samples 20000 |
---|
[1744] | 157 | exportRays true |
---|
[942] | 158 | exportGeometry true |
---|
| 159 | exportMergedViewCells false |
---|
| 160 | useClipPlane true |
---|
| 161 | clipPlaneAxis 1 |
---|
[1744] | 162 | clipPlanePos 0.3 |
---|
| 163 | maxOutput 2 |
---|
[942] | 164 | } |
---|
| 165 | |
---|
| 166 | showVisualization true |
---|
[1744] | 167 | #showVisualization false |
---|
[942] | 168 | evaluateViewCells false |
---|
| 169 | |
---|
| 170 | Evaluation { |
---|
[1744] | 171 | samples 80000000 |
---|
| 172 | samplesForStats 80000000 |
---|
| 173 | samplesPerPass 2000000 |
---|
[942] | 174 | |
---|
[1744] | 175 | stepSize 500 |
---|
[942] | 176 | |
---|
[1744] | 177 | #samplingType object_directional |
---|
| 178 | #samplingType reverse_object |
---|
| 179 | #samplingType object |
---|
| 180 | samplingType box |
---|
[942] | 181 | |
---|
[1744] | 182 | statsPrefix ../scripts/viewCells |
---|
| 183 | } |
---|
[942] | 184 | } |
---|
| 185 | |
---|
| 186 | |
---|
[2064] | 187 | VspBspTree { |
---|
[942] | 188 | Construction { |
---|
[2065] | 189 | samples 300000 |
---|
[2064] | 190 | epsilon 0.0000001 |
---|
| 191 | randomize false |
---|
| 192 | renderCostWeight 1.0 |
---|
[942] | 193 | } |
---|
| 194 | |
---|
| 195 | |
---|
[2064] | 196 | # random polygon = 1 |
---|
| 197 | # axis aligned = 2 |
---|
| 198 | # least ray splits = 256 |
---|
| 199 | # balanced rays = 512 |
---|
| 200 | # pvs = 1024 |
---|
| 201 | |
---|
| 202 | splitPlaneStrategy 1026 |
---|
| 203 | |
---|
| 204 | # maximal candidates for split planes |
---|
| 205 | maxPolyCandidates 0 |
---|
[942] | 206 | |
---|
[2064] | 207 | usePolygonSplitIfAvailable false |
---|
[942] | 208 | |
---|
[2064] | 209 | # maximal tested rays for split cost heuristics |
---|
| 210 | maxTests 10000 |
---|
| 211 | |
---|
| 212 | maxTotalMemory 50 |
---|
| 213 | maxStaticMemory 50 |
---|
[942] | 214 | |
---|
[2064] | 215 | subdivisionStats ../subdivisionStats.log |
---|
[942] | 216 | |
---|
[2064] | 217 | # factors for evaluating split plane costs |
---|
| 218 | Factor { |
---|
| 219 | leastRaySplits 1.0 |
---|
| 220 | balancedRays 1.0 |
---|
| 221 | pvs 1.0 |
---|
[942] | 222 | } |
---|
[2064] | 223 | |
---|
[1744] | 224 | Termination { |
---|
[2064] | 225 | # parameters used for autopartition |
---|
| 226 | minRays -1 |
---|
| 227 | minPolygons -1 |
---|
| 228 | maxDepth 25 |
---|
| 229 | minPvs 0 |
---|
| 230 | minProbability 0.000001 |
---|
| 231 | maxRayContribution 1 |
---|
| 232 | maxCostRatio 0.9 |
---|
| 233 | missTolerance 6 |
---|
| 234 | globalCostMissTolerance 4 |
---|
| 235 | minGlobalCostRatio 0.0001 |
---|
[942] | 236 | |
---|
[2064] | 237 | maxViewCells 200 |
---|
| 238 | |
---|
[1744] | 239 | |
---|
[2064] | 240 | # used for pvs criterium |
---|
| 241 | ct_div_ci 0.0 |
---|
| 242 | |
---|
| 243 | AxisAligned { |
---|
| 244 | minRays 50000 |
---|
| 245 | maxRayContribution 9.9 |
---|
| 246 | } |
---|
| 247 | } |
---|
| 248 | |
---|
| 249 | useSplitCostQueue true |
---|
[1744] | 250 | |
---|
[942] | 251 | splitUseOnlyDrivingAxis false |
---|
[2064] | 252 | simulateOctree false |
---|
| 253 | useRandomAxis false |
---|
| 254 | usePolygonSplitIfAvailable false |
---|
| 255 | nodePriorityQueueType 0 |
---|
[942] | 256 | |
---|
[2064] | 257 | useCostHeuristics true |
---|
[942] | 258 | |
---|
[2064] | 259 | Visualization { |
---|
| 260 | # x3d visualization of the split planes |
---|
| 261 | exportSplits false |
---|
[942] | 262 | } |
---|
[1744] | 263 | } |
---|