1 | ############################################################################ |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
7 | filename ../data/vienna/vienna_cropped.obj |
---|
8 | } |
---|
9 | |
---|
10 | |
---|
11 | Preprocessor { |
---|
12 | totalSamples 100000000 |
---|
13 | # totalSamples 2000000 |
---|
14 | samplesPerPass 250000 |
---|
15 | samplesPerEvaluation 5000000 |
---|
16 | |
---|
17 | # initialSamples 2000000 |
---|
18 | |
---|
19 | exportObj false |
---|
20 | delayVisibilityComputation false |
---|
21 | # stored sample rays |
---|
22 | samplesFilename rays.out |
---|
23 | useGlRenderer false |
---|
24 | useGlDebugger false |
---|
25 | # 0 = INTERNAL 1 = MLRT |
---|
26 | rayCastMethod 0 |
---|
27 | |
---|
28 | type combined |
---|
29 | detectEmptyViewSpace true |
---|
30 | pvsRenderErrorSamples 0 |
---|
31 | quitOnFinish true |
---|
32 | computeVisibility true |
---|
33 | |
---|
34 | evaluateFilter false |
---|
35 | applyVisibilityFilter false |
---|
36 | applyVisibilitySpatialFilter false |
---|
37 | |
---|
38 | visibilityFilterWidth 0.01 |
---|
39 | exportVisibility true |
---|
40 | visibilityFile visibility.xml |
---|
41 | loadMeshes false |
---|
42 | loadKdTree false |
---|
43 | exportKdTree false |
---|
44 | |
---|
45 | histogram { |
---|
46 | intervals 20 |
---|
47 | maxValue 600000 |
---|
48 | file histogram.log |
---|
49 | } |
---|
50 | Export { |
---|
51 | rays false |
---|
52 | numRays 5000 |
---|
53 | } |
---|
54 | |
---|
55 | } |
---|
56 | |
---|
57 | ObjParser { |
---|
58 | meshGrouping 2 |
---|
59 | } |
---|
60 | |
---|
61 | |
---|
62 | |
---|
63 | RssPreprocessor { |
---|
64 | |
---|
65 | # distributions mutation+spatial+object_direction |
---|
66 | # distributions mutation+spatial+object_direction+difference |
---|
67 | distributions difference+object_direction+spatial |
---|
68 | # distributions object_direction |
---|
69 | |
---|
70 | useImportanceSampling true |
---|
71 | |
---|
72 | Export { |
---|
73 | pvs false |
---|
74 | rssTree false |
---|
75 | } |
---|
76 | |
---|
77 | useViewcells true |
---|
78 | updateSubdivision true |
---|
79 | loadInitialSamples false |
---|
80 | storeInitialSamples false |
---|
81 | |
---|
82 | useRssTree true |
---|
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 |
---|
103 | maxCostRatio 0.98 |
---|
104 | ct_div_ci 0.5 |
---|
105 | maxNodes 100000 |
---|
106 | #500000 |
---|
107 | } |
---|
108 | |
---|
109 | # splitMethod spatialMedian |
---|
110 | splitMethod SAH |
---|
111 | splitBorder 0.01 |
---|
112 | } |
---|
113 | |
---|
114 | |
---|
115 | MeshKdTree { |
---|
116 | Termination { |
---|
117 | minCost 150 |
---|
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 { |
---|
129 | importRandomViewCells false |
---|
130 | |
---|
131 | useKdPvs true |
---|
132 | useKdPvsAfterFiltering true |
---|
133 | # samples used for view cell construction |
---|
134 | Construction { |
---|
135 | samples 0 |
---|
136 | samplesPerPass 1500000 |
---|
137 | } |
---|
138 | |
---|
139 | #number of active view cells |
---|
140 | active 200000 |
---|
141 | maxViewCells 200000 |
---|
142 | |
---|
143 | maxStaticMemory 40 |
---|
144 | |
---|
145 | exportToFile true |
---|
146 | loadFromFile true |
---|
147 | |
---|
148 | #type kdTree |
---|
149 | #type vspKdTree |
---|
150 | #type bspTree |
---|
151 | type vspBspTree |
---|
152 | #type vspOspTree |
---|
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 | |
---|
160 | processOnlyValidViewCells true |
---|
161 | |
---|
162 | #stats viewCellStats.log |
---|
163 | |
---|
164 | #samplingType directional |
---|
165 | samplingType box |
---|
166 | |
---|
167 | PostProcess { |
---|
168 | # how much samples are used for post processing |
---|
169 | samples 0 |
---|
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 |
---|
182 | samples 0 |
---|
183 | #colorCode PVS |
---|
184 | #colorCode MergedLeaves |
---|
185 | #colorCode MergedTreeDiff |
---|
186 | colorCode Random |
---|
187 | exportRays false |
---|
188 | exportGeometry true |
---|
189 | exportMergedViewCells false |
---|
190 | useClipPlane true |
---|
191 | clipPlaneAxis 1 |
---|
192 | clipPlanePos 0.3 |
---|
193 | } |
---|
194 | |
---|
195 | showVisualization false |
---|
196 | evaluateViewCells false |
---|
197 | |
---|
198 | Evaluation { |
---|
199 | samplesPerPass 1000000 |
---|
200 | samples 5000000 |
---|
201 | statsPrefix ../scripts/viewCells |
---|
202 | #samplingType directional |
---|
203 | samplingType box |
---|
204 | histogram true |
---|
205 | histoStepSize 5000 |
---|
206 | } |
---|
207 | |
---|
208 | |
---|
209 | #filename ../data/Arena/viewcells-20000.xml |
---|
210 | filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
211 | } |
---|