Jim Wilson wrote:
>>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
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
> 

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

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

Reply via email to