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

Re: Rendering an image

Hi Bill-

Bill Hibbard wrote:

VisAD does make a geometry for an image, but also an array
of pixels for texture mapping. Shapes can include the
geometry but not the texture map array. You can reduce an
iamge to pure geometry, but it requires two triangles per
pixel which will be slow for large images. You can
experiment with speed and memory use by disabling texture
mapping off when you display an image.

Where is the geometry made (class/method)?  Most of the
images I'm dealing with are small (legends, icons), so I
don't think speed will be an issue.

Thanks.

Don
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
"There's someone in my head, but it's not me"    Roger Waters
*************************************************************



 
 
  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