Roy Just a guess in passing . The field of view might mean the ANGLE oif the field of view. In which case 0.7853975 is 45 degrees. Unfortunately I am still using default fields of view, but hope to get to viewing problems soon in.
Peter Strachan ----- Original Message ----- From: "Roy Duffy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 6:38 PM Subject: [JAVA3D] getting the Field Of View > I'd like to be able to get the current field of view in my application > but it always gives me the same value and I don't understand why. I'm > using a WindowEyepointPolicy of View.RELATIVE_TO_WINDOW and the > WindowResizePolicy and WindowMovementPolicy are left to default. With > this configuration, when I resize the window, it shows more or less of > the scene, but all objects stay the same size, which is exactly what I > want. But when I call View.getFieldOfView(), it always reports the same > number (0.78...) and I don't understand how this is possible. It seems > to me that the field of view would have to change as I resize the window > in order to show more or less of the scene. I understand that setting > the field of view will not have any effect unless I'm using a > WindowEyepointPolicy of RELATIVE_TO_FIELD_OF_VIEW, but I thought I > should at least be able to find out what the current value is without > using that policy. > So I'm partly writing this out of simple curiosity about what actually > happens when I resize the window. But I also really need to find the > actual visible field of view in my window. > Can anyone help me? > > Thanks > -Roy > [EMAIL PROTECTED] > > =========================================================================== > 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".
