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