Your altitude must be computed as the average of the surrounding squares 
or the position on the sloping line between two points if you really 
want it to match the graphics.


On Thu, 7 Dec 2006 8:56 am, Antonio Almeida wrote:
> Hi!
>
> I've been working on a prototype flight simulator and I'm running into 
> an issue I have no idea how to solve, so I decided to ask here since 
> this very same problem might have been addressed in FlightGear.
>
> I want to model the landing of my aircraft. My problem lies in the 
> altitude data. The data I have to use is a pixel map, which means that 
> one "square" (which has around 100 meters side) has a certain value of 
> altitude and the adjacent "square" has a completely different value... 
> This means that if I try to land the aircraft in the border between two 
> squares... it will either fall down or crash against this "virtual 
> discontinuity"!
>
> I'm betting there's an obvious solution to this, but I'm out of 
> ideas!... Any suggestions?
>
> Thanks!
>
> Antonio
>
> DISCLAIMER: This message may contain confidential information or 
> privileged material and is intended only for the individual(s) named. 
> If you are not a named addressee and mistakenly received this message 
> you should not copy or otherwise disseminate it: please delete this 
> e-mail from your system and notify the sender immediately. E-mail 
> transmissions are not guaranteed to be secure or without errors as 
> information could be intercepted, corrupted, lost, destroyed, arrive 
> late or incomplete or contain viruses. Therefore, the sender does not 
> accept liability for any errors or omissions in the contents of this 
> message that arise as a result of e-mail transmissions. Please request 
> a hard copy version if verification is required. Critical Software, SA.

www.GlobalBoiling.com for daily images about hurricanes, globalwarming 
and the melting poles.

www.ElectricQuakes.com daily solar and earthquake images.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to