Re: [Flightgear-devel] Tower view configuration

2005-06-30 Thread Jim Wilson
 From: Drew [EMAIL PROTECTED]
 
 Thanks, I'll try that, but I don't understand your description.  The
 view origin is fixed in space as it is.  Since the field of view is
 only 8 degrees horizontally, I figured the .9 degrees would shift the
 target upwards by about 1/6 the height of the image.  That's what I'm
 trying to do, anyway.  In any case, I'll try what you suggested
 tomorrow when I'm at my computer, and see for myself what it does.
 

Hmmm...ok I did not see that.  Now I've got a better idea of what you are 
looking for.  Also I need to retract what I said about the camera angle.  
That's a function of manipulating the origin.  The pitch-offset-deg value will 
have no effect in lookat mode.

Currently the only thing you can do to move the aircraft up higher in the tower 
view is to specify a target-y-offset-m.  This moves the target location.   What 
it won't do is maintain the same angle as the distance to the aircraft changes. 
 Doing that would require a code change that uses new parameters like 
target-pitch-offset-deg and calculates an xyz value dynamically.

Best,

Jim



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Tower view configuration

2005-06-30 Thread Drew
 You could write a nasal script that updates target-y-offset-m based on
 the aircraft's distance from the tower. You can get the tower and ac
 position from the property tree, nasal does trig, and that's all you need.
 
 Josh


I'll look into that.  Thanks!

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Tower view configuration

2005-06-29 Thread Jim Wilson
 From: Drew [EMAIL PROTECTED]
 
 Hey All,
 
 I'm trying to configure a tower view in FlightGear that is offset in
 pitch such that the airplane appears above the center of the screen,
 but still tracks the position of the aircraft.  I can't figure out how
 this is done, as the 'offset-pitch-deg' property seems to have no
 effect.  Here is what I have in preferences.xml.  If anyone knows what
 I'm doing wrong, please let me know.
 

That negative 9 tenths of a degree offset-pitch-deg value is going to be hardly 
noticable.  If I recall correctly,  the offsets in lookat mode still manipulate 
the angle of the camera, but the target is always constant.   Thus  it gives 
you the impression that the camera is teathered to the target, and rotates 
around as if on the inside of a sphere where the target is the center of the 
sphere.  Try some larger numbers (e.g. 35 degrees) and you should see something 
change.

Best,

Jim



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Tower view configuration

2005-06-29 Thread Drew
Thanks, I'll try that, but I don't understand your description.  The
view origin is fixed in space as it is.  Since the field of view is
only 8 degrees horizontally, I figured the .9 degrees would shift the
target upwards by about 1/6 the height of the image.  That's what I'm
trying to do, anyway.  In any case, I'll try what you suggested
tomorrow when I'm at my computer, and see for myself what it does.

Drew

On 6/29/05, Jim Wilson [EMAIL PROTECTED] wrote:
  From: Drew [EMAIL PROTECTED]
 
  Hey All,
 
  I'm trying to configure a tower view in FlightGear that is offset in
  pitch such that the airplane appears above the center of the screen,
  but still tracks the position of the aircraft.  I can't figure out how
  this is done, as the 'offset-pitch-deg' property seems to have no
  effect.  Here is what I have in preferences.xml.  If anyone knows what
  I'm doing wrong, please let me know.
 
 
 That negative 9 tenths of a degree offset-pitch-deg value is going to be 
 hardly noticable.  If I recall correctly,  the offsets in lookat mode still 
 manipulate the angle of the camera, but the target is always constant.   Thus 
  it gives you the impression that the camera is teathered to the target, and 
 rotates around as if on the inside of a sphere where the target is the center 
 of the sphere.  Try some larger numbers (e.g. 35 degrees) and you should see 
 something change.
 
 Best,
 
 Jim
 
 
 
 ___
 Flightgear-devel mailing list
 Flightgear-devel@flightgear.org
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
 2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d