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

Re: Aspect ratio - also the "new" look of some display and how to restore the old look

Hi Walid,

> I looked at setAspect in ProjecionControlJ3D/2D but the method is not
> there  yet defined in API.

Perhaps you have an old copy of VisAD because setAspect is working.
Test57.java and Test58.java in visad/examples demonstrate how to
use it, for Java3D and Java2D.  Please let me know if you continue
to have problems.

By the way, some users have commented that their images now look
different.  This is caused by VisAD's new capability to texture map
onto curved surfaces.  If you do not like this look, you can disable
it by:

  GraphicsModeControl mode = display.getGraphicsModeControl();
  mode.setCurvedSize(-1);

or even:

  mode.setTextureEnable(false);

which will disable texture mapping even on flat rectangles.

Cheers,
Bill
----------------------------------------------------------
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

 
 
  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