Jon Berndt said:

> > Yes. I mean no you aren't, but yes it is already being done. ;-)
> >
> > For anyone interested in this subject take a look at the
> > "-set.xml" files for
> > the pa28-161 or the p51d.  Both add "target-offset" parameters to
> > the "views".
> >  These are offsets from the VRP (e.g. Nose) to where the camera should be
> > pointing when it is operating in a tracking or "LOOK_AT" mode.
> 
> What can we (JSBSim) provide to make this work for us; or, is there anything
> we need to do?

Not a thing code wise.  It's just a visual thing that is handled on the
flightgear side.  It might be useful to have a textual description of the VRP
somewhere like in the FDM config (e.g. "VRP is tip of the propeller nose
cone"), just so that it is possible to tell.  To be honest I couldn't make any
sense out of the values that are currently being used:

737/737.xml:   AC_VRP       600.33 0.0 -35.67
A320/A320.xml:    AC_VRP        661.1   0.0 -37.0
c172p/c172p.xml:    AC_VRP       42.6  0.0 38.5
c172r/c172r.xml:    AC_VRP       42.6  0.0 38.5
c172x/c172x.xml:    AC_VRP -10.0 0.0 0.0
c182/c182.xml:    AC_VRP       43.9  0.0 40.6
f104/f104.xml:   AC_VRP             -275.1   0.0   0.1
f15/f15.xml:    AC_VRP             -237.25   0.0    4.58
fokker100/fokker100.xml:   AC_VRP       1270.5  0.0 -32.0
fokker50/fokker50.xml:   AC_VRP       497.1  0.0 -24.9
OV10/OV10.xml:   AC_VRP       249.6  0.0 -12.5
T37/T37.xml:   AC_VRP      -118.57 0.0 -8.8
T38/T38.xml:   AC_VRP       0 0 0
X15/X15.xml:    AC_VRP      342.82 0.0    0.0

The c310 currently does not have one set.

Best,

Jim


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to