On Sat, 2009-04-11 at 04:52 -0400, Patrice Poly wrote: > Hello, thanks to the info by Hooray in the forum, and most of all thanks to > the awesome paper found by him here : > > http://carrier.csi.cam.ac.uk/forsterlewis/soaring/sim/fsx/dev/sim_probe/sim_probe_paper.html > > I made a working ridge lift in a AI object. > > It WORKS, and , even, it works GOOD ! > I am just taking a pause in a long flight in the valley at LOWI, getting a > nice +5 fps updraft with a 10 kts wind :) > It behaves really nicely, the closer you are to the hill, the higher the > lift, > until some point when it drops because of friction, it reaches a maximum > above the hill top, then drops hard behind the edge. awesome :) > > Now we really need to contact the author on the forum, about licensing. > I wrote the code entirely, just used their adjustment formulas and the basic > sampling idea, so I presume it should be no harm ? I'll email them anyway. > > Again, my code is probably not nice, if someone feels like giving it a look > and make corrections , improvements, it would be very nice. > A possible issue is that it pretends to be a thermal, I made this because I > am > really not sure how to modify the AI manager and base so that it works, but I > needed to write to 'wind-from-down'. > So for now, it cannot be mixed with thermals, which is a real shame. > Maybe someone would take some time to do this better ? > > Anyway, it works, very good , even in this draft state. > I don't feel any performance drop with 5 ground scans / second. The ground > sampling idea is really neat. > > As long as I have a contact with the author of the paper, and hopefully he > will accept that his idea goes into GPL, I will have to beg for it to be > included in CVS. Many people would enjoy this a lot, I am sure ! > > Here is a link to what I made : www.bentha.net/fgfs/ridge-lift/ridge-lift.zip. > > This is without any licencing yet,but I thought that as I have only taken the > main idea from the paper, and some formulas, then wrote the code myself, I > could send this to the dev list without too much harm regarding the paper > author and FSX code. > > Please let me know if you find it of some interest !
This looks really neat. I'm not sure why you put it into the AI subsystem, though. It makes more sense to me to have it in Environment/environment.cxx with the other basic wind calculations? Thanks, Ron ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel