[235] | 1 | ############################################################################# |
---|
| 2 | # ERS default configuration file |
---|
| 3 | # Jiri Bittner 2003 |
---|
| 4 | ############################################################################# |
---|
| 5 | |
---|
| 6 | Scene { |
---|
| 7 | |
---|
| 8 | # filename glasgow1.x3d |
---|
| 9 | # filename vienna.x3d |
---|
[349] | 10 | # filename ../data/vienna/vienna-simple.x3d |
---|
[362] | 11 | # filename ../data/vienna/vienna-buildings.x3d |
---|
[304] | 12 | # filename ../data/vienna/viewcells-25-sel.x3d |
---|
[362] | 13 | filename ../data/atlanta/atlanta2.x3d |
---|
[235] | 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 { |
---|
[367] | 58 | totalSamples 300000 |
---|
[362] | 59 | samplesPerPass 3 |
---|
[235] | 60 | } |
---|
| 61 | |
---|
[310] | 62 | ViewCells { |
---|
[330] | 63 | #hierarchy kdTree |
---|
[329] | 64 | hierarchy bspTree |
---|
| 65 | # hierarchy sceneDependent |
---|
| 66 | |
---|
[321] | 67 | height 5.0 |
---|
[318] | 68 | maxViewCells 0 |
---|
[329] | 69 | |
---|
[366] | 70 | minPvsDif 100 |
---|
| 71 | # maxPvsSize 200 |
---|
[362] | 72 | |
---|
[319] | 73 | # filename ../data/atlanta/atlanta_viewcells_large.x3d |
---|
[361] | 74 | filename ../data/vienna/viewcells-25-sel.x3d |
---|
| 75 | # filename ../data/vienna/viewcells-25.x3d |
---|
[310] | 76 | # filename ../data/vienna/viewcells-large-sel.x3d |
---|
| 77 | } |
---|
[308] | 78 | |
---|
[235] | 79 | BspTree { |
---|
[329] | 80 | Construction { |
---|
[362] | 81 | input fromRays |
---|
| 82 | # input fromViewCells |
---|
[361] | 83 | # input fromSceneGeometry |
---|
[367] | 84 | samples 10000 |
---|
[344] | 85 | sideTolerance 0.005 |
---|
[329] | 86 | } |
---|
[310] | 87 | |
---|
[329] | 88 | |
---|
[321] | 89 | # random polygon = 1 |
---|
[297] | 90 | # axis aligned = 2 |
---|
| 91 | # least splits = 4 |
---|
| 92 | # balanced polygons = 8 |
---|
| 93 | # balanced view cells = 16 |
---|
| 94 | # largest polygon area = 32 |
---|
| 95 | # vertical axis = 64 |
---|
[319] | 96 | # blocked rays = 128 |
---|
[332] | 97 | # least ray splits = 256 |
---|
| 98 | # balanced rays = 512 |
---|
[367] | 99 | # pvs = 1024 |
---|
[332] | 100 | |
---|
[297] | 101 | # least splits + balanced polygons |
---|
| 102 | #splitPlaneStrategy 12 |
---|
[304] | 103 | |
---|
[301] | 104 | #axis aligned + vertical axis |
---|
[303] | 105 | #splitPlaneStrategy 66 |
---|
| 106 | |
---|
[297] | 107 | # axis aligned + balanced view cells |
---|
[302] | 108 | # splitPlaneStrategy 18 |
---|
[303] | 109 | |
---|
[297] | 110 | # largest polygon area |
---|
[301] | 111 | #splitPlaneStrategy 32 |
---|
[303] | 112 | |
---|
[298] | 113 | # axus aligned + balanced polygons |
---|
| 114 | #splitPlaneStrategy 72 |
---|
[303] | 115 | |
---|
[332] | 116 | # axis aligned + blocked rays |
---|
| 117 | #splitPlaneStrategy 130 |
---|
[319] | 118 | |
---|
[349] | 119 | #splitPlaneStrategy 384 |
---|
[352] | 120 | #splitPlaneStrategy 130 |
---|
[313] | 121 | |
---|
[367] | 122 | splitPlaneStrategy 1024 |
---|
[352] | 123 | |
---|
[349] | 124 | maxCandidates 80 |
---|
[332] | 125 | |
---|
[235] | 126 | Termination { |
---|
[332] | 127 | # autopartition |
---|
[367] | 128 | maxRays 200 |
---|
| 129 | maxPolygons 5 |
---|
[332] | 130 | maxDepth 100 |
---|
| 131 | |
---|
[352] | 132 | # axis aligned splits |
---|
[362] | 133 | AxisAligned { |
---|
[367] | 134 | maxPolys 5000 |
---|
| 135 | maxRays 5000 |
---|
| 136 | maxObjects 2000 |
---|
[362] | 137 | maxCostRatio 0.9 |
---|
| 138 | ct_div_ci 0.5 |
---|
| 139 | } |
---|
[235] | 140 | } |
---|
[332] | 141 | |
---|
[362] | 142 | AxisAligned { |
---|
| 143 | splitBorder 0.01 |
---|
| 144 | } |
---|
[367] | 145 | |
---|
| 146 | PostProcessing { |
---|
| 147 | samples 100000 |
---|
| 148 | } |
---|
[362] | 149 | |
---|
[321] | 150 | # if split polys are stored for visualization |
---|
| 151 | storeSplitPolys false |
---|
| 152 | # x3d visualization of the split planes |
---|
| 153 | exportSplits true |
---|
[235] | 154 | } |
---|