Does anyone know where I can get a good book or text on how to make a very BASIC flight model for my OpenGL Flight Sim?
I have looked all over the internet, and there''s a lot of good source code, but usally, the flight sim is too big and the flightmodel is too complex for me! I appreciate any help. Thanks!
It might be helpful if you get your hands on one of those editors (say FlightShop) or whatever program it is they use to design the flight models in FS98 or the like. If you learn what parameters are involved there you might then be able to design your own program to use similar inputs (where applicable).
Well, flight models have the four basic forces of drag, lift, weight (from gravity), and thrust. That is as basic as it gets. Drag comes from air friction (aircraft speed and design is a factor), lift comes from the aerodynamics of the wings (surface area of the wings is a factor here), weight is fairly self explanatory, and thrust is from the engine power (unless it''s a glider, then there''s no true thrust and you get gravity involved). If you apply the basic Newtonian physics equations (based around F=ma), and maybe get your hands on some of the basic flight model equations for things such as lift, you may be able to produce a very simplistic flight model. Since you''re interested in this, I would suggest that you do start off with a very simple, working model and add more complex variables as you go along.
Thank you for the replies, and last night, I discovered the LaRCsim flight dynamics engine. It is a set of ANSI C routines describing a generalized flight model applicable to many air vehicles. It took me three hours to interface my Sim to it, but in the end, it worked!