Rolf Huehne wrote:
>Bob Hanson wrote:
>>Text: I'm thinking that general echos will NOT be exported, but 3D echos
>>and labels should be. My problem is figuring out how to correlate the
>>fonts. Ideas welcome.
>You should not forget labels attached to draw objects.
They go in automatically as 3D text.
>I couldn't test the povray export yet because I have currently problems
>to start 'ant' but the examples are really nice!
>Q: Would it be difficult to add an export function for the applet
>similar to the one for images?
Hmm. The export can be megabytes of data. But it's not impossible. The
way it is set up, like special shapes, this is in a package of its own
that would only be loaded if the user exercises it, so yes, not a real
problem with the applet. However, I should note that before I set up a
file output stream and instead used a StringBuffer, I was seeing out of
memory issues. And the applet will not be able to use a file output
stream unless it is signed; in my experience you might as well use the
application in that case.
A second option would be for the applet/page to transmit the state to
the server and let the Jmol application on the server, running in
silent/frameless mode create the files and then deliver them back to the
page. This seems to me to be a good alternative for something like
JenaLib, where you can control the server and add functionality on that
>script that executes povray and sends the rendered image back to the
Ah -- so then, as I say, just send the state and let the server run a
server-side Jmol application. No need to send the POV-Ray code to the
server, I think. This would be far more efficient.
>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
Robert M. Hanson
Professor of Chemistry
St. Olaf College
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