[163] | 1 | ############################################################################# |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
[170] | 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
[311] | 8 | # filename glasgow1.x3d |
---|
| 9 | # filename vienna.x3d |
---|
[376] | 10 | # filename ../data/vienna/vienna-simple.x3d |
---|
[382] | 11 | # filename ../data/vienna/vienna-buildings.x3d |
---|
[365] | 12 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
[369] | 13 | # filename ../data/atlanta/atlanta2.x3d |
---|
[376] | 14 | # filename ../data/soda/soda.dat |
---|
[382] | 15 | filename ../data/soda/soda5.dat |
---|
[170] | 16 | } |
---|
| 17 | |
---|
[374] | 18 | Preprocessor { |
---|
| 19 | # type sampling |
---|
| 20 | type vss |
---|
| 21 | } |
---|
| 22 | |
---|
[376] | 23 | VssPreprocessor { |
---|
[382] | 24 | totalSamples 200000 |
---|
| 25 | samplesPerPass 50000 |
---|
[376] | 26 | } |
---|
| 27 | |
---|
[382] | 28 | VssTree { |
---|
| 29 | epsilon 1e-6 |
---|
| 30 | |
---|
| 31 | maxDepth 40 |
---|
| 32 | minPvs 10 |
---|
| 33 | minSize 0.00001 |
---|
| 34 | maxCostRatio 1.0 |
---|
| 35 | maxRayContribution 0.5 |
---|
| 36 | |
---|
| 37 | maxTotalMemory 500 |
---|
| 38 | maxStaticMemory 200 |
---|
| 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 | |
---|
[163] | 50 | Limits { |
---|
| 51 | |
---|
| 52 | threshold 1e-6 |
---|
| 53 | small 1e-6 |
---|
| 54 | infinity 1e9 |
---|
| 55 | } |
---|
| 56 | |
---|
| 57 | Unigraphics { |
---|
[176] | 58 | meshGrouping 1 |
---|
[163] | 59 | } |
---|
| 60 | |
---|
| 61 | KdTree { |
---|
[170] | 62 | sahUseFaces true |
---|
[163] | 63 | Termination { |
---|
[376] | 64 | minCost 1 |
---|
[163] | 65 | maxDepth 18 |
---|
[335] | 66 | maxCostRatio 0.9 |
---|
[170] | 67 | ct_div_ci 0.5 |
---|
[163] | 68 | } |
---|
| 69 | |
---|
| 70 | # splitMethod spatialMedian |
---|
| 71 | splitMethod SAH |
---|
[170] | 72 | splitBorder 0.01 |
---|
[163] | 73 | } |
---|
[170] | 74 | |
---|
| 75 | MeshKdTree { |
---|
| 76 | Termination { |
---|
[376] | 77 | minCost 1 |
---|
[335] | 78 | maxDepth 18 |
---|
| 79 | maxCostRatio 0.9 |
---|
[170] | 80 | ct_div_ci 0.5 |
---|
| 81 | } |
---|
| 82 | |
---|
| 83 | # splitMethod spatialMedian |
---|
| 84 | splitMethod SAH |
---|
| 85 | splitBorder 0.01 |
---|
| 86 | } |
---|
[176] | 87 | |
---|
| 88 | |
---|
[177] | 89 | Sampling { |
---|
[382] | 90 | totalSamples 10000000 |
---|
[365] | 91 | samplesPerPass 3 |
---|
[176] | 92 | } |
---|
[311] | 93 | |
---|
| 94 | ViewCells { |
---|
[374] | 95 | hierarchy kdTree |
---|
| 96 | #hierarchy bspTree |
---|
[335] | 97 | # hierarchy sceneDependent |
---|
| 98 | |
---|
[326] | 99 | height 5.0 |
---|
| 100 | maxViewCells 0 |
---|
[335] | 101 | |
---|
[370] | 102 | minPvsDif 100 |
---|
| 103 | # maxPvsSize 200 |
---|
| 104 | |
---|
[326] | 105 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[335] | 106 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 107 | # filename ../data/vienna/viewcells-25.x3d |
---|
[311] | 108 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
| 109 | } |
---|
| 110 | |
---|
| 111 | BspTree { |
---|
[335] | 112 | Construction { |
---|
[363] | 113 | input fromRays |
---|
[335] | 114 | # input fromViewCells |
---|
[363] | 115 | # input fromSceneGeometry |
---|
[370] | 116 | samples 10000 |
---|
[363] | 117 | sideTolerance 0.005 |
---|
[335] | 118 | } |
---|
[311] | 119 | |
---|
[335] | 120 | |
---|
[326] | 121 | # random polygon = 1 |
---|
[311] | 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 |
---|
[326] | 128 | # blocked rays = 128 |
---|
[335] | 129 | # least ray splits = 256 |
---|
| 130 | # balanced rays = 512 |
---|
[370] | 131 | # pvs = 1024 |
---|
[335] | 132 | |
---|
[311] | 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 | |
---|
[335] | 148 | # axis aligned + blocked rays |
---|
| 149 | #splitPlaneStrategy 130 |
---|
| 150 | |
---|
[363] | 151 | #splitPlaneStrategy 384 |
---|
| 152 | #splitPlaneStrategy 130 |
---|
[326] | 153 | |
---|
[370] | 154 | splitPlaneStrategy 1024 |
---|
[316] | 155 | |
---|
[363] | 156 | maxCandidates 80 |
---|
| 157 | |
---|
[311] | 158 | Termination { |
---|
[370] | 159 | # autopartition |
---|
| 160 | maxRays 200 |
---|
| 161 | maxPolygons 5 |
---|
[326] | 162 | maxDepth 100 |
---|
[335] | 163 | |
---|
[363] | 164 | # axis aligned splits |
---|
| 165 | AxisAligned { |
---|
[370] | 166 | maxPolys 5000 |
---|
| 167 | maxRays 5000 |
---|
| 168 | maxObjects 2000 |
---|
[363] | 169 | maxCostRatio 0.9 |
---|
| 170 | ct_div_ci 0.5 |
---|
| 171 | } |
---|
[311] | 172 | } |
---|
[335] | 173 | |
---|
[363] | 174 | AxisAligned { |
---|
| 175 | splitBorder 0.01 |
---|
| 176 | } |
---|
[370] | 177 | |
---|
| 178 | PostProcessing { |
---|
| 179 | samples 100000 |
---|
| 180 | } |
---|
[363] | 181 | |
---|
[326] | 182 | # if split polys are stored for visualization |
---|
| 183 | storeSplitPolys false |
---|
| 184 | # x3d visualization of the split planes |
---|
| 185 | exportSplits true |
---|
[311] | 186 | } |
---|