I thought I had a solution with the frustum and/or perspective functions in
Transform3D, but the documentation says those are "Compatability functions" which
are "primarily intended to help jump-start porting of existing applications" and
"limit the portability of Java 3D programs."  It sounds like we are being
discouraged from using these methods, so I am back to my original question:
Is there a way to individually set the X and Y FOVs so that I can preserve my
image when resizing a window?

Thanks.
 -Roy
[EMAIL PROTECTED]



Roy Duffy wrote:

> Nevermind.  I think I can use the frustum or perspective functions in
> Transform3D and apply it to the ViewPlatformTransform.
>
>  -Roy
>
> Roy Duffy wrote:
>
> > I need to preserve the image (but just see more or less of it) when my
> > application window resizes.  Calling
> > "view.setWindowResizePolicy(View.VIRTUAL_WORLD);" would be exactly what
> > I need, but it is a documented bug that this doesn't work yet.  I tried
> > manually calculating a new FOV but couldn't get anything to work
> > properly because I need to individually set vertical and horizontal FOV
> > depending on whether window width or height changes.  When I change the
> > FOV, somehow it effects both vertical and horizontal components.  I
> > assume it is using some aspect ratio to do this, probably 1.0.
> > Has anyone found a way to resize the view frustum to an arbitrary width
> > and height?
> >
> > -Roy
> >
> > ===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to