Re: [Flightgear-devel] EAA Oshkosh
--- Martin Spott wrote: snip It would be nice if some kind person would build new scenery for Oshkosh and make it availble. I know it's a big request. Well, to get an idea you could start by reading this tutorial: http://www.custom-scenery.org/Building-Scener.331.0.html especially the part Creating the vector training layer. The steps described there are something that people with knowledge of the local entourage could contribute for building local scenery. That's a great tutorial. The training layer tools should make improving local scenery much, much easier. I noticed that there was a TODO section for actually building the scenery. It would be really great to have an updated TerraGear tutorial. I had TerraGear working happily a couple of years ago, but haven't re-visited it as I didn't understand the changes for shape-files. Presumably one uses v.extract and v.out.ogr to get a shapefile, then shape-decode to convert it by attribute into the traditional TerraGear directory structure? -Stuart ___ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [ANN] OSG - Improved Weather Radar
I wrote Sent: 13 June 2007 16:54 To: 'FlightGear developers discussions' Subject: [Flightgear-devel] [ANN] OSG - Improved Weather Radar Hi, Tim Moore has been hard at work recently (with the smallest of inputs by me), and has ported the improved weather radar already available for plib to OSG. The patches are here: ftp://abbeytheatre2.org.uk/fgfs/instrumentation/osg/ And a reminder of the improvements available: raw radar contacts etc, and most important, no longer requires some convoluted .XML here: ftp://abbeytheatre2.org.uk/fgfs/Screen-shots/radar.jpg ftp://abbeytheatre2.org.uk/fgfs/Screen-shots/radar1.jpg ftp://abbeytheatre2.org.uk/fgfs/Screen-shots/radar2.jpg Vivian We now have the improved weather radar code available for plib and osg, originally written by Harald Johnsen, extensively modified by me, and ported to OSG by Tim Moore. Csaba Halász is busy extending this into a very clever Airport Surveillance Radar for use in Control Towers. Unless there are substantive objections, I intend to get this code into cvs-HEAD and cvs-PLIB over the coming weekend, so that we can more easily move on to some future enhancements. Probably the only user of the full range of features of this radar is the KC-135. We intend to develop this instrument into a more generalised facility so that it could be used for example in the E3B. Tim Moore has some embryo plans for adding ground echoes. We have yet to port 3D clouds to osg, so there is no weather to display on the osg version of wxradar. In the longer term we would like to retire the clumsy .XML implementation of a radar. Vivian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] EAA Oshkosh
Hi! Stuart Buchanan wrote: --- Martin Spott wrote: snip It would be nice if some kind person would build new scenery for Oshkosh and make it availble. I know it's a big request. Well, to get an idea you could start by reading this tutorial: http://www.custom-scenery.org/Building-Scener.331.0.html especially the part Creating the vector training layer. The steps described there are something that people with knowledge of the local entourage could contribute for building local scenery. That's a great tutorial. The training layer tools should make improving local scenery much, much easier. I noticed that there was a TODO section for actually building the scenery. It would be really great to have an updated TerraGear tutorial. I had TerraGear working happily a couple of years ago, but haven't re-visited it as I didn't understand the changes for shape-files. Presumably one uses v.extract and v.out.ogr to get a shapefile, then shape-decode to convert it by attribute into the traditional TerraGear directory structure? You don't need v.extract. Export the whole layer using v.out.ogr, and then either split (and reproject) using ogr2ogr or do both using my ogrdecode tool for TerraGear, which I have sent in a patch to Curt a long time ago ;-) But that patch is also in the fgfs-builder. And as a side node: We are planning to actually do an Oshkosh scenery using Landsat data. The more experiments and experience we have with that procedure, the better. Cheers, Ralf - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] BlackBird SR-71
On Fri 15 June 2007 03:35, Jon S. Berndt wrote: I don't mean that is right, i only mean we have a lot of work to do before to get the right FDM. Thanks for your feed back. -- Gérard Bingo. SR-71 technical data for simulation: http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20020057965_2002092400 . pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19800017829_1980017829 . pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19980217098_1998361052 . pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/2064011_287962 . pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19780004157_1978004157 . pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19780013217_1978013217 . pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19860021266_1986021266 . pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19970026105_1997043536 . pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/2052206_270615 . pdf SR-71 images at Dryden Flight Research Center: http://www1.dfrc.nasa.gov/gallery/photo/SR-71/ This ought to keep you busy for the next two years. :-) Jon Jon, Many thanks, But 404: Page Not Found probably due the recent reorganisation of their huge database, anyhow these documents should exist I will look for it. I new the photo gallery link which is great Cheers -- Gérard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [ANN] OSG - Improved Weather Radar
On Fri 15 June 2007 10:39, Vivian Meazza wrote: I wrote Sent: 13 June 2007 16:54 To: 'FlightGear developers discussions' Subject: [Flightgear-devel] [ANN] OSG - Improved Weather Radar Hi, Tim Moore has been hard at work recently (with the smallest of inputs by me), and has ported the improved weather radar already available for plib to OSG. The patches are here: ftp://abbeytheatre2.org.uk/fgfs/instrumentation/osg/ And a reminder of the improvements available: raw radar contacts etc, and most important, no longer requires some convoluted .XML here: ftp://abbeytheatre2.org.uk/fgfs/Screen-shots/radar.jpg ftp://abbeytheatre2.org.uk/fgfs/Screen-shots/radar1.jpg ftp://abbeytheatre2.org.uk/fgfs/Screen-shots/radar2.jpg Vivian We now have the improved weather radar code available for plib and osg, originally written by Harald Johnsen, extensively modified by me, and ported to OSG by Tim Moore. Csaba Halász is busy extending this into a very clever Airport Surveillance Radar for use in Control Towers. Unless there are substantive objections, I intend to get this code into cvs-HEAD and cvs-PLIB over the coming weekend, so that we can more easily move on to some future enhancements. Probably the only user of the full range of features of this radar is the KC-135. We intend to develop this instrument into a more generalised facility so that it could be used for example in the E3B. Tim Moore has some embryo plans for adding ground echoes. We have yet to port 3D clouds to osg, so there is no weather to display on the osg version of wxradar. In the longer term we would like to retire the clumsy .XML implementation of a radar. Vivian Great Vivian, Timoore, Many thanks that is the best new, i ever heard along these pasted 30 days Gérard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] BlackBird SR-71
On Friday 15 June 2007 11:40, gh.robin wrote: http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/2052206_2706 15 . pdf But 404: Page Not Found probably due the recent reorganisation of their huge database, anyhow these documents should exist They do - you just need to reassemble the links which were wrapped and broken. Cheers, AJ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] BlackBird SR-71
Jon, Many thanks, But 404: Page Not Found Gérard Make sure that the entire link is on one line - the link needs to end with .pdf. That had been split off in your reply. I wonder if that was the problem? These links do work: http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20020057965_2002092400. pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19800017829_1980017829. pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19980217098_1998361052. pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/2064011_287962. pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19780004157_978004157.p df http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19780013217_978013217.p df http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19860021266_1986021266. pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19970026105_1997043536. pdf http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/2052206_270615. pdf SR-71 images at Dryden Flight Research Center: http://www1.dfrc.nasa.gov/gallery/photo/SR-71/ This ought to keep you busy for the next two years. :-) Jon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] BlackBird SR-71
On Fri 15 June 2007 12:47, Jon S. Berndt wrote: Jon, Many thanks, But 404: Page Not Found Gérard Make sure that the entire link is on one line - the link needs to end with .pdf. That had been split off in your reply. I wonder if that was the problem? These links do work: http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20020057965_2002092400 . pdf Jon Jon, right, i did not pay attention to it. Yes you are right, you have found, for me, enough to keep me busy for the next 2 years, and enough to spend the evening , instead of watching the TV :) Thanks -- Gérard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [Flightgear-cvslogs] CVS:
Emmanuel, Emmanuel Baranger wrote: Update of /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-SR71/Models/Panel/Instruments In directory baron:/tmp/cvs-serv26933/Aircraft/Lockheed-SR71/Models/Panel/Instruments Log Message: Directory /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-SR71/Models/Panel/Instruments added to the repository Do you really think it's a wise idea to put yet a second Blackbird into the base package ? Personally I find this very irritating and I propose that you get together with Gerard to make one aircraft out of these two, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [Flightgear-cvslogs] CVS:
Gerard, gh.robin wrote: If a person start a project and ignore everything what has been done before, and If that person has worked hard on it, that person could have a chance to offer his own project. May be a strategy error, but if the result is right . It's certainly not Emmanuel's fault to start work on a Blackbird because nobody could forsee that you, after the past confusion, would some day release your version of the Blackbird for general distribution with FlightGear. Yet the result to have two models of the same type in the base package is highly unfortunate and I'd ask you to get together with Emmanuel to work towards a solution. It might be a good idea if you both make an arrangement behind the doors without getting too much public involved in this process, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [Flightgear-cvslogs] CVS:
On Fri 15 June 2007 13:32, Martin Spott wrote: Emmanuel, Emmanuel Baranger wrote: Update of /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-SR71/Models/Panel/Instrume nts In directory baron:/tmp/cvs-serv26933/Aircraft/Lockheed-SR71/Models/Panel/Instruments Log Message: Directory /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-SR71/Models/Panel/Instrume nts added to the repository Do you really think it's a wise idea to put yet a second Blackbird into the base package ? Personally I find this very irritating and I propose that you get together with Gerard to make one aircraft out of these two, Martin. Hello Martin, I only speak for me, Isn't it a good idea, more we have better it is ? When several persons starts a common project from the beginning that is possible. If a person start a project and ignore everything what has been done before, and If that person has worked hard on it, that person could have a chance to offer his own project. May be a strategy error, but if the result is right . Cheers -- Gérard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [Flightgear-cvslogs] CVS:
On Fri 15 June 2007 14:28, Martin Spott wrote: Gerard, gh.robin wrote: If a person start a project and ignore everything what has been done before, and If that person has worked hard on it, that person could have a chance to offer his own project. May be a strategy error, but if the result is right . It's certainly not Emmanuel's fault to start work on a Blackbird because nobody could forsee that you, after the past confusion, would some day release your version of the Blackbird for general distribution with FlightGear. Yet the result to have two models of the same type in the base package is highly unfortunate and I'd ask you to get together with Emmanuel to work towards a solution. It might be a good idea if you both make an arrangement behind the doors without getting too much public involved in this process, Martin. Martin, I fear that will be impossible , when looking at the 3D model , both are different (you can understand, each designer has is own process to draw), instrumentation and cockpit arrangement is different, animations (xml files) are different, FDM are different, JSBSim versus YASim. If you mind to have two models i don't mind, to have mine removed, it was a pleasure to me offer one product extracted from my private hangar , was the first, will not be the last. I would worry to fight against EB (blender-LuckyLuke). Feel free to do what you think to be better for FG. Regards -- Gérard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [Flightgear-cvslogs] CVS:
gh.robin wrote: Feel free to do what you think to be better for FG. If it were so easy this is hard to decide ! Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [Flightgear-cvslogs] CVS:
On 6/15/07, Martin Spott wrote: Gerard, gh.robin wrote: If a person start a project and ignore everything what has been done before, and If that person has worked hard on it, that person could have a chance to offer his own project. May be a strategy error, but if the result is right . Yet the result to have two models of the same type in the base package is highly unfortunate Is it even a little bit unfortunate? I don't think I agree with the premise of your argument here. I suspect global warming will extinguish humanity before two SR71's in the cvs data module does. (And at the moment I'm not especially worried about the end of a life on earth.) and I'd ask you to get together with Emmanuel to work towards a solution. It might be a good idea if you both make an arrangement behind the doors without getting too much public involved in this process, You could have quite easily made this request privately too. Please, every situation does not have to be the end of the world. Personally I have to chuckle quietly (just a bit) when I see we have this problem of two people working on the same aircraft. That's a problem born out of the success of the FlightGear project. Years ago, we only had a very small number of people working on a very small number of aircraft. That was a much bigger problem ... but something we addressed by tirelessly working towards building the FlightGear project into what it is today ... not perfect of course, not finished of course, but something that commands a significant attention and respect from many different fields. I think we are always going to have problems, but I would prefer the problems of success over the problems of no success. I see no need to panic here, no need to raise a shrill tone, start a flame war ... come on guys! I know everyone is wired a little bit differently, but not every situation is needs to be dealt with as a 9-1-1 panic emergency. This is starting to get ridiculous. FlightGear is supposed to be a fun project. A few of you guys are giving me gray hairs! Stop it! I've already got enough of them from being married! A few of you guys are acting like you are married. :-) Curt. -- Curtis Olson - University of Minnesota - FlightGear Project http://baron.flightgear.org/~curt/ http://www.humanfirst.umn.edu/ http://www.flightgear.org Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] tacan.cxx fix to follow AITanker.cxx
Durk Talsma a écrit : On Thursday 14 June 2007 13:57, Durk Talsma wrote: Until it works. I'm having a working TACAN again, and I'm still investigating the contact nodes, The fix for the nasal scripts looks easy enough, and I'm close to finding out what is going on as to why FGAITanker isn't updating yet. Okay, the mechanism driving the contact property functionality is working again. I've committed this to CVS/plib. Now, I need to try and fly close to the tanker to see if I can get some fuel. Ok Durk, I just tested successfully AI refueling at KSFO with refueling_demo.xml and using the A-10. TACAN and contact were ok. Thanks, Alexis - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [ANN] OSG - Improved Weather Radar
Vivian Meazza wrote: embryo plans for adding ground echoes. We have yet to port 3D clouds to osg, so there is no weather to display on the osg version of wxradar. FWIW... Unfortunately, I won't have any time for about two or three months, but might suggest a relook at Mark Harris' code for 3D clouds as a candidate to port to OSG. I personally liked the look and feel of the clouds produced by his algorithms over the current version Regards John W. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [ANN] OSG - Improved Weather Radar
John Sent: 15 June 2007 16:26 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] [ANN] OSG - Improved Weather Radar Vivian Meazza wrote: embryo plans for adding ground echoes. We have yet to port 3D clouds to osg, so there is no weather to display on the osg version of wxradar. FWIW... Unfortunately, I won't have any time for about two or three months, but might suggest a relook at Mark Harris' code for 3D clouds as a candidate to port to OSG. I personally liked the look and feel of the clouds produced by his algorithms over the current version I rather agree with you, I don't recall the reason for the changeover. Perhaps someone could enlighten us? The new 3d clouds have potentially lots of good features like rain and turbulence, but I'm not sure we use them. Vivian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [ANN] OSG - Improved Weather Radar
Vivian Meazza wrote: John Sent: 15 June 2007 16:26 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] [ANN] OSG - Improved Weather Radar Vivian Meazza wrote: embryo plans for adding ground echoes. We have yet to port 3D clouds to osg, so there is no weather to display on the osg version of wxradar. FWIW... Unfortunately, I won't have any time for about two or three months, but might suggest a relook at Mark Harris' code for 3D clouds as a candidate to port to OSG. I personally liked the look and feel of the clouds produced by his algorithms over the current version I rather agree with you, I don't recall the reason for the changeover. Perhaps someone could enlighten us? The new 3d clouds have potentially lots of good features like rain and turbulence, but I'm not sure we use them. When I first incorporated Mark's code, was unable to get my head around how to add objects to the plib scenegraph and with the help and patience of Curtis and others was finally able to get something working. However it was no where near the best solution, but we lived with it. When a new developer provided an integrated plib solution with a different cloud rendering approach, the hack was moved to the attic. Having reduced the entire 747 project down to two PCs (one for the cockpit and one for the Flightgear scenery on three projectors) was thinking of a third machine to produce enviromental effects, like a wind field using smoothed metar data to avoid the artifical shearing when changing stations, real-time cloud generation based on atmospheric conditions, improved earth/gravity model using Bessel functions, moving the AI to a dedicated machine and using the MP service, etc, etc. lots of ideas, very little time. Regards John W. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Update to the MSVC8 Build System
Hi, A major update to the MSVC8 build system. Updated 3rdParty libpng-1.2.18 and to the OpenSceneGraph 2.0, released today. Noteworthy: The patch fgpatch.diff supplied detects whether the Low Fragmentation Heap (LFH) is available and enables it. This increases framerates about 10% for me. (LFH is available on W2K SP4 Update1, XP and up). http://www.oflebbe.de/FlightGear Cheers, Olaf - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] fix for osgViewer modifier key bug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, This patch works around a bug in OSG's handling of modifier keys. The symptom of the bug is that modifier keys don't appear to be released. Tim -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFGcxeieDhWHdXrDRURAmeTAJ9kjtkOv6Pkef8mebYhyMHVjcK+XwCfQNFY o0QZMHTUi9ysQ5tgiHJXGtQ= =nHI6 -END PGP SIGNATURE- diff --git a/src/Main/FGManipulator.cxx b/src/Main/FGManipulator.cxx index 6442484..de88d5e 100644 --- a/src/Main/FGManipulator.cxx +++ b/src/Main/FGManipulator.cxx @@ -10,6 +10,25 @@ // event handling method is also a convenient place to run the the FG // idle and draw handlers. +FGManipulator::FGManipulator() : +idleHandler(0), drawHandler(0), windowResizeHandler(0), keyHandler(0), +mouseClickHandler(0), mouseMotionHandler(0), currentModifiers(0), +osgModifiers(0) +{ +keyMaskMap[osgGA::GUIEventAdapter::KEY_Shift_L] + = osgGA::GUIEventAdapter::MODKEY_LEFT_SHIFT; +keyMaskMap[osgGA::GUIEventAdapter::KEY_Shift_R] + = osgGA::GUIEventAdapter::MODKEY_RIGHT_SHIFT; +keyMaskMap[osgGA::GUIEventAdapter::KEY_Control_L] + = osgGA::GUIEventAdapter::MODKEY_LEFT_CTRL; +keyMaskMap[osgGA::GUIEventAdapter::KEY_Control_R] + = osgGA::GUIEventAdapter::MODKEY_RIGHT_CTRL; +keyMaskMap[osgGA::GUIEventAdapter::KEY_Alt_L] + = osgGA::GUIEventAdapter::MODKEY_LEFT_ALT; +keyMaskMap[osgGA::GUIEventAdapter::KEY_Alt_R] + = osgGA::GUIEventAdapter::MODKEY_RIGHT_ALT; +} + void FGManipulator::setByMatrix(const osg::Matrixd matrix) { // Yuck @@ -194,9 +213,19 @@ void FGManipulator::handleKey(const osgGA::GUIEventAdapter ea, int key, case osgGA::GUIEventAdapter::KEY_KP_9: key = 360; break; case osgGA::GUIEventAdapter::KEY_KP_Enter: key = 269; break; } -modifiers = osgToFGModifiers(ea.getModKeyMask()); +osgGA::GUIEventAdapter::EventType eventType = ea.getEventType(); +// Track the modifiers because OSG is currently (2.0) broken +KeyMaskMap::iterator iter = keyMaskMap.find(key); +if (iter != keyMaskMap.end()) { + int mask = iter-second; + if (eventType == osgGA::GUIEventAdapter::KEYUP) + osgModifiers = ~mask; + else + osgModifiers |= mask; +} +modifiers = osgToFGModifiers(osgModifiers); currentModifiers = modifiers; -if (ea.getEventType() == osgGA::GUIEventAdapter::KEYUP) +if (eventType == osgGA::GUIEventAdapter::KEYUP) modifiers |= KEYMOD_RELEASED; } diff --git a/src/Main/FGManipulator.hxx b/src/Main/FGManipulator.hxx index dae69d2..e20033d 100644 --- a/src/Main/FGManipulator.hxx +++ b/src/Main/FGManipulator.hxx @@ -1,6 +1,7 @@ #ifndef FGMANIPULATOR_H #define FGMANIPULATOR_H 1 +#include map #include osg/Quat #include osgGA/MatrixManipulator @@ -8,10 +9,8 @@ class FGManipulator : public osgGA::MatrixManipulator { public: -FGManipulator() : - idleHandler(0), drawHandler(0), windowResizeHandler(0), keyHandler(0), - mouseClickHandler(0), mouseMotionHandler(0), currentModifiers(0) - {} +FGManipulator(); + virtual ~FGManipulator() {} virtual const char* className() const {return FGManipulator; } @@ -116,6 +115,10 @@ protected: fgMouseClickHandler mouseClickHandler; fgMouseMotionHandler mouseMotionHandler; int currentModifiers; +// work-around for OSG bug +int osgModifiers; +typedef std::mapint, osgGA::GUIEventAdapter::ModKeyMask KeyMaskMap; +KeyMaskMap keyMaskMap; osg::Vec3d position; osg::Quat attitude; void handleKey(const osgGA::GUIEventAdapter ea, int key, int modifiers); - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] [RFC]: Fix and changes to Generic/aar.nas and AAR changes to Harrier to follow AITanker.cxx
Hi, In the process of fixing the Generic aar.nas and also the Harrier I propose this changes: a) Generic/aar.nas fixed to follow AITanker.cxx b) Added /systems/refuel/serviceable (bool) for those aircraft having a particular condition to refueling like hose door or refuel boom. This props would be set by the model and checked by aar.nas. c) Harrier now use Aircraft/Generic/aar.nas and no longer use harrierAAR.nas d) Harrier handle the boom option in a new script I called controls.nas. Modified files: --- Aircraft/Generic/aar.nas Aircraft/harrier/harrier-set.xml Deleted file: - Aircraft/harrier/harrierAAR.nas New file: - Aircraft/harrier/controls.nas This changes shouldn't (?) brake anything, but I would like this to be double checked before asking for commit. Alexis Index: Aircraft/Generic/aar.nas === RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Generic/aar.nas,v retrieving revision 1.11 diff -u -p -r1.11 aar.nas --- Aircraft/Generic/aar.nas30 Mar 2007 20:27:07 - 1.11 +++ Aircraft/Generic/aar.nas15 Jun 2007 22:38:01 - @@ -47,7 +47,7 @@ var update_loop = func { # check for contact with tanker aircraft var tankers = []; if (ai_enabled) { - var ac = aimodelsN.getChildren(aircraft); + var ac = aimodelsN.getChildren(tanker); var mp = aimodelsN.getChildren(multiplayer); foreach (var a; ac ~ mp) { @@ -60,8 +60,21 @@ var update_loop = func { } } - var refueling = size(tankers) 0; - refuelingN.setBoolValue(refueling); + + + var serviceable = getprop(systems/refuel/serviceable); + var refueling = size(tankers) 0 ; + + if (serviceable == nil) { serviceable =1 } + if (serviceable) { + refuelingN.setBoolValue(refueling); + print(serv ~ refueling); + } else { + refueling = 0; + refuelingN.setBoolValue(refueling); + print(noserv ~ refueling); + } + if (fuel_freeze) { return settimer(update_loop, UPDATE_PERIOD); Index: Aircraft/harrier/harrier-set.xml === RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/harrier/harrier-set.xml,v retrieving revision 1.8 diff -u -p -r1.8 harrier-set.xml --- Aircraft/harrier/harrier-set.xml13 May 2007 13:49:49 - 1.8 +++ Aircraft/harrier/harrier-set.xml15 Jun 2007 22:36:12 - @@ -222,6 +222,11 @@ selected type=int0/selected /radar /instrumentation + systems +refuel + serviceable type=boolfalse/serviceable +/refuel + /systems !-- keyboard-- input @@ -255,8 +260,11 @@ !-- load nasal scripts -- nasal aar - fileAircraft/harrier/harrierAAR.nas/file + fileAircraft/Generic/aar.nas/file /aar +controls + fileAircraft/harrier/controls.nas/file +/controls enav fileAircraft/harrier/Panel/enav/enav.nas/file /enav # HARRIER controls # extra check to see if the harrier is carrying its AAR boom var UPDATE_PERIOD = 0.3; var update_loop = func { var hasAARBoom = getprop(sim/weight[7]/selected) != none; var s = props.globals.getNode(systems/refuel/serviceable); s.setBoolValue(0); if ( hasAARBoom ){ s.setBoolValue(1); } settimer(update_loop, UPDATE_PERIOD); } setlistener(/sim/signals/fdm-initialized, func { update_loop(); }); - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [RFC]: Fix and changes to Generic/aar.nas and AAR changes to Harrier to follow AITanker.cxx
alexis bory a écrit : Hi, In the process of fixing the Generic aar.nas and also the Harrier I propose this changes: Ho, sorry, I forgot to comment the debug prints in aar.nas lines 70 75: if (serviceable) { refuelingN.setBoolValue(refueling); #print(serv ~ refueling); } else { refueling = 0; refuelingN.setBoolValue(refueling); #print(noserv ~ refueling); } Alexis - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] MP AAR reports
hi, I tested successfully MP AAR with the A-10 and the (patched) Harrier. Thanks to our friend MOBIL2 :) Alexis - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] OpenSceneGraph 2.0
Just a thought for the rest of the list. Now that OpenSceneGraph-2.0 has been released, what are the thoughts on setting that as a fixed dependency for now (i.e., future development should work on OpenSceneGraph-2.0). With one of the latest patches to the plib branch in CVS, FlightGear still compiles with plib-1.8.4 which is included in many Linux distributions. I have a feeling that OSG 2 will soon be the version of OSG available in many Linux distributions. Having OSG support just _work_ would allow developers to focus on FlightGear without also having to keep up with the latest daily developments in OSG. Just a thought, Jonathan Wagner - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] OpenSceneGraph 2.0
On 6/15/07, Jonathan Wagner wrote: Just a thought for the rest of the list. Now that OpenSceneGraph-2.0 has been released, what are the thoughts on setting that as a fixed dependency for now (i.e., future development should work on OpenSceneGraph-2.0). With one of the latest patches to the plib branch in CVS, FlightGear still compiles with plib-1.8.4 which is included in many Linux distributions. I have a feeling that OSG 2 will soon be the version of OSG available in many Linux distributions. Having OSG support just _work_ would allow developers to focus on FlightGear without also having to keep up with the latest daily developments in OSG. I think this is an excellent suggestions, and to do otherwise will be to invite a *lot* of support headaches on ourselves when we finally do a release based on OSG. If the average user has OSG-2.0 (or the most recent release at the time) and we depend on features in CVS, we will make it very difficult for non-developers to get flightgear up and running on their systems. Our approach with plib is that if we absolutely must depend on something in cvs, we push the plib folks hard to get that into an official release first, then we cut over and allow our code to depend on it. This is not without headaches, but it's worked pretty well for us in the past. Regards, Curt. -- Curtis Olson - University of Minnesota - FlightGear Project http://baron.flightgear.org/~curt/ http://www.humanfirst.umn.edu/ http://www.flightgear.org Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Slew problem with Concorde and other JSBsim aircraft nearly solved
Olaf Flebbe wrote: Him If I remember correctly, Aerotro discovered these kind of bugs have been only in the WIndows/plib code (both in the build 1 supplied by Fred Bouvier and a build I offered a few weeks before). The OSG build seems to be fine. So I would suggest: The plib branch is broken. Cheers, Olaf Hey folks. It's time for me to be em-bare-assed. The pointmass problem was real... for an older version of the source (an issue for which I must have skipped the discussion). My problem wasn't that I had out-of-date source but that I wasn't getting my newly built executable in the right place. VC8 provides for post-build actions, such as copying your new executable to the proper place. I had studiously set that feature up to copy the exe to a stale directory. Please accept my apologies for wasting your time. -- Reagan Thomas CEAT Labs 323 Engineering North Oklahoma State University (405) 744-5735 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] OpenSceneGraph 2.0
On Fri, 2007-06-15 at 19:33 -0500, Curtis Olson wrote: On 6/15/07, Jonathan Wagner wrote: Just a thought for the rest of the list. Now that OpenSceneGraph-2.0 has been released, what are the thoughts on setting that as a fixed dependency for now (i.e., future development should work on OpenSceneGraph-2.0 ). With one of the latest patches to the plib branch in CVS, FlightGear still compiles with plib-1.8.4 which is included in many Linux distributions. I have a feeling that OSG 2 will soon be the version of OSG available in many Linux distributions. Having OSG support just _work_ would allow developers to focus on FlightGear without also having to keep up with the latest daily developments in OSG. I think this is an excellent suggestions, and to do otherwise will be to invite a *lot* of support headaches on ourselves when we finally do a release based on OSG. If the average user has OSG-2.0 (or the most recent release at the time) and we depend on features in CVS, we will make it very difficult for non-developers to get flightgear up and running on their systems. Our approach with plib is that if we absolutely must depend on something in cvs, we push the plib folks hard to get that into an official release first, then we cut over and allow our code to depend on it. This is not without headaches, but it's worked pretty well for us in the past. Regards, Curt. I must agree. I haven't had a working flightgear for about a month because OSG-SVN/head quit building for me. Ron - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel