[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 | |
---|
[2075] | 65 | distributions mutation+spatial+object_direction |
---|
| 66 | # distributions rss+object_direction |
---|
| 67 | # distributions object_direction |
---|
[886] | 68 | |
---|
[2075] | 69 | useImportanceSampling true |
---|
| 70 | |
---|
[886] | 71 | Export { |
---|
| 72 | pvs false |
---|
| 73 | rssTree false |
---|
| 74 | } |
---|
| 75 | |
---|
| 76 | useViewcells true |
---|
| 77 | updateSubdivision true |
---|
| 78 | loadInitialSamples false |
---|
| 79 | storeInitialSamples false |
---|
[2075] | 80 | |
---|
| 81 | useRssTree true |
---|
[886] | 82 | } |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | Limits { |
---|
| 87 | |
---|
| 88 | threshold 1e-6 |
---|
| 89 | small 1e-6 |
---|
| 90 | infinity 1e9 |
---|
| 91 | } |
---|
| 92 | |
---|
| 93 | Unigraphics { |
---|
| 94 | meshGrouping 1 |
---|
| 95 | } |
---|
| 96 | |
---|
| 97 | KdTree { |
---|
| 98 | sahUseFaces false |
---|
| 99 | Termination { |
---|
| 100 | minCost 1 |
---|
| 101 | maxDepth 30 |
---|
[2075] | 102 | maxCostRatio 0.98 |
---|
[886] | 103 | ct_div_ci 0.5 |
---|
[2075] | 104 | maxNodes 100000 |
---|
| 105 | #500000 |
---|
[886] | 106 | } |
---|
| 107 | |
---|
| 108 | # splitMethod spatialMedian |
---|
| 109 | splitMethod SAH |
---|
| 110 | splitBorder 0.01 |
---|
| 111 | } |
---|
| 112 | |
---|
[2075] | 113 | |
---|
[886] | 114 | MeshKdTree { |
---|
| 115 | Termination { |
---|
[2075] | 116 | minCost 150 |
---|
[886] | 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 | ViewCells { |
---|
[2075] | 128 | importRandomViewCells false |
---|
| 129 | |
---|
[2211] | 130 | useKdPvs true |
---|
[2075] | 131 | useKdPvsAfterFiltering true |
---|
[886] | 132 | # samples used for view cell construction |
---|
| 133 | Construction { |
---|
[1746] | 134 | samples 0 |
---|
| 135 | samplesPerPass 1500000 |
---|
[886] | 136 | } |
---|
| 137 | |
---|
| 138 | #number of active view cells |
---|
[2075] | 139 | active 200000 |
---|
| 140 | maxViewCells 200000 |
---|
[1746] | 141 | |
---|
[886] | 142 | maxStaticMemory 40 |
---|
| 143 | |
---|
[1746] | 144 | exportToFile true |
---|
[886] | 145 | loadFromFile true |
---|
| 146 | |
---|
| 147 | #type kdTree |
---|
| 148 | #type vspKdTree |
---|
| 149 | #type bspTree |
---|
[2075] | 150 | type vspBspTree |
---|
| 151 | #type vspOspTree |
---|
[886] | 152 | #type sceneDependent |
---|
| 153 | |
---|
| 154 | height 5.0 |
---|
| 155 | |
---|
| 156 | #percentage of total visible objects where pvs is considered invalid |
---|
| 157 | maxPvsRatio 1.0 |
---|
| 158 | |
---|
[2075] | 159 | processOnlyValidViewCells true |
---|
[886] | 160 | |
---|
| 161 | #stats viewCellStats.log |
---|
| 162 | |
---|
[1746] | 163 | #samplingType directional |
---|
| 164 | samplingType box |
---|
[886] | 165 | |
---|
| 166 | PostProcess { |
---|
| 167 | # how much samples are used for post processing |
---|
[1746] | 168 | samples 0 |
---|
[886] | 169 | renderCostWeight 1.0 |
---|
| 170 | maxCostRatio 0.1 |
---|
| 171 | minViewCells 1 |
---|
| 172 | avgCostMaxDeviation 0.01 |
---|
| 173 | maxMergesPerPass 5000 |
---|
| 174 | useRaysForMerge false |
---|
| 175 | compress false |
---|
| 176 | merge false |
---|
| 177 | } |
---|
| 178 | |
---|
| 179 | Visualization { |
---|
| 180 | # how much samples we use for visualization |
---|
[1746] | 181 | samples 0 |
---|
[886] | 182 | #colorCode PVS |
---|
| 183 | #colorCode MergedLeaves |
---|
| 184 | #colorCode MergedTreeDiff |
---|
| 185 | colorCode Random |
---|
| 186 | exportRays false |
---|
[1746] | 187 | exportGeometry true |
---|
[886] | 188 | exportMergedViewCells false |
---|
| 189 | useClipPlane true |
---|
| 190 | clipPlaneAxis 1 |
---|
[1746] | 191 | clipPlanePos 0.3 |
---|
[886] | 192 | } |
---|
| 193 | |
---|
[1746] | 194 | showVisualization false |
---|
[886] | 195 | evaluateViewCells false |
---|
| 196 | |
---|
| 197 | Evaluation { |
---|
[1746] | 198 | samplesPerPass 1000000 |
---|
| 199 | samples 5000000 |
---|
[886] | 200 | statsPrefix ../scripts/viewCells |
---|
[1746] | 201 | #samplingType directional |
---|
| 202 | samplingType box |
---|
| 203 | histogram true |
---|
| 204 | histoStepSize 5000 |
---|
[886] | 205 | } |
---|
| 206 | |
---|
[2075] | 207 | |
---|
[2211] | 208 | #filename ../data/Arena/viewcells-20000.xml |
---|
[1746] | 209 | filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
[2211] | 210 | } |
---|