Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Vladimir, > Does somebody know if it is possible > to avoid a 3D graphic to refresh during > the mouse dragging? > > Actually, is it possible to make a repaint > only when the mouse is released, having > only the axis repainted during the dragging, > for example? > > (in order to make the mouse manipulation faster) In order to do this, you'd need to write a custom DisplayRenderer and MouseBehavior, along with a custom version of visad.MouseHelper. It would be a bit complex, but the good news is that you can probably do it by hacking the code from the existing classes. Specifically, your DisplayRenderer and MouseBehavior would be almost identical to DefaultDisplayRendererJ3D and MouseBehaviorJ3D, except they would use a new version of MouseHelper that only called ProjectionControl.setMatrix() on mouse release events. Good luck, Bill p.s., MouseHelper should not be confused with the product sold to cats and foxes during lean times. ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: