> is anti-aliasing still enabled in HEAD? How can one turn it on/off? Anti-aliasing is not enabled in Jmol-HEAD. Most of the code is still in place, but it needs work in order to function properly.
For more details see below. > Peter asked about AA in JChemPaint too; is it difficult to add AA, or is > it some option of the JDK? JChemPaint is using the 2D graphics calls that are built into the JDK. These graphics primitives include support for anti-aliasing. Therefore, it seems to me that it should be easy for you to enable anti-aliasing within JChemPaint. The techniques that you will use are the same that we used in Jmol v6-v9. The RenderingHints that you will use will be exactly the same. I encourage you to take a look at that code and then send questions if there are things that you do not understand. Miguel Anti-aliasing tech note ----------------------- The Jmol Graphics3D engine is implemented completely in software. It cannot use the underlying Sun 2D graphics calls because they do not offer the zBuffer functionality of deciding on a pixel-by-pixel basis whether or not a pixel should be drawn. The anti-aliasing technique used in the Jmol Graphics3D engine is called full-scene-anti-aliasing. The entire scene is rendered into a buffer that is twice as wide and twice as high. Then, 4 pixels are converted into 1 pixel, with appropriate mixing of RGB values. The end result is that it takes more memory to hold the zBuffer and pixelBuffer. And it takea lot more CPU cycles to render a scene. The drawing part takes 4 times as long. Overall, it probably takes 3 times as long to render a scene. On newer machines with lots of CPU power this is probably not a problem. On older machines it would be unacceptable. Therefore, we need to put in some options. > Egon > > - -- > [EMAIL PROTECTED] > PhD on Molecular Representation in Chemometrics > Nijmegen University > http://www.cac.sci.kun.nl/people/egonw/ > GPG: 1024D/D6336BA6 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.7 (SunOS) > > iD8DBQFAxDJGd9R8I9Yza6YRAmXkAJ9B+z1KLyenaFa+43AHlFtY/VANjgCgisob > PlOPpreJRP1v/2RNz/CWUzw= > =BI6P > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Jmol-developers mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jmol-developers > -------------------------------------------------- Miguel Howard [EMAIL PROTECTED] c/Pe�a Primera 11-13 esc dcha 6B 37002 Salamanca Espa�a Spain -------------------------------------------------- telefono casa 923 27 10 82 movil 650 52 54 58 -------------------------------------------------- To call from the US dial 9:00 am Pacific US = home 011 34 923 27 10 82 12:00 noon Eastern US = cell 011 34 650 52 54 58 6:00 pm Spain -------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
