From: Rzepa, H. <h....@im...> - 2006-06-29 15:16:40
|
> >I have searched for OpenGL + Java in the list, and noted some reference >>to the use of jogl for PyMol, but not found it for Jmol. >> >>My reason for asking is that we have a Stereo display system (passive >>glasses) which uses Quad Buffered OpenGL stereo, and have been wondering >>for a little while whether this could ever be made to display stereo for >>Jmol. > >I doubt that Jmol will use OpenGL in a near future: it would require to redesign and rewrite all the rendering engine to use OpenGL primitives instead of drawing directly in a bitmap. I thought that is what Jogl would do for you without any sweat? > >Depending on the technology used for your stereo display system, it could be used for Jmol with few modifications (or even no modifications) : >- if it's based on different colors to separate the eyes, then Jmol should already work (stereo commands in the menu) >- if it's based on odd/even pixels to separate the eyes, this was discussed some time ago. It shouldn't be too much difficult to do it. Its based on openGL primitives. The standard is called Quad buffered Stereo OpenGL, and one addresses it via calls to OpenGL primitives. The computer has an NVidia openGL driver, with two DVI video signals out, each of which drives a separate projector. The projectors emit linearly polarised light, and you view the whole thing with linearly polarised (passive) glasses. An audience of 150 people can all see the result in stereo. The effect is apparently amongst the best stereo effects available. Lots of chemistry programs support this. PyMol, VMD, DS Viewer Pro, etc etc. I was rather hoping that jogl would enable Jmol to as well. See eg http://lists.apple.com/archives/sci-vis/2005/Jan/msg00002.html or http://stereo.jpn.org/eng/stphmkr/help/opengl.htm -- Henry Rzepa. +44 (020) 7594 5774 (Voice); +44 (0870) 132 3747 (eFax); rz...@ma... (iChat) http://www.ch.ic.ac.uk/rzepa/ Dept. Chemistry, Imperial College London, SW7 2AZ, UK. (Voracious anti-spam filter in operation for received email. If expected reply not received, please phone/fax). |