If you are doing everything through Sage, would having Jmol print the rotation information to the web page be enough? Then the user could do a cut and paste to use with the renderer they want. Completely automating things would require more fiddling.
Jonathan On Sep 9, 12:04 pm, Nils Bruin <nbr...@sfu.ca> wrote: > On Sep 9, 6:52 am, Jonathan <gu...@uwosh.edu> wrote: > > > In theory this could be added to the javascript functions being > > included with the update to the Jmol interface which is coming with > > the switch to the new flask notebook, but I'm not sure this is the > > best solution. > > > The new interface will include the ability to download a .jmol file > > to your computer. > > Yes, I agree that in practice that may well be a very good solution > for people who frequently do this and are familiar with the jmol > toolchain. > > In principle, sage already offers capability like this because it > should be able to export a 3d scene as an "x3d" file (the last time I > looked there were some things broken about it), which can be loaded in > all kinds of software, including Blender. Quite possibly, Jmol has a > unique place in sage because it displays 3d scenes interactively and > does so (seemingly?) integrated in the notebook. Regardless of what > backend one want to use in Sage to produce the final rendering, > selecting a camera position is often done best interactively. So, if > jmol can do that and hand the camera position back to sage, that would > be great. It would allow seamless integration with the tachyon > raytracer > > This is the kind of functionality I think one *expects* to be present. > It may be that it wouldn't actually get used and that people are quite > happy just cutting and pasting screen shots. > > One application would be to give a simplified scene to jmol as a > preview, get the camera position, and then use tachyon to render the > final picture (possibly with millions of spheres or something else > beyond the scope of jmol). -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org