[886] | 1 | ############################################################################ |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
[1746] | 7 | filename ../data/vienna/vienna_cropped.obj |
---|
[886] | 8 | } |
---|
| 9 | |
---|
[2075] | 10 | |
---|
[886] | 11 | Preprocessor { |
---|
[2075] | 12 | totalSamples 100000000 |
---|
| 13 | # totalSamples 2000000 |
---|
| 14 | samplesPerPass 250000 |
---|
| 15 | samplesPerEvaluation 5000000 |
---|
| 16 | |
---|
| 17 | # initialSamples 2000000 |
---|
| 18 | |
---|
| 19 | exportObj false |
---|
[1746] | 20 | delayVisibilityComputation false |
---|
[886] | 21 | # stored sample rays |
---|
| 22 | samplesFilename rays.out |
---|
[1927] | 23 | useGlRenderer false |
---|
[886] | 24 | useGlDebugger false |
---|
[2075] | 25 | # 0 = INTERNAL 1 = MLRT |
---|
[2211] | 26 | rayCastMethod 0 |
---|
[1746] | 27 | |
---|
[2075] | 28 | type combined |
---|
[1746] | 29 | detectEmptyViewSpace true |
---|
[886] | 30 | pvsRenderErrorSamples 0 |
---|
| 31 | quitOnFinish true |
---|
| 32 | computeVisibility true |
---|
[2075] | 33 | |
---|
| 34 | evaluateFilter false |
---|
[1746] | 35 | applyVisibilityFilter false |
---|
| 36 | applyVisibilitySpatialFilter false |
---|
[2075] | 37 | |
---|
[886] | 38 | visibilityFilterWidth 0.01 |
---|
[1746] | 39 | exportVisibility true |
---|
[886] | 40 | visibilityFile visibility.xml |
---|
[1746] | 41 | loadMeshes false |
---|
| 42 | loadKdTree false |
---|
| 43 | exportKdTree false |
---|
[2075] | 44 | |
---|
| 45 | histogram { |
---|
| 46 | intervals 20 |
---|
| 47 | maxValue 600000 |
---|
| 48 | file histogram.log |
---|
| 49 | } |
---|
| 50 | Export { |
---|
| 51 | rays false |
---|
| 52 | numRays 5000 |
---|
| 53 | } |
---|
| 54 | |
---|
[886] | 55 | } |
---|
| 56 | |
---|
[1746] | 57 | ObjParser { |
---|
| 58 | meshGrouping 2 |
---|
| 59 | } |
---|
[886] | 60 | |
---|
[1746] | 61 | |
---|
| 62 | |
---|
| 63 | RssPreprocessor { |
---|
[886] | 64 | |
---|
[2559] | 65 | # distributions mutation+spatial+object_direction |
---|
| 66 | # distributions mutation+spatial+object_direction+difference |
---|
| 67 | distributions difference+object_direction+spatial |
---|
[2075] | 68 | # distributions object_direction |
---|
[886] | 69 | |
---|
[2075] | 70 | useImportanceSampling true |
---|
| 71 | |
---|
[886] | 72 | Export { |
---|
| 73 | pvs false |
---|
| 74 | rssTree false |
---|
| 75 | } |
---|
| 76 | |
---|
| 77 | useViewcells true |
---|
| 78 | updateSubdivision true |
---|
| 79 | loadInitialSamples false |
---|
| 80 | storeInitialSamples false |
---|
[2075] | 81 | |
---|
| 82 | useRssTree true |
---|
[886] | 83 | } |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | Limits { |
---|
| 88 | |
---|
| 89 | threshold 1e-6 |
---|
| 90 | small 1e-6 |
---|
| 91 | infinity 1e9 |
---|
| 92 | } |
---|
| 93 | |
---|
| 94 | Unigraphics { |
---|
| 95 | meshGrouping 1 |
---|
| 96 | } |
---|
| 97 | |
---|
| 98 | KdTree { |
---|
| 99 | sahUseFaces false |
---|
| 100 | Termination { |
---|
| 101 | minCost 1 |
---|
| 102 | maxDepth 30 |
---|
[2075] | 103 | maxCostRatio 0.98 |
---|
[886] | 104 | ct_div_ci 0.5 |
---|
[2075] | 105 | maxNodes 100000 |
---|
| 106 | #500000 |
---|
[886] | 107 | } |
---|
| 108 | |
---|
| 109 | # splitMethod spatialMedian |
---|
| 110 | splitMethod SAH |
---|
| 111 | splitBorder 0.01 |
---|
| 112 | } |
---|
| 113 | |
---|
[2075] | 114 | |
---|
[886] | 115 | MeshKdTree { |
---|
| 116 | Termination { |
---|
[2075] | 117 | minCost 150 |
---|
[886] | 118 | maxDepth 18 |
---|
| 119 | maxCostRatio 0.9 |
---|
| 120 | ct_div_ci 0.5 |
---|
| 121 | } |
---|
| 122 | |
---|
| 123 | # splitMethod spatialMedian |
---|
| 124 | splitMethod SAH |
---|
| 125 | splitBorder 0.01 |
---|
| 126 | } |
---|
| 127 | |
---|
| 128 | ViewCells { |
---|
[2075] | 129 | importRandomViewCells false |
---|
| 130 | |
---|
[2211] | 131 | useKdPvs true |
---|
[2075] | 132 | useKdPvsAfterFiltering true |
---|
[886] | 133 | # samples used for view cell construction |
---|
| 134 | Construction { |
---|
[1746] | 135 | samples 0 |
---|
| 136 | samplesPerPass 1500000 |
---|
[886] | 137 | } |
---|
| 138 | |
---|
| 139 | #number of active view cells |
---|
[2075] | 140 | active 200000 |
---|
| 141 | maxViewCells 200000 |
---|
[1746] | 142 | |
---|
[886] | 143 | maxStaticMemory 40 |
---|
| 144 | |
---|
[1746] | 145 | exportToFile true |
---|
[886] | 146 | loadFromFile true |
---|
| 147 | |
---|
| 148 | #type kdTree |
---|
| 149 | #type vspKdTree |
---|
| 150 | #type bspTree |
---|
[2075] | 151 | type vspBspTree |
---|
| 152 | #type vspOspTree |
---|
[886] | 153 | #type sceneDependent |
---|
| 154 | |
---|
| 155 | height 5.0 |
---|
| 156 | |
---|
| 157 | #percentage of total visible objects where pvs is considered invalid |
---|
| 158 | maxPvsRatio 1.0 |
---|
| 159 | |
---|
[2075] | 160 | processOnlyValidViewCells true |
---|
[886] | 161 | |
---|
| 162 | #stats viewCellStats.log |
---|
| 163 | |
---|
[1746] | 164 | #samplingType directional |
---|
| 165 | samplingType box |
---|
[886] | 166 | |
---|
| 167 | PostProcess { |
---|
| 168 | # how much samples are used for post processing |
---|
[1746] | 169 | samples 0 |
---|
[886] | 170 | renderCostWeight 1.0 |
---|
| 171 | maxCostRatio 0.1 |
---|
| 172 | minViewCells 1 |
---|
| 173 | avgCostMaxDeviation 0.01 |
---|
| 174 | maxMergesPerPass 5000 |
---|
| 175 | useRaysForMerge false |
---|
| 176 | compress false |
---|
| 177 | merge false |
---|
| 178 | } |
---|
| 179 | |
---|
| 180 | Visualization { |
---|
| 181 | # how much samples we use for visualization |
---|
[1746] | 182 | samples 0 |
---|
[886] | 183 | #colorCode PVS |
---|
| 184 | #colorCode MergedLeaves |
---|
| 185 | #colorCode MergedTreeDiff |
---|
| 186 | colorCode Random |
---|
| 187 | exportRays false |
---|
[1746] | 188 | exportGeometry true |
---|
[886] | 189 | exportMergedViewCells false |
---|
| 190 | useClipPlane true |
---|
| 191 | clipPlaneAxis 1 |
---|
[1746] | 192 | clipPlanePos 0.3 |
---|
[886] | 193 | } |
---|
| 194 | |
---|
[1746] | 195 | showVisualization false |
---|
[886] | 196 | evaluateViewCells false |
---|
| 197 | |
---|
| 198 | Evaluation { |
---|
[1746] | 199 | samplesPerPass 1000000 |
---|
| 200 | samples 5000000 |
---|
[886] | 201 | statsPrefix ../scripts/viewCells |
---|
[1746] | 202 | #samplingType directional |
---|
| 203 | samplingType box |
---|
| 204 | histogram true |
---|
| 205 | histoStepSize 5000 |
---|
[886] | 206 | } |
---|
| 207 | |
---|
[2075] | 208 | |
---|
[2211] | 209 | #filename ../data/Arena/viewcells-20000.xml |
---|
[1746] | 210 | filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
[2211] | 211 | } |
---|