I just checked in some new bond rendering code ... once again.

This set of changes introduces the following:
 - bonds correctly connect with the surfaces and edges of the atoms
   this was especially a problem with double/triple bonds in the past
 - bonds now use 3d perspective
   each individual bond gets narrower as it gets further away
   formerly the bond width was the average of the two widths

This was a good learning experience for me. (In other words, it was very
painful.) I did at least a half dozen different implementations. The
problem was the rendering of double bonds during rotations. Because of
aliasing effects as things were converted into integers, the bonds would
seem to wiggle and jump around, even though they are supposed to be
parallel.

In any case, I am now quite satisfied with the results.

Please let me know what you think. And let me know if/when you find any bugs.

!Adiós!
mth





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to