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