Re: VisAD on Panoram

James and Bill,

Excellent...I will see if I can change the Earth example to use the manual
aspect ratio setting. Bill, should I download/install VisAD again or can I
just add the new method to what we have?

When the change is made to the API, will aspect ratio be automatically set,
manually set (through user input), or semiautomatically set (by querying
the display and using returned info)? What is the typical lag time for
these changes to filter down to a beta and release version of J3D? I assume
it may also need to filter into HP3D as well, though I also assume HP
tracks the latest updates pretty closely. How can I be notified when the
change has been incorporated?

At 07:55 AM 8/9/00 -0500, Bill Hibbard wrote:
>> Might be a problem in J3D....
>> I searched Sun's JDC and found the following posted on 19 Jun 00:
>> Proposed API Change for Default Physical Screen Size
>> In order to fix a problem when running Java 3D on a monitor with a
>> aspect ratio (e.g., portrait mode or HDTV resolution), we propose to
>> modify the default values of physical screen width and height, such that
>> default physical aspect ratio is the same as the pixel aspect ratio.
>> . . .
>Excellent, James.  You hit the nail on the head.  Thank you.
>This led me to add a new method to DisplayImplJ3D:
>  public void setScreenAspect(double height, double width);
>I don't have a non-standard monitor for testing, but this
>did change aspect ratio on my standard montior.  For a
>double wide screen, try:
>  display.setScreenAspect(0.27, 0.70);
>and for a triple width screen, try:
>  display.setScreenAspect(0.27, 1.05);
>Unfortunately, this solution for aspect on wide screens
>requires applications to be modified.  But that should change
>when Sun makes the Java3D changes described in the web page
>James found.
>Please let me know if this does not solve the aspect problem
>on wide screens.
>Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
>hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738