[886] | 1 | ############################################################################ |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
[1746] | 8 | filename ../data/vienna/vienna_cropped.obj |
---|
| 9 | #filename ../data/soda/soda.dat |
---|
[886] | 10 | #filename ../data/soda/soda5.dat |
---|
| 11 | } |
---|
| 12 | |
---|
| 13 | Preprocessor { |
---|
[1746] | 14 | delayVisibilityComputation false |
---|
[886] | 15 | # stored sample rays |
---|
| 16 | samplesFilename rays.out |
---|
[1927] | 17 | #useGlRenderer true |
---|
| 18 | useGlRenderer false |
---|
[886] | 19 | useGlDebugger false |
---|
[1746] | 20 | |
---|
[1926] | 21 | # 0 = INTERNAL 1 = MLRT |
---|
[1746] | 22 | rayCastMethod 0 |
---|
| 23 | |
---|
[886] | 24 | # type sampling |
---|
| 25 | # type vss |
---|
| 26 | type rss |
---|
| 27 | # type render |
---|
[1746] | 28 | detectEmptyViewSpace true |
---|
[886] | 29 | pvsRenderErrorSamples 0 |
---|
| 30 | quitOnFinish true |
---|
| 31 | computeVisibility true |
---|
[1746] | 32 | applyVisibilityFilter false |
---|
| 33 | applyVisibilitySpatialFilter false |
---|
[886] | 34 | visibilityFilterWidth 0.01 |
---|
[1746] | 35 | exportVisibility true |
---|
[886] | 36 | visibilityFile visibility.xml |
---|
[1746] | 37 | loadMeshes false |
---|
| 38 | loadKdTree false |
---|
| 39 | exportKdTree false |
---|
[886] | 40 | } |
---|
| 41 | |
---|
[1746] | 42 | ObjParser { |
---|
| 43 | meshGrouping 2 |
---|
| 44 | } |
---|
[886] | 45 | |
---|
[1746] | 46 | RenderSampler { |
---|
| 47 | samples 10000 |
---|
| 48 | } |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | SamplingPreprocessor { |
---|
| 52 | totalSamples 100000000 |
---|
[886] | 53 | samplesPerPass 1000000 |
---|
[1746] | 54 | } |
---|
| 55 | |
---|
| 56 | RssPreprocessor { |
---|
| 57 | samplesPerPass 1000 |
---|
| 58 | initialSamples 2000000 |
---|
| 59 | vssSamples 100000000 |
---|
| 60 | # vssSamples 1000000 |
---|
| 61 | vssSamplesPerPass 3000000 |
---|
[886] | 62 | useImportanceSampling true |
---|
| 63 | |
---|
| 64 | directionalSampling false |
---|
| 65 | objectBasedSampling false |
---|
| 66 | |
---|
| 67 | Export { |
---|
| 68 | pvs false |
---|
| 69 | rssTree false |
---|
| 70 | } |
---|
| 71 | |
---|
| 72 | useViewcells true |
---|
| 73 | updateSubdivision true |
---|
| 74 | loadInitialSamples false |
---|
| 75 | storeInitialSamples false |
---|
| 76 | } |
---|
| 77 | |
---|
| 78 | RssTree { |
---|
| 79 | epsilon 1e-6 |
---|
| 80 | perObjectTree false |
---|
| 81 | |
---|
[1746] | 82 | maxDepth 60 |
---|
| 83 | minPvs 1 |
---|
[886] | 84 | # before vienna test it was: |
---|
| 85 | # minRays 50 |
---|
| 86 | # splitType heuristic |
---|
| 87 | |
---|
| 88 | minRays 100 |
---|
| 89 | minSize 0.001 |
---|
| 90 | maxCostRatio 1.0 |
---|
[1746] | 91 | maxRayContribution 1.0 |
---|
| 92 | maxRays 3000000 |
---|
[886] | 93 | maxTotalMemory 200 |
---|
| 94 | maxStaticMemory 100 |
---|
| 95 | |
---|
[1746] | 96 | # splitType regular |
---|
[886] | 97 | # splitType heuristic |
---|
[1746] | 98 | splitType hybrid |
---|
| 99 | hybridDepth 10 |
---|
[886] | 100 | splitUseOnlyDrivingAxis false |
---|
[1746] | 101 | #false |
---|
[886] | 102 | importanceBasedCost false |
---|
| 103 | |
---|
| 104 | interleaveDirSplits true |
---|
| 105 | dirSplitDepth 0 |
---|
| 106 | |
---|
| 107 | ct_div_ci 0.0 |
---|
| 108 | } |
---|
| 109 | |
---|
| 110 | Limits { |
---|
| 111 | |
---|
| 112 | threshold 1e-6 |
---|
| 113 | small 1e-6 |
---|
| 114 | infinity 1e9 |
---|
| 115 | } |
---|
| 116 | |
---|
| 117 | Unigraphics { |
---|
| 118 | meshGrouping 1 |
---|
| 119 | } |
---|
| 120 | |
---|
| 121 | KdTree { |
---|
| 122 | sahUseFaces false |
---|
| 123 | Termination { |
---|
| 124 | minCost 1 |
---|
| 125 | maxDepth 30 |
---|
| 126 | maxCostRatio 1.0 |
---|
| 127 | ct_div_ci 0.5 |
---|
| 128 | maxNodes 500000 |
---|
| 129 | } |
---|
| 130 | |
---|
| 131 | # splitMethod spatialMedian |
---|
| 132 | splitMethod SAH |
---|
| 133 | splitBorder 0.01 |
---|
| 134 | } |
---|
| 135 | |
---|
| 136 | MeshKdTree { |
---|
| 137 | Termination { |
---|
| 138 | minCost 8 |
---|
| 139 | maxDepth 18 |
---|
| 140 | maxCostRatio 0.9 |
---|
| 141 | ct_div_ci 0.5 |
---|
| 142 | } |
---|
| 143 | |
---|
| 144 | # splitMethod spatialMedian |
---|
| 145 | splitMethod SAH |
---|
| 146 | splitBorder 0.01 |
---|
| 147 | } |
---|
| 148 | |
---|
| 149 | |
---|
| 150 | ViewCells { |
---|
| 151 | # samples used for view cell construction |
---|
| 152 | Construction { |
---|
[1746] | 153 | samples 0 |
---|
| 154 | samplesPerPass 1500000 |
---|
[886] | 155 | } |
---|
| 156 | |
---|
| 157 | #number of active view cells |
---|
[1746] | 158 | active 20000 |
---|
| 159 | maxViewCells 20000 |
---|
| 160 | |
---|
[886] | 161 | maxStaticMemory 40 |
---|
| 162 | |
---|
[1746] | 163 | exportToFile true |
---|
[886] | 164 | loadFromFile true |
---|
| 165 | |
---|
| 166 | #type kdTree |
---|
| 167 | #type vspKdTree |
---|
| 168 | #type bspTree |
---|
[1746] | 169 | #type vspBspTree |
---|
| 170 | type vspOspTree |
---|
[886] | 171 | #type sceneDependent |
---|
| 172 | |
---|
| 173 | height 5.0 |
---|
| 174 | |
---|
| 175 | #percentage of total visible objects where pvs is considered invalid |
---|
| 176 | maxPvsRatio 1.0 |
---|
| 177 | |
---|
| 178 | processOnlyValidViewCells false |
---|
| 179 | |
---|
| 180 | #stats viewCellStats.log |
---|
| 181 | |
---|
[1746] | 182 | #samplingType directional |
---|
| 183 | samplingType box |
---|
[886] | 184 | |
---|
| 185 | PostProcess { |
---|
| 186 | # how much samples are used for post processing |
---|
[1746] | 187 | samples 0 |
---|
[886] | 188 | renderCostWeight 1.0 |
---|
| 189 | maxCostRatio 0.1 |
---|
| 190 | minViewCells 1 |
---|
| 191 | avgCostMaxDeviation 0.01 |
---|
| 192 | maxMergesPerPass 5000 |
---|
| 193 | useRaysForMerge false |
---|
| 194 | compress false |
---|
| 195 | merge false |
---|
| 196 | } |
---|
| 197 | |
---|
| 198 | Visualization { |
---|
| 199 | # how much samples we use for visualization |
---|
[1746] | 200 | samples 0 |
---|
[886] | 201 | #colorCode PVS |
---|
| 202 | #colorCode MergedLeaves |
---|
| 203 | #colorCode MergedTreeDiff |
---|
| 204 | colorCode Random |
---|
| 205 | exportRays false |
---|
[1746] | 206 | exportGeometry true |
---|
[886] | 207 | exportMergedViewCells false |
---|
| 208 | useClipPlane true |
---|
| 209 | clipPlaneAxis 1 |
---|
[1746] | 210 | clipPlanePos 0.3 |
---|
[886] | 211 | } |
---|
| 212 | |
---|
[1746] | 213 | showVisualization false |
---|
[886] | 214 | evaluateViewCells false |
---|
| 215 | |
---|
| 216 | Evaluation { |
---|
[1746] | 217 | samplesPerPass 1000000 |
---|
| 218 | samples 5000000 |
---|
[886] | 219 | statsPrefix ../scripts/viewCells |
---|
[1746] | 220 | #samplingType directional |
---|
| 221 | samplingType box |
---|
| 222 | histogram true |
---|
| 223 | histoStepSize 5000 |
---|
[886] | 224 | } |
---|
| 225 | |
---|
[1746] | 226 | filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
[886] | 227 | } |
---|
| 228 | |
---|
| 229 | |
---|
[1746] | 230 | |
---|
[886] | 231 | Simulation { |
---|
| 232 | objRenderCost 1.0 |
---|
| 233 | vcOverhead 1.0 |
---|
| 234 | # always between 0 and 1 |
---|
| 235 | moveSpeed 0.0001 |
---|
| 236 | } |
---|