| | 12 | </p> |
| | 13 | |
| | 14 | <p> |
| | 15 | 278. |
| | 16 | <b>Color zone with smooth edges</b><br> |
| | 17 | November 2, 2010<br> |
| | 18 | Xiaofeng<br> |
| | 19 | Would be nice if color zone produced colored regions with smooth edges. |
| | 20 | Currently the edges are jagged because the surface triangles that straddle |
| | 21 | the edge can only have coloring linearly interpolated from vertices. |
| | 22 | One solution would be to compute an equivalent surface where triangles that |
| | 23 | straddle two (or three) colors are split (and boundary vertices duplicated). |
| | 24 | They should be split at the point |
| | 25 | where the zone used in color zone ends. This surface recalculation is currently |
| | 26 | done by "measure contactarea" for patch display and produces beautiful results. |
| | 27 | Coloring a molecular surface by atom colors would also produce a much prettier |
| | 28 | result using this technique. |