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