Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

image flicker when changing shape

Hi,

I am using a delaunay custom to visualise the surface of an irregular 3d mesh. The shape of the mesh can change so, as advised in previous emails (many thanks), I re-create the shape each time.

This works fine, however, I get flicker, or a blank screen inbetween the display of the old shape and of the new shape. I know I should probably expect this but is there any way of avoiding the blank screen - e.g. perform some double buffering - it would make for a much nicer "interactive" experience. Here's what I currently have for updating the existing shape ...

delaun = new DelaunayCustom(disppts, tri, delaunVertices, delaunWalk, delaunEdges, delaunNumEdges, false);
   gsp = new Irregular3DSet(xyz,disppts,null,null,null,delaun);

   func_rgb = new FunctionType(xyz, rgbValues);
   vals_rgb = new FlatField( func_rgb, gsp);
   tetref.setData(vals_rgb);

Any help much appreciated.

-- Rupert Ford

==============================================================================
To unsubscribe visad, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690