I'm in the process of fine-tuning the behaviour of the ADF (src/Instrumentation/adf.cxx), maintained by David M.
One aspect of calculating the transmission range is the difference in elevation between the aircraft and the transmitter (aircraft at 10,000' get better reception than aircraft at 2,000'). Currently, if the transmitter is higher than the aircraft, the elevation is capped at 200ft. Does anyone know why? (It has the effect of precluding transmitters on a hilltop from having a longer range than one on the flat.) Also, I'd like to model the interference from a mountain range between the transmitter and the aircraft. My plan is to find if there is terrain higher than aircraft altitude in a line drawn from current position to transmitter position. I know nothing about OpenGL so any clues on how to do this are gratefully accepted. (I imagine that this effect could eventually be ported across to the VOR code too.) Finally, I plan to model night-time increased range, which is easy enough. Any comments welcome, even "You're wasting your time, no-one uses the ADF anymore." ;) Nick _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
