Re: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
Jim, That's the Welsh Assembly Minister for E-commerce (government bloke). Regards Phil In message <[EMAIL PROTECTED]>, "Jim Wilson" <[EMAIL PROTECTED]> writes: > Both projects look very interesting. I've got only have one decidedly > irrelevant question. Phillip, I always thought that was you in these > pictures: http://www.flightgear.org/Projects/ALTAIR/ . But now I see: > http://www.aber.ac.uk/~dcswww/Admin/staff/HTML/prs94.html . So who is the > guy in the suit looking at Mars? > > Best, > > Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
Both projects look very interesting. I've got only have one decidedly irrelevant question. Phillip, I always thought that was you in these pictures: http://www.flightgear.org/Projects/ALTAIR/ . But now I see: http://www.aber.ac.uk/~dcswww/Admin/staff/HTML/prs94.html . So who is the guy in the suit looking at Mars? Best, Jim PHILLIP ROBERT SUMMERS <[EMAIL PROTECTED]> said: > Greg, > > Been there, done that...bit of a nightmare journey though. (See the pics > on the related projects web page (University of Wales, Aberystwyth). > > As for the constants/changes, most of them are in SimGear... from off > the top of my head the following should be enough to get correctly sized > scenery for Mars - (you'll need to make the simgear changes BEFORE running > or building TerraGear though - otherwise you'll get interesting effects > with height and terrain mapping) > > simgear/magvar/coremag.cxx > simgear/math/localconsts.hxx > simgear/constants.h > > > coremag: > > static const double a = 3394.0; /* Radius */ > static const double f = 1.0/154.409; /* Flattening parameter */ > static const double b = 3394.0 * (1.0-1.0/154.409); /* Minor radius */ > static const double r_0 = 3389.0; /* Mean radius */ > > > localconsts.hxx > > static const double FP = 0.0064763064; > static const double E = 0.99352369; > static const double EPS = 0.11362516; > static const double INVG = 0.8260263; > > constants.h > > #define SG_EARTH_RAD 3394.0 > #define SG_EQUATORIAL_RADIUS_FT 11135035 > #define SG_EQUATORIAL_RADIUS_M 3394000.00 > #define SG_EQ_RAD_SQUARE_FT 123989004451225 > #define SG_EQ_RAD_SQUARE_M 1.1519236e13 > > > You'll also have to modify your flight model of choice (we don't have > that problem as we use the Magic carpet for our work at the moment > so there is no flight model mod). But saying that, I have had > some success modifying Larcsim (just a couple of constants). If you > get seg faults when firing up the flight model you may want to check that > your precision on the above values (esp radius squared and radius) are correct > as I found a division by zero problem when I didn't have enough precision. > > Have fun > > Phil > > > In message <[EMAIL PROTECTED]>, > Greg Long <[EMAIL PROTECTED]> writes: > > > > > > One of the main goals we would like to work on is Martian terrain. I'm not > > sure how much of the Earth's parameters are hard coded, but I'm imagining > > it shouldn't be TOO difficult to produce Mars scenery for the sim. I have > > done it a little bit with MS's Flight Sim, and the initial results were > > impressive - and FUN. I'm imagining a current Martian atmosphere, as well > > as a hypothetical post-teraformed Mars. Please feel free to read what I > > have done so far at: > > > ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
In message <[EMAIL PROTECTED]>, Greg Long <[EMAIL PROTECTED]> writes: > OK, NOW we're talking - do you have any of that more precise data you could > avail derived from the PEDR files? (Did you generate your own EGDR?) the > 1/64 EGDR data is 506mb as I recall - yours would be close to 2gb. > The process went roughly like this:- download all PEDR TAB files (took a couple of days) Convert from binary to ascii (easier to work with) (3 hours) Sort into lattitude/longitude (24 hours) Combine all the data to produce 1x1 degree files for the whole surface (48hr) Interpolate across all the files to give a 30 arc second regular grid (1wk) Convert each 1x1 degree interpolated file into a 30 arc second DEM (48hr) Run Terragear (4 days) The final flightgear scenery is about 15gigs. It must be said though, there are some bad orbits in the mola data which show up as obvious lines across the globe following the orbital path - we're working on a way of removing them. Phil ** * Phil Summers MEng, * "Getting right to the * * Computer Science Dept* heart of matters...* * University of Wales, Aberystwyth * It's the heart that* * [EMAIL PROTECTED] * matters more" * ** * Tel: +44 (0)1970 621528* * Fax: +44 (0)1970 622455* * WWW: http://users.aber.ac.uk/prs94 * ** ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
OK, NOW we're talking - do you have any of that more precise data you could avail derived from the PEDR files? (Did you generate your own EGDR?) the 1/64 EGDR data is 506mb as I recall - yours would be close to 2gb. I was in the proccess of downloading the PEDR's - and actually am about halfway there, but I put it on hold temporarily due to dwindling blank CD-R media on hand. Extremely useful information, will stash it away - certainly a preliminary step is to become familiar enough with the existing code first. Nice headsup on the flight model - sounds like another area where "Flat Earth Thinking Falls Flat" Will check out your page tomorrow, It's the middle of the night here, and I'm headed back to bed. Greg [EMAIL PROTECTED] [EMAIL PROTECTED] On 2002.03.18 02:34 Phil Summers wrote: > > It might also be worth saying that our terrain data was produced from > the raw PEDR tab file data (A 14gig download I think) and interpolated > to 30 arc seconds (i.e. about 1/120 degree), jeez that took a while > (just the terragear stage took 4 days on a 20 processor Sparc enterprise > and 30 Sparc 5's!!) > > > Phil > > ** > * Phil Summers MEng, * "Getting right to the * > * Computer Science Dept* heart of matters...* > * University of Wales, Aberystwyth * It's the heart that* > * [EMAIL PROTECTED] * matters more" * > ** > * Tel: +44 (0)1970 621528* > * Fax: +44 (0)1970 622455* > * WWW: http://users.aber.ac.uk/prs94 * > ** > > > > ___ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
It might also be worth saying that our terrain data was produced from the raw PEDR tab file data (A 14gig download I think) and interpolated to 30 arc seconds (i.e. about 1/120 degree), jeez that took a while (just the terragear stage took 4 days on a 20 processor Sparc enterprise and 30 Sparc 5's!!) Phil ** * Phil Summers MEng, * "Getting right to the * * Computer Science Dept* heart of matters...* * University of Wales, Aberystwyth * It's the heart that* * [EMAIL PROTECTED] * matters more" * ** * Tel: +44 (0)1970 621528* * Fax: +44 (0)1970 622455* * WWW: http://users.aber.ac.uk/prs94 * ** ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
Greg, Been there, done that...bit of a nightmare journey though. (See the pics on the related projects web page (University of Wales, Aberystwyth). As for the constants/changes, most of them are in SimGear... from off the top of my head the following should be enough to get correctly sized scenery for Mars - (you'll need to make the simgear changes BEFORE running or building TerraGear though - otherwise you'll get interesting effects with height and terrain mapping) simgear/magvar/coremag.cxx simgear/math/localconsts.hxx simgear/constants.h coremag: static const double a = 3394.0; /* Radius */ static const double f = 1.0/154.409; /* Flattening parameter */ static const double b = 3394.0 * (1.0-1.0/154.409); /* Minor radius */ static const double r_0 = 3389.0; /* Mean radius */ localconsts.hxx static const double FP = 0.0064763064; static const double E = 0.99352369; static const double EPS = 0.11362516; static const double INVG = 0.8260263; constants.h #define SG_EARTH_RAD 3394.0 #define SG_EQUATORIAL_RADIUS_FT 11135035 #define SG_EQUATORIAL_RADIUS_M 3394000.00 #define SG_EQ_RAD_SQUARE_FT 123989004451225 #define SG_EQ_RAD_SQUARE_M 1.1519236e13 You'll also have to modify your flight model of choice (we don't have that problem as we use the Magic carpet for our work at the moment so there is no flight model mod). But saying that, I have had some success modifying Larcsim (just a couple of constants). If you get seg faults when firing up the flight model you may want to check that your precision on the above values (esp radius squared and radius) are correct as I found a division by zero problem when I didn't have enough precision. Have fun Phil In message <[EMAIL PROTECTED]>, Greg Long <[EMAIL PROTECTED]> writes: > > One of the main goals we would like to work on is Martian terrain. I'm not > sure how much of the Earth's parameters are hard coded, but I'm imagining > it shouldn't be TOO difficult to produce Mars scenery for the sim. I have > done it a little bit with MS's Flight Sim, and the initial results were > impressive - and FUN. I'm imagining a current Martian atmosphere, as well > as a hypothetical post-teraformed Mars. Please feel free to read what I > have done so far at: > ** * Phil Summers MEng, * "Getting right to the * * Computer Science Dept* heart of matters...* * University of Wales, Aberystwyth * It's the heart that* * [EMAIL PROTECTED] * matters more" * ** * Tel: +44 (0)1970 621528* * Fax: +44 (0)1970 622455* * WWW: http://users.aber.ac.uk/prs94 * ** ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
David Megginson writes: > Curtis L. Olson writes: > > > That's one valid knock against Linux in general ... knowing how to > > admin one distribution doesn't necessarily help you a bit with other > > distributions. > > That's a bit of an exaggeration. There are quirks -- Debian uses > /etc/rc?.d while RedHat adds another level, or example -- but the > distros are 99% the same; it's just that we notice the parts that are > not. Depends what you are doing. You weren't there to see my trying to upgrade ssh on a mandrake box a month ago ... I ended up deciding it wasn't worth the pain involved. :-) Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities[EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
Curtis L. Olson writes: > That's one valid knock against Linux in general ... knowing how to > admin one distribution doesn't necessarily help you a bit with other > distributions. That's a bit of an exaggeration. There are quirks -- Debian uses /etc/rc?.d while RedHat adds another level, or example -- but the distros are 99% the same; it's just that we notice the parts that are not. All the best, David -- David Megginson [EMAIL PROTECTED] ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
RE: [Flightgear-devel] Getting settled in my new "home" / Mars Scenery
> One of the main goals we would like to work on is Martian > terrain. I'm not > sure how much of the Earth's parameters are hard coded, but I'm imagining > it shouldn't be TOO difficult to produce Mars scenery for the sim. I have > done it a little bit with MS's Flight Sim, and the initial results were > impressive - and FUN. I'm imagining a current Martian atmosphere, as well > as a hypothetical post-teraformed Mars. Please feel free to read what I > have done so far at: > > http://internet.oit.edu/~longg/gotmars.html -- interest / feedback? > > The Mars angle is not my only interest of course, I'm sure I can be of use > in other areas. This is cool. We made some changes in JSBSim a few months ago to support different planetary flight simulations. Somewhere around here I have the code for the Mars Global Reference Atmosphere Model (Mars-GRAM) in Fortran. Gravity terms in JSBSim are retrieved via a function call, now, which could be modified for any planetary body. There are other affected parameters, as well, but the hooks are there for "someday" when that feature filters to the top of the programming queue. Jon ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel