Well, sort of. You can store multiple surfaces in a single JVXL file, but right now there's no way to read them all into different frames all at once. However, since the browser will cache the files, you might want to try that. I haven't worked out a way to write a set of surfaces to a file, so you would have to construct this file manually, cutting and pasting. Probably not a solution for you. But it's not terribly difficult. The negative number on the "35 90 Jmol voxel format" line tells how many surfaces are in the file. Then the data are just appended:

-2 35 90 Jmol voxel format version 0.9
0.03 1318 1114 compressionRatio=416.05264
 25704 1 38 ... 34 5 35 5 35 5 36 3 38 1 25695
-0.03 1317 1102 compressionRatio=418.28854
 25695 2 37 3...5 5 35 5 36 3 38 1 25704

You would still have to do something like:

frame 1;isosurface "myfile.jvxl" 1
frame 2;isosurface "myfile.jvxl" 2


I know, not a great solution.


On Mon, Nov 9, 2009 at 2:06 PM, Edgar Luttmann <eluttma@yahoo.com> wrote:

I am using JMol to display an animation with surfaces. For performance issues I precalculate those surface and store them as jvxl files. One sample animation consists of 41 frames and currently I need to load 41 jvxl surfaces for this to work.

So I am wondering if there is a way to merge all precalculated surfaces into a single file and load that file within JMol.

Thanks for any hints and cheers,

Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Jmol-users mailing list

Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
phone: 507-786-3107

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