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 rss+object_direction |
---|
67 | # distributions object_direction |
---|
68 | |
---|
69 | useImportanceSampling true |
---|
70 | |
---|
71 | Export { |
---|
72 | pvs false |
---|
73 | rssTree false |
---|
74 | } |
---|
75 | |
---|
76 | useViewcells true |
---|
77 | updateSubdivision true |
---|
78 | loadInitialSamples false |
---|
79 | storeInitialSamples false |
---|
80 | |
---|
81 | useRssTree true |
---|
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 |
---|
102 | maxCostRatio 0.98 |
---|
103 | ct_div_ci 0.5 |
---|
104 | maxNodes 100000 |
---|
105 | #500000 |
---|
106 | } |
---|
107 | |
---|
108 | # splitMethod spatialMedian |
---|
109 | splitMethod SAH |
---|
110 | splitBorder 0.01 |
---|
111 | } |
---|
112 | |
---|
113 | |
---|
114 | MeshKdTree { |
---|
115 | Termination { |
---|
116 | minCost 150 |
---|
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 { |
---|
128 | importRandomViewCells false |
---|
129 | |
---|
130 | useKdPvs true |
---|
131 | useKdPvsAfterFiltering true |
---|
132 | # samples used for view cell construction |
---|
133 | Construction { |
---|
134 | samples 0 |
---|
135 | samplesPerPass 1500000 |
---|
136 | } |
---|
137 | |
---|
138 | #number of active view cells |
---|
139 | active 200000 |
---|
140 | maxViewCells 200000 |
---|
141 | |
---|
142 | maxStaticMemory 40 |
---|
143 | |
---|
144 | exportToFile true |
---|
145 | loadFromFile true |
---|
146 | |
---|
147 | #type kdTree |
---|
148 | #type vspKdTree |
---|
149 | #type bspTree |
---|
150 | type vspBspTree |
---|
151 | #type vspOspTree |
---|
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 | |
---|
159 | processOnlyValidViewCells true |
---|
160 | |
---|
161 | #stats viewCellStats.log |
---|
162 | |
---|
163 | #samplingType directional |
---|
164 | samplingType box |
---|
165 | |
---|
166 | PostProcess { |
---|
167 | # how much samples are used for post processing |
---|
168 | samples 0 |
---|
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 |
---|
181 | samples 0 |
---|
182 | #colorCode PVS |
---|
183 | #colorCode MergedLeaves |
---|
184 | #colorCode MergedTreeDiff |
---|
185 | colorCode Random |
---|
186 | exportRays false |
---|
187 | exportGeometry true |
---|
188 | exportMergedViewCells false |
---|
189 | useClipPlane true |
---|
190 | clipPlaneAxis 1 |
---|
191 | clipPlanePos 0.3 |
---|
192 | } |
---|
193 | |
---|
194 | showVisualization false |
---|
195 | evaluateViewCells false |
---|
196 | |
---|
197 | Evaluation { |
---|
198 | samplesPerPass 1000000 |
---|
199 | samples 5000000 |
---|
200 | statsPrefix ../scripts/viewCells |
---|
201 | #samplingType directional |
---|
202 | samplingType box |
---|
203 | histogram true |
---|
204 | histoStepSize 5000 |
---|
205 | } |
---|
206 | |
---|
207 | |
---|
208 | #filename ../data/Arena/viewcells-20000.xml |
---|
209 | filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
210 | } |
---|