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