On Dec 26, 2007 8:45 PM, Robert Hanson <[EMAIL PROTECTED]> wrote:
> -------- Original Message --------
> Subject: Re: [Jmol-developers] [sage-devel] Re: Jmol and
> MathematicsVisualization
> Date: Tue, 25 Dec 2007 20:07:25 -0700
> From: "William Stein" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], [email protected]
>
>
>           http://trac.sagemath.org/sage_trac/ticket/1537
>
> involving "triangulation and shadow weirdness" whose fix might involve
> having
> to actually change jmol.
>
> I'm not sure what that URL is supposed to tell me. Can you be more
> specific?

Sorry, it's just a URL that goes into our bug tracking system.  It's
probably not very clear at present.  Hopefully Robert Bradshaw can
post more about what the issues were when he gets this email.

> If lighting is the issue, realize that Jmol colors the two sides
> of a mesh slightly differently. So the order of vertices listed in each
> triangle or quadrilateral set is important. Or, if you don't want that
> lighting effect, you can add FULLYLIT to the pmesh command. If you are
> seeing cris-crossed triagnles, then you are not sending four quadrilateral
> corner indices in the right order. I can't think of anything else that
> might go wrong in a pmesh.
>
> One thing we haven't implemented in the pmesh command is vertex normal
> averaging. We do that with isosurface. I think the smartest thing to do
> would be to modify the isosurface oommand to read pmesh files -- this would
> allow more flexibility and better shading.

Cool.  I read your paper
    http://chemapps.stolaf.edu/jmol/docs/misc/JVXL-format.pdf
and now I'm pretty excited to learn more about voxels, isosurfaces, etc.,
and how they might help with visualization in mathematics.

> > Can you create callbacks like that using the java applet?  This would be
> g> reat for Sage, I think.
>
>
> Yes, there are several callback types, and we could certainly add more,
> such as hovering over a pmesh point or clicking on a point. Right now the
> callbacks are for atoms and draw objects.

Yes, hovering over a pmesh point or clicking a point or sphere would be
extremely useful.

> > A very interesting capability of Jmol that has arisen in the past year
> > is the capability to save and restore the current state of the applet
> > - everything. So if you set up a "scene" in the application you can
> > just write the state file to disk and open it with the applet, and you
> > will be right where you left off. This has been used in a variety of
> > contexts to good effect. I've been interested in exploring it in terms
> > of collaborative visualization. (I do something, save a state, send it
> > to you, you load it and see the exact same thing.) You might be
> > interested in that.
>
>> Very cool.   Sage also uses tachyon3d for ray-traced rendering and
>> it would be nice to have a way to find out what angle the user selected
>> from the applet, so we can render the same scene using tachyon.
>>Also, it would be good that if a user closes the sage notebook then
>> re-opens it, that all there 3d images are restored to exactly the same
>> state.
>
> Right -- that's a nice solution -- use Jmol for a front end, and some other
> process for the finished product. This is what is used at some sites for
> producing JPG images, for example. It's easy to get orientation information
> from Jmol.

Excellent!

>
> from JavaScript:
>
> var info = getPropertyAsArray("orientationInfo")

That seems very easy.

>
> or, at math.htm site by calling up a console from the menu using
> right-click (PC) or control-click (Mac) type
>
>    getProperty orientationInfo

Yes, that works for me too.

>
> > http://chemapps.stolaf.edu/jmol/docs/examples-11/math.htm
>
> The Sage notebook is an ajax app, and evaluating a function like this to
> have the mesh built in jmol would potentially be very slow:[...]
>
> Not a problem -- what the applet would want would be ALL the values at once
> for a specific set of u,v values. No need to work with single values.

Yes, that's what we have in mind.

> Q: what sort of "interactivity" are you interested in? I'm fairly certain
> we can set it up for you.

Just knowing that it is possible or not too difficult is already a big plus.
For now there is still a lot we have left to do just to finish implementing
basic usage of jmol for sage.

 -- William

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to