From: Bob H. <ha...@st...> - 2007-10-24 02:57:37
|
I believe Rolf's problems were due to bugs in the combinations antialiasDisplay + translucent antialiasDisplay + POV-Ray antialiasDisplay + image writing and possibly my improperly closing a buffered file writer (but I don't know about that). Rolf, if you could take a look at what I've just checked in for Jmol 11.3.37, that would be great. Bob Rolf Huehne wrote: >Bob Hanson wrote: > > >>new feature: POV-Ray >>-------------------- >> >>Just-about complete is a POV-Ray implementation for the Jmol application >>(not applet). Thank you, Pim Schravendijk for getting us going on this! >>I believe the only thing missing is dotted lines. >> >> > >All draw objects including their labels were missing in my tests. > >This might be due to another problem I observed: the last line of the >povray output was always incomplete (at varying line positions). I had >to edit the file and discard the last line in order to run "povray" >without aborting. > >There was no ".ini" file generated as described in former messages. > >"povray" ignored the image size settings in the ".pov" file. I had to >provide the size using command-line options. > > > >>the toolbar should bring up a dialog that works. It has been tested only >>with POV-Ray for Windows. >> >> > >On my linux system (see below) only an empty povray window opened up >(and stayed empty, even after several minutes). > > > >>------------------------- >>Full scene antialiasing is now implemented in Jmol 11.3.36. It is set to >>be the default for image writing (JPG, PNG, etc.) and can be turned on >>for the display as well. The two new variables are: >> >> antialiasImages = [true or false; default TRUE] >> antialiasDisplay = [true or false; default FALSE] >> >> >> > >If it works the result looks much better than without antialiasing. >But it worked only in the applet at a a size of 600x600. When I set the >applet size to 973x701 I got the following error message: > >java.lang.ArrayIndexOutOfBoundsException: 2467087 > at org.jmol.g3d.Graphics3D.addPixelT(Unknown Source) > at org.jmol.g3d.Graphics3D.addPixel(Unknown Source) > at org.jmol.g3d.Graphics3D.plotPixelsUnclipped(Unknown Source) > at org.jmol.g3d.Triangle3D.fillRaster(Unknown Source) > at org.jmol.g3d.Triangle3D.fillTriangle(Unknown Source) > at org.jmol.g3d.Triangle3D.fillTriangle(Unknown Source) > at org.jmol.g3d.Graphics3D.fillTriangle(Unknown Source) > at org.jmol.g3d.Graphics3D.fillQuadrilateral(Unknown Source) > at org.jmol.shape.MeshRenderer.renderTriangles(Unknown Source) > at org.jmol.shape.MeshRenderer.render2(Unknown Source) > at org.jmol.shapespecial.DrawRenderer.render2(Unknown Source) > at org.jmol.shape.MeshRenderer.render1(Unknown Source) > at org.jmol.shapespecial.DrawRenderer.render(Unknown Source) > at org.jmol.shape.ShapeRenderer.render(Unknown Source) > at org.jmol.viewer.FrameRenderer.render(Unknown Source) > at org.jmol.viewer.RepaintManager.render(Unknown Source) > at org.jmol.viewer.Viewer.getImage(Unknown Source) > at org.jmol.viewer.Viewer.renderScreenImage(Unknown Source) > at org.jmol.applet.Jmol.update(Unknown Source) > at org.jmol.applet.Jmol.update(Unknown Source) > at org.jmol.appletwrapper.AppletWrapper.update(Unknown Source) > at sun.awt.RepaintArea.paint(RepaintArea.java:169) > at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:405) > at java.awt.Component.dispatchEventImpl(Component.java:3678) > at java.awt.Container.dispatchEventImpl(Container.java:1627) > at java.awt.Component.dispatchEvent(Component.java:3477) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:480) > at >java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) > at >java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) > > >The applet stopped refreshing and executing commands (they could still >be typed in the console window). >The application showed the same symptoms, but irresprective of the >window size. (Unfortunately I could not localize the java error >messages. The Java console only displayed messages from the applet and I >have only very limited access to system log files.) > > > > >>Because of the default ON for images, users who have been using Jmol to >>create images should be pleasantly surprised by the new quality of those >>images. OR not. Please let me know what you think. Text, particularly >>when it is small, doesn't always turn out as crisp after antialiasing. >>But if you like a more rounded text, try a slightly larger font size >>before you decide you don't like it. You be the judge. Again, you can >>always turn off atnitaliasImages to be the same as before. >> >> >> > >Image export in the applet was not affected by the setting of >"antialiasImages". Neither by default, nor with setting it to "true" the >generated image was antialiased. Only if "antialiasDisplay" was set to >"true" the generated image was antialiased. > >---- Test System ------------------------ > Jmol : 11.3.36, application + applet > Java : 1.4.2_16 > OS : Linux, OpenSuSE 10.2 > Browser: Firefox 2.0.0.8 > PovRay : 3.6.1 (unofficial SuSE version) >----------------------------------------- > >Regards, >Rolf > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >_______________________________________________ >Jmol-users mailing list >Jmo...@li... >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 |