Eric Martz wrote:
At 8/17/05, Miguel wrote:
Image exporting is currently only supported in the Jmol application.
Some functionality could be added to the applet, but it would require
cooperation with a cooperating CGI on the web server.
Given the (mediocre) level of web technology expertise of most of the
Jmol
community, I believe that it would be a support nightmare.
With the goal of porting Protein Explorer to jmol, I'd like the applet
to be able to export to pov-ray.
We recently set up a CGI that may be close to what you describe as
necessary for the applet to export to pov-ray. We needed Protein
Explorer to export an html document without having the browser
(whatever it might be) corrupt the details. So Tim Driscoll wrote a
very simple PERL CGI program that allows PE to POST the html content
to it (from a javascript string), then the CGI program returns an html
file in a "save to disk" dialog. This seems to work flawlessly -- of
course you must have an Internet connection to use it, but that is not
a problem even for most students these days.
That sounds interesting, but some work is to be done before it can be
used and it means that each webserver using the Jmol applet will need
more configuration to allow pov-ray export.
Currently pov-ray support is quite basic in the application. I am
working with Miguel to to improve it, but it will probably take a lot of
time to be done.
You can specify a lot of parameters when exporting to pov-ray (see the
pov-ray window in the application).
One parameter is used to create the .pov file ("Render all frames").
This should be available to the applet.
Other parameters are used to create the .ini file (if the option to use
.ini is used), or to modify the command line to run pov-ray. They can be
ignored by the applet but the user will need to input them manually then
when running pov-ray with the .pov file created.
Wouldn't the signed applet be able to export directly to the disk the
.pov file ?
Nicolas
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users