Hello,

I am a developer working on the open-source mathematical software Sage
(<http://sagemath.org>). We use Jmol as one of our rendering backends
for plotting functions in 3D. I am currently helping to implement an
implicit 3D plotting feature, to graph contours of functions of the
form f(x,y,z)=c. You can view our progress at
<http://trac.sagemath.org/sage_trac/ticket/5249>. This type of plot is
an isosurface, so to communicate with the Jmol backend we chose to use
the JVXL format -- our software outputs a JVXL file describing the
plot which is then rendered by Jmol. However, many of the plots appear
very jagged when rendered by Jmol.

Let me show you what I mean. Here are three pictures of the plot for
(x^3 + y^2 - z^2) = 0:
* This one is rendered at a low resolution (10x10x10) by Jmol:
<http://students.washington.edu/wcauchoi/misc/jmol_plot_lores.jpeg>.
The surface is not at all smooth.
* This one is rendered at a higher resolution (100x100x100) by Jmol:
<http://students.washington.edu/wcauchoi/misc/jmol_plot_hires.jpeg>.
The surface is covered in small bumps.
* For comparison, here it is rendered using Tachyon (our other
backend): <http://students.washington.edu/wcauchoi/misc/tachyon_plot.png>.

I've been trying to find bugs in our code, to no avail. Is there
anyone well-versed in the JVXL format who knows why this might be
happening?

Thanks,
Bill Cauchois

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to