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
$x#(]>:Fd;VX_3R...
-0.03 1317 1102 compressionRatio=418.28854
 25695 2 37 3...5 5 35 5 36 3 38 1 25704
#x#%iA=FX8...

You would still have to do something like:

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

etc.

I know, not a great solution.

Bob





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

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,
Edgar



------------------------------------------------------------------------------
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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users




--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
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