With this script, you can publish your Pymol scene for Web page. Visitors can rotate, zoom the molecule on the page.
Compared to exporting 3D coordinate (VRML or Object3D), published pages contain atomic coordinate so that the file size is much smaller and visitors can even change representation.
The following scenes were created in Pymol and then exported to GLmol. You can open exported files by clicking the image. It takes 5 to 10 seconds to load the page.
This model is from PDBID 2POR, "Structure of porin refined at 1.8 A resolution" by Weiss, M.S., Schulz, G.E. published on J.Mol.Biol. 227: 493-509(1992).
Currently the followings are exported.
Support for surface representation
and multiple molecules is under development.
Orthoscopic projection ("set orthoscopic on" in Pymol) will be supported soon.
GLmol runs on newer versions of Firefox, Chrome, Safari or Opera. Internet Explorer is not supported because IE doesn't implement WebGL. GLmol also runs on Sony Ericsson's Android devices which support WebGL. Support for Firefox Mobile is currently underway. Reportedly, GLmol also runs on WebGL enabled safari in iOS.
If you see only black screen and you are using
You can try beta version below. Most core features are implemented but there are some bugs remaining.
You can download them from the following link.
Comments and suggestions are welcome. Please mail to biochem_fan at users.sourceforge.jp or write in the forum.