>> That is a side-effect of the way that I am drawing the trace. I agree >> that it is undesirable. However, I spent most of a day trying to get >> rid of them and was unsuccessful. Therefore, I decided to quit working >> on it and keep thinking about it until someone comes up with a better >> idea of how to render it. > > Right ;) It looks fine as it is... just wanted to understand why it > looked this way ;)
The trace is drawn as follows: - calculate the hermite spline curve - at each pixel on the curve, draw a complete sphere So, the effect you see is caused by the 'spheres'. Whichever sphere gets drawn first 'claims' the pixel. So that the colors of the pixels are not really correct. RasMol (Chime) actually draws bonds this way ... calculate the points for a line ... at each point on the line draw a sphere. I think what is needed is an 'accumulation buffer' to do a better job of smoothing out the colors. If two or more colors hit the same pixel (from adjacent spheres) then average them out. But, as I said, I feel like I've wasted too much time on this for now. Miguel ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
