On Nov 29, 2007, at 9:54 PM, Ted Kosan wrote:

> Robert wrote:
>
>> That is the (lofty!) goal. Take a look at sage/plot/plot3d/* to see a
>> start, though much remains to be done. (I am speaking in terms of
>> emulating JavaView, not the interactive stuff, though it could
>> eventually go there too.)
>
> As a step towards something like JavaView, I have been experimenting
> with JMathTools:
>
> http://jmathtools.sourceforge.net
>
> It is not as sophisticated as JavaView, but it has fairly nice 2D and
> 3D viewing capabilities and the 3D is lighter weight than Java3D.

Never seen that before, it looks pretty nice, and is BSD licensed. We  
looked around a lot about a year ago for open-source 3d applets but I  
never saw this. Can it graph arbitrary 3d shapes/polygons? It doesn't  
feel OpenGL accelerated, but I could be wrong.

> I have JMathTools running in SAGEIDE and I have SAGEIDE communicating
> with SAGE using text and pickled objects (via Jython).  I am not able
> to send SAGE types to the client at this point (only Python types) but
> perhaps in the future parts of SAGE can be loaded into the client's
> Jython environment to enable this.
>
> I really like the technique of using Jython in the client because its
> like having a subset of SAGE on the client.  Users can easily create
> GUI widgets with just a few lines of "SAGE" code.  Jython can be
> included in an applet too.

That is a good point. How big is Jython? I wouldn't be surprised if  
extension types were incompatible with Jython, which would rule out  
almost all Sage objects.

> Anyway, I have studied sage/plot/plot3d/* in the past but now I think
> I will study it again to see what kind of SAGE/client communications
> mechanism it uses.

There is virtually no sage/client communication in this code. Sage  
spits out a 3d object (in a standard .obj file) and the applet reads  
it in via a URL.

- Robert

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to