1 | ############################################################################# |
---|
2 | # ERS default configuration file |
---|
3 | # Jiri Bittner 2003 |
---|
4 | ############################################################################# |
---|
5 | |
---|
6 | Scene { |
---|
7 | |
---|
8 | # filename glasgow1.x3d |
---|
9 | # filename vienna.x3d |
---|
10 | # filename ../data/vienna/vienna-simple.x3d |
---|
11 | #filename ../data/vienna/vienna-buildings.x3d |
---|
12 | #filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d |
---|
13 | #;../data/vienna/vienna-plane.x3d |
---|
14 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
15 | filename ../data/atlanta/atlanta2.x3d |
---|
16 | # filename ../data/soda/soda.dat |
---|
17 | # filename ../data/soda/soda5.dat |
---|
18 | } |
---|
19 | |
---|
20 | Preprocessor { |
---|
21 | # type sampling |
---|
22 | type vss |
---|
23 | } |
---|
24 | |
---|
25 | VssPreprocessor { |
---|
26 | samplesPerPass 100000 |
---|
27 | initialSamples 2000000 |
---|
28 | vssSamples 1000000 |
---|
29 | vssSamplesPerPass 100000 |
---|
30 | useImportanceSampling true |
---|
31 | } |
---|
32 | |
---|
33 | VssTree { |
---|
34 | epsilon 1e-6 |
---|
35 | |
---|
36 | maxDepth 40 |
---|
37 | minPvs 3 |
---|
38 | minRays 100 |
---|
39 | minSize 0.001 |
---|
40 | maxCostRatio 0.98 |
---|
41 | maxRayContribution 0.05 |
---|
42 | |
---|
43 | maxTotalMemory 200 |
---|
44 | maxStaticMemory 50 |
---|
45 | |
---|
46 | splitType regular |
---|
47 | # splitType heuristics |
---|
48 | |
---|
49 | numberOfEndPointDomains 10000 |
---|
50 | ct_div_ci 0.0 |
---|
51 | randomize false |
---|
52 | |
---|
53 | refDirBoxMaxSize 0.1 |
---|
54 | } |
---|
55 | |
---|
56 | Limits { |
---|
57 | |
---|
58 | threshold 1e-6 |
---|
59 | small 1e-6 |
---|
60 | infinity 1e9 |
---|
61 | } |
---|
62 | |
---|
63 | Unigraphics { |
---|
64 | meshGrouping 1 |
---|
65 | } |
---|
66 | |
---|
67 | KdTree { |
---|
68 | sahUseFaces true |
---|
69 | Termination { |
---|
70 | minCost 1 |
---|
71 | maxDepth 18 |
---|
72 | maxCostRatio 0.9 |
---|
73 | ct_div_ci 0.5 |
---|
74 | } |
---|
75 | |
---|
76 | # splitMethod spatialMedian |
---|
77 | splitMethod SAH |
---|
78 | splitBorder 0.01 |
---|
79 | } |
---|
80 | |
---|
81 | MeshKdTree { |
---|
82 | Termination { |
---|
83 | minCost 1 |
---|
84 | maxDepth 18 |
---|
85 | maxCostRatio 0.9 |
---|
86 | ct_div_ci 0.5 |
---|
87 | } |
---|
88 | |
---|
89 | # splitMethod spatialMedian |
---|
90 | splitMethod SAH |
---|
91 | splitBorder 0.01 |
---|
92 | } |
---|
93 | |
---|
94 | |
---|
95 | Sampling { |
---|
96 | totalSamples 10000000 |
---|
97 | samplesPerPass 3 |
---|
98 | } |
---|
99 | |
---|
100 | ViewCells { |
---|
101 | hierarchy kdTree |
---|
102 | #hierarchy bspTree |
---|
103 | # hierarchy sceneDependent |
---|
104 | |
---|
105 | height 5.0 |
---|
106 | maxViewCells 0 |
---|
107 | |
---|
108 | minPvsDif 100 |
---|
109 | # maxPvsSize 200 |
---|
110 | |
---|
111 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
112 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
113 | # filename ../data/vienna/viewcells-25.x3d |
---|
114 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
115 | } |
---|
116 | |
---|
117 | BspTree { |
---|
118 | Construction { |
---|
119 | input fromRays |
---|
120 | # input fromViewCells |
---|
121 | # input fromSceneGeometry |
---|
122 | samples 100000 |
---|
123 | sideTolerance 0.005 |
---|
124 | } |
---|
125 | |
---|
126 | |
---|
127 | # random polygon = 1 |
---|
128 | # axis aligned = 2 |
---|
129 | # least splits = 4 |
---|
130 | # balanced polygons = 8 |
---|
131 | # balanced view cells = 16 |
---|
132 | # largest polygon area = 32 |
---|
133 | # vertical axis = 64 |
---|
134 | # blocked rays = 128 |
---|
135 | # least ray splits = 256 |
---|
136 | # balanced rays = 512 |
---|
137 | # pvs = 1024 |
---|
138 | |
---|
139 | # least splits + balanced polygons |
---|
140 | #splitPlaneStrategy 12 |
---|
141 | |
---|
142 | #axis aligned + vertical axis |
---|
143 | #splitPlaneStrategy 66 |
---|
144 | |
---|
145 | # axis aligned + balanced view cells |
---|
146 | # splitPlaneStrategy 18 |
---|
147 | |
---|
148 | # largest polygon area |
---|
149 | #splitPlaneStrategy 32 |
---|
150 | |
---|
151 | # axus aligned + balanced polygons |
---|
152 | #splitPlaneStrategy 72 |
---|
153 | |
---|
154 | # axis aligned + blocked rays |
---|
155 | #splitPlaneStrategy 130 |
---|
156 | |
---|
157 | #splitPlaneStrategy 384 |
---|
158 | #splitPlaneStrategy 130 |
---|
159 | |
---|
160 | splitPlaneStrategy 1024 |
---|
161 | |
---|
162 | maxCandidates 80 |
---|
163 | |
---|
164 | Termination { |
---|
165 | # autopartition |
---|
166 | maxRays 200 |
---|
167 | maxPolygons 5 |
---|
168 | maxDepth 100 |
---|
169 | |
---|
170 | # axis aligned splits |
---|
171 | AxisAligned { |
---|
172 | maxPolys 5000 |
---|
173 | maxRays 5000 |
---|
174 | maxObjects 2000 |
---|
175 | maxCostRatio 0.9 |
---|
176 | ct_div_ci 0.5 |
---|
177 | } |
---|
178 | } |
---|
179 | |
---|
180 | AxisAligned { |
---|
181 | splitBorder 0.01 |
---|
182 | } |
---|
183 | |
---|
184 | PostProcessing { |
---|
185 | samples 100000 |
---|
186 | } |
---|
187 | |
---|
188 | # if split polys are stored for visualization |
---|
189 | storeSplitPolys false |
---|
190 | # x3d visualization of the split planes |
---|
191 | exportSplits true |
---|
192 | } |
---|