[sage-devel] Re: what is the plot3D viewer used in sagemath cloud

2014-08-22 Thread Frédéric Chapoton
Hello, thanks for the pointer. I had a look, but cannot clearly see (looking at 3d.coffee) what is the intermediate file format used between sage and the cloud server. I would guess from the code that maybe it is .obj as given by the .obj_repr method (of indexed face sets for example). Unfortun

[sage-devel] Re: what is the plot3D viewer used in sagemath cloud

2014-08-21 Thread Jason Grout
On 8/21/14, 15:27, Frédéric Chapoton wrote: Thanks ! Do you know which file format is used by sagemath cloud to communicate with threejs ? Is it .obj or .x3d or json ? Where can I find the code ? and some documentation ? The relevant files for smc are the 3d.* files here: https://github.com/sa

[sage-devel] Re: what is the plot3D viewer used in sagemath cloud

2014-08-21 Thread Andrey Novoseltsev
On Thursday, 21 August 2014 13:27:06 UTC-6, Frédéric Chapoton wrote: > > Thanks ! Do you know which file format is used by sagemath cloud to > communicate with threejs ? Is it .obj or .x3d or json ? Where can I find > the code ? and some documentation ? > > > I think JSON, William is probably the

[sage-devel] Re: what is the plot3D viewer used in sagemath cloud

2014-08-21 Thread Frédéric Chapoton
Thanks ! Do you know which file format is used by sagemath cloud to communicate with threejs ? Is it .obj or .x3d or json ? Where can I find the code ? and some documentation ? Le jeudi 21 août 2014 19:17:51 UTC+2, Andrey Novoseltsev a écrit : > > three.js, which is also available in SageCell (y

[sage-devel] Re: what is the plot3D viewer used in sagemath cloud

2014-08-21 Thread Andrey Novoseltsev
three.js, which is also available in SageCell (you have to call it explicitly as (threejs(plot(sin))), but they function differently. There are some threads on the notebook list about three.js problems. On Wednesday, 20 August 2014 14:19:52 UTC-6, Frédéric Chapoton wrote: > > Hello, > > I am try