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