Andrey, good work and a good plan, I think. Does pretty much everything that can be done in jsmol still work in three.js at this point? (I recall that with Jason's early implementation that may not have been the case.)
On Sunday, January 15, 2017 at 7:40:09 PM UTC-5, Andrey Novoseltsev wrote: > > Past: > > For a few years SageMathCell had issues with 3D plots due to some > difficulties configuring and running Jmol/JSmol. While at the moment it > mostly works, new issues keep appearing and there is a lack of manpower > resolving them. > > Also for a few years it was possible to use three.js graphics in > SageMathCell via commands like > threejs(cube()) > The problem with this function is that it is undocumented as far as I know > and it is unmaintained, at least there are no improvements to some old code > absorbed at some point from early versions of SageMathCloud. It is also at > the moment the main reason why SageMathCell is using a special branch of > SageMath - several plot-related files have added bits for three.js scenes. > > Present: > > There is now an option to use three.js code from SageMath itself, thanks > to Paul Masson work https://trac.sagemath.org/ticket/12402 and some > recent improvements (unmerged in SageMath yet) > https://trac.sagemath.org/ticket/22123 The big advantage of this > implementation is that it is likely to be used in multiple interfaces and > therefore get regular bug fixes and enhancements. > > Future: > > My plan is to make > threejs(cube()) > to be an alias (perhaps deprecated) for > show(cube(), viewer="threejs") > and change the default viewer in SageMathCell so that it is actually the > same as just > show(cube()) > > A good time to do it is probably the next update to Sage 7.6, whenever > that will happen. Until then, please test the new implementation and report > any issues so that they can be addressed before changing defaults! > > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/8cdb9aa8-d255-482d-9c20-18c4fe074da0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
