Hi, Eric,

I'm also not seeing the problem. part of the issue is that the translucency requires a second pass. Not much of a way around that. But you could check to see if that's part of the problem.

Jmol has quite a bit of code to check that it's not rendering items that are fully outside the window. But even if a tiny part of a cartoon of a residue is in the window, it has to at least try to render the who unit. So it's those large items that swing by in front of the user that are probably your problem. It might help to add a clipping plane. Other than that, no suggestions.


On Wed, Aug 26, 2009 at 2:06 PM, Eric Martz <emartz@microbio.umass.edu> wrote:
Jmol's rendering appears to me to become very slow at high zoom, when
there are many atoms outside the viewport. That is, spinning and
zooming get slow and jerky. For example,


Click the "Play Animation" button. Near the end of the animation, the
protein appears as green cartoon, at high zoom. Prior to the green
cartoon appearing, the large spacefilled Tamiflu Drug spins smoothly
(even tho antialiasdisplay is on). The moment the green cartoon
appears, spinning becomes slow and jerky. As the molecule zooms down,
when the entire protein and cartoon are within the viewport, spinning
and zooming again become much faster and smoother.

My guess is that at high zoom, Jmol is spending lots of time
rendering structure that is outside the viewport and will not be
shown. If this guess is correct, would it be feasible to code Jmol to
skip rendering the out-of-viewport portions, to improve performance?

Thanks, -Eric

Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Jmol-users mailing list

Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
phone: 507-786-3107

If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900