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 false |
---|
18 | useGlDebugger false |
---|
19 | # 0 = INTERNAL 1 = MLRT |
---|
20 | |
---|
21 | rayCastMethod 0 |
---|
22 | |
---|
23 | # type sampling |
---|
24 | # type vss |
---|
25 | type rss |
---|
26 | # type render |
---|
27 | detectEmptyViewSpace true |
---|
28 | pvsRenderErrorSamples 0 |
---|
29 | quitOnFinish true |
---|
30 | computeVisibility true |
---|
31 | applyVisibilityFilter false |
---|
32 | applyVisibilitySpatialFilter false |
---|
33 | visibilityFilterWidth 0.01 |
---|
34 | exportVisibility true |
---|
35 | visibilityFile visibility.xml |
---|
36 | loadMeshes false |
---|
37 | loadKdTree false |
---|
38 | exportKdTree false |
---|
39 | } |
---|
40 | |
---|
41 | ObjParser { |
---|
42 | meshGrouping 2 |
---|
43 | } |
---|
44 | |
---|
45 | RenderSampler { |
---|
46 | samples 10000 |
---|
47 | } |
---|
48 | |
---|
49 | |
---|
50 | SamplingPreprocessor { |
---|
51 | totalSamples 100000000 |
---|
52 | samplesPerPass 1000000 |
---|
53 | } |
---|
54 | |
---|
55 | RssPreprocessor { |
---|
56 | samplesPerPass 1000 |
---|
57 | initialSamples 2000000 |
---|
58 | vssSamples 100000000 |
---|
59 | # vssSamples 1000000 |
---|
60 | vssSamplesPerPass 3000000 |
---|
61 | useImportanceSampling true |
---|
62 | |
---|
63 | directionalSampling false |
---|
64 | objectBasedSampling false |
---|
65 | |
---|
66 | Export { |
---|
67 | pvs false |
---|
68 | rssTree false |
---|
69 | rays false |
---|
70 | numRays 2000 |
---|
71 | } |
---|
72 | |
---|
73 | useViewcells true |
---|
74 | updateSubdivision true |
---|
75 | loadInitialSamples false |
---|
76 | storeInitialSamples false |
---|
77 | } |
---|
78 | |
---|
79 | RssTree { |
---|
80 | epsilon 1e-6 |
---|
81 | perObjectTree false |
---|
82 | |
---|
83 | maxDepth 60 |
---|
84 | minPvs 1 |
---|
85 | # before vienna test it was: |
---|
86 | # minRays 50 |
---|
87 | # splitType heuristic |
---|
88 | |
---|
89 | minRays 100 |
---|
90 | minSize 0.001 |
---|
91 | maxCostRatio 1.0 |
---|
92 | maxRayContribution 1.0 |
---|
93 | maxRays 3000000 |
---|
94 | maxTotalMemory 200 |
---|
95 | maxStaticMemory 100 |
---|
96 | |
---|
97 | # splitType regular |
---|
98 | # splitType heuristic |
---|
99 | splitType hybrid |
---|
100 | hybridDepth 10 |
---|
101 | splitUseOnlyDrivingAxis false |
---|
102 | #false |
---|
103 | importanceBasedCost false |
---|
104 | |
---|
105 | interleaveDirSplits true |
---|
106 | dirSplitDepth 0 |
---|
107 | |
---|
108 | ct_div_ci 0.0 |
---|
109 | } |
---|
110 | |
---|
111 | Limits { |
---|
112 | |
---|
113 | threshold 1e-6 |
---|
114 | small 1e-6 |
---|
115 | infinity 1e9 |
---|
116 | } |
---|
117 | |
---|
118 | Unigraphics { |
---|
119 | meshGrouping 1 |
---|
120 | } |
---|
121 | |
---|
122 | KdTree { |
---|
123 | sahUseFaces false |
---|
124 | Termination { |
---|
125 | minCost 1 |
---|
126 | maxDepth 30 |
---|
127 | maxCostRatio 1.0 |
---|
128 | ct_div_ci 0.5 |
---|
129 | maxNodes 500000 |
---|
130 | } |
---|
131 | |
---|
132 | # splitMethod spatialMedian |
---|
133 | splitMethod SAH |
---|
134 | splitBorder 0.01 |
---|
135 | } |
---|
136 | |
---|
137 | MeshKdTree { |
---|
138 | Termination { |
---|
139 | minCost 8 |
---|
140 | maxDepth 18 |
---|
141 | maxCostRatio 0.9 |
---|
142 | ct_div_ci 0.5 |
---|
143 | } |
---|
144 | |
---|
145 | # splitMethod spatialMedian |
---|
146 | splitMethod SAH |
---|
147 | splitBorder 0.01 |
---|
148 | } |
---|
149 | |
---|
150 | |
---|
151 | ViewCells { |
---|
152 | # samples used for view cell construction |
---|
153 | Construction { |
---|
154 | samples 0 |
---|
155 | samplesPerPass 1500000 |
---|
156 | } |
---|
157 | |
---|
158 | #number of active view cells |
---|
159 | active 20000 |
---|
160 | maxViewCells 20000 |
---|
161 | |
---|
162 | maxStaticMemory 40 |
---|
163 | |
---|
164 | exportToFile true |
---|
165 | loadFromFile true |
---|
166 | |
---|
167 | #type kdTree |
---|
168 | #type vspKdTree |
---|
169 | #type bspTree |
---|
170 | #type vspBspTree |
---|
171 | type vspOspTree |
---|
172 | #type sceneDependent |
---|
173 | |
---|
174 | height 5.0 |
---|
175 | |
---|
176 | #percentage of total visible objects where pvs is considered invalid |
---|
177 | maxPvsRatio 1.0 |
---|
178 | |
---|
179 | processOnlyValidViewCells false |
---|
180 | |
---|
181 | #stats viewCellStats.log |
---|
182 | |
---|
183 | #samplingType directional |
---|
184 | samplingType box |
---|
185 | |
---|
186 | PostProcess { |
---|
187 | # how much samples are used for post processing |
---|
188 | samples 0 |
---|
189 | renderCostWeight 1.0 |
---|
190 | maxCostRatio 0.1 |
---|
191 | minViewCells 1 |
---|
192 | avgCostMaxDeviation 0.01 |
---|
193 | maxMergesPerPass 5000 |
---|
194 | useRaysForMerge false |
---|
195 | compress false |
---|
196 | merge false |
---|
197 | } |
---|
198 | |
---|
199 | Visualization { |
---|
200 | # how much samples we use for visualization |
---|
201 | samples 0 |
---|
202 | #colorCode PVS |
---|
203 | #colorCode MergedLeaves |
---|
204 | #colorCode MergedTreeDiff |
---|
205 | colorCode Random |
---|
206 | exportRays false |
---|
207 | exportGeometry true |
---|
208 | exportMergedViewCells false |
---|
209 | useClipPlane true |
---|
210 | clipPlaneAxis 1 |
---|
211 | clipPlanePos 0.3 |
---|
212 | } |
---|
213 | |
---|
214 | showVisualization false |
---|
215 | evaluateViewCells false |
---|
216 | |
---|
217 | Evaluation { |
---|
218 | samplesPerPass 1000000 |
---|
219 | samples 5000000 |
---|
220 | statsPrefix ../scripts/viewCells |
---|
221 | #samplingType directional |
---|
222 | samplingType box |
---|
223 | histogram true |
---|
224 | histoStepSize 5000 |
---|
225 | } |
---|
226 | |
---|
227 | filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
228 | } |
---|
229 | |
---|
230 | |
---|
231 | |
---|
232 | Simulation { |
---|
233 | objRenderCost 1.0 |
---|
234 | vcOverhead 1.0 |
---|
235 | # always between 0 and 1 |
---|
236 | moveSpeed 0.0001 |
---|
237 | } |
---|