1 | ############################################################################ |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
7 | |
---|
8 | filename ../data/vienna/vienna_cropped.obj |
---|
9 | #filename ../data/soda/soda.dat |
---|
10 | #filename ../data/soda/soda5.dat |
---|
11 | } |
---|
12 | |
---|
13 | Preprocessor { |
---|
14 | delayVisibilityComputation false |
---|
15 | # stored sample rays |
---|
16 | samplesFilename rays.out |
---|
17 | #useGlRenderer true |
---|
18 | useGlRenderer false |
---|
19 | useGlDebugger false |
---|
20 | |
---|
21 | # 0 = INTERNAL 1 = MLRT |
---|
22 | rayCastMethod 0 |
---|
23 | |
---|
24 | # type sampling |
---|
25 | # type vss |
---|
26 | type rss |
---|
27 | # type render |
---|
28 | detectEmptyViewSpace true |
---|
29 | pvsRenderErrorSamples 0 |
---|
30 | quitOnFinish true |
---|
31 | computeVisibility true |
---|
32 | applyVisibilityFilter false |
---|
33 | applyVisibilitySpatialFilter false |
---|
34 | visibilityFilterWidth 0.01 |
---|
35 | exportVisibility true |
---|
36 | visibilityFile visibility.xml |
---|
37 | loadMeshes false |
---|
38 | loadKdTree false |
---|
39 | exportKdTree false |
---|
40 | } |
---|
41 | |
---|
42 | ObjParser { |
---|
43 | meshGrouping 2 |
---|
44 | } |
---|
45 | |
---|
46 | RenderSampler { |
---|
47 | samples 10000 |
---|
48 | } |
---|
49 | |
---|
50 | |
---|
51 | SamplingPreprocessor { |
---|
52 | totalSamples 100000000 |
---|
53 | samplesPerPass 1000000 |
---|
54 | } |
---|
55 | |
---|
56 | RssPreprocessor { |
---|
57 | samplesPerPass 1000 |
---|
58 | initialSamples 2000000 |
---|
59 | vssSamples 100000000 |
---|
60 | # vssSamples 1000000 |
---|
61 | vssSamplesPerPass 3000000 |
---|
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 | |
---|
82 | maxDepth 60 |
---|
83 | minPvs 1 |
---|
84 | # before vienna test it was: |
---|
85 | # minRays 50 |
---|
86 | # splitType heuristic |
---|
87 | |
---|
88 | minRays 100 |
---|
89 | minSize 0.001 |
---|
90 | maxCostRatio 1.0 |
---|
91 | maxRayContribution 1.0 |
---|
92 | maxRays 3000000 |
---|
93 | maxTotalMemory 200 |
---|
94 | maxStaticMemory 100 |
---|
95 | |
---|
96 | # splitType regular |
---|
97 | # splitType heuristic |
---|
98 | splitType hybrid |
---|
99 | hybridDepth 10 |
---|
100 | splitUseOnlyDrivingAxis false |
---|
101 | #false |
---|
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 { |
---|
153 | samples 0 |
---|
154 | samplesPerPass 1500000 |
---|
155 | } |
---|
156 | |
---|
157 | #number of active view cells |
---|
158 | active 20000 |
---|
159 | maxViewCells 20000 |
---|
160 | |
---|
161 | maxStaticMemory 40 |
---|
162 | |
---|
163 | exportToFile true |
---|
164 | loadFromFile true |
---|
165 | |
---|
166 | #type kdTree |
---|
167 | #type vspKdTree |
---|
168 | #type bspTree |
---|
169 | #type vspBspTree |
---|
170 | type vspOspTree |
---|
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 | |
---|
182 | #samplingType directional |
---|
183 | samplingType box |
---|
184 | |
---|
185 | PostProcess { |
---|
186 | # how much samples are used for post processing |
---|
187 | samples 0 |
---|
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 |
---|
200 | samples 0 |
---|
201 | #colorCode PVS |
---|
202 | #colorCode MergedLeaves |
---|
203 | #colorCode MergedTreeDiff |
---|
204 | colorCode Random |
---|
205 | exportRays false |
---|
206 | exportGeometry true |
---|
207 | exportMergedViewCells false |
---|
208 | useClipPlane true |
---|
209 | clipPlaneAxis 1 |
---|
210 | clipPlanePos 0.3 |
---|
211 | } |
---|
212 | |
---|
213 | showVisualization false |
---|
214 | evaluateViewCells false |
---|
215 | |
---|
216 | Evaluation { |
---|
217 | samplesPerPass 1000000 |
---|
218 | samples 5000000 |
---|
219 | statsPrefix ../scripts/viewCells |
---|
220 | #samplingType directional |
---|
221 | samplingType box |
---|
222 | histogram true |
---|
223 | histoStepSize 5000 |
---|
224 | } |
---|
225 | |
---|
226 | filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
227 | } |
---|
228 | |
---|
229 | |
---|
230 | |
---|
231 | Simulation { |
---|
232 | objRenderCost 1.0 |
---|
233 | vcOverhead 1.0 |
---|
234 | # always between 0 and 1 |
---|
235 | moveSpeed 0.0001 |
---|
236 | } |
---|