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