Re: [Flightgear-devel] Compute ground elevation dynamically for STG format

2012-08-26 Thread Clement de l'Hamaide
Hi, I changed my technical solution in order to use the technical solution proposed by Mathias. I hope this git diff is more adapted : http://pastebin.com/30GD4ksE As you can see the parser is ready, I have tested with modified STG file and it works. Now I just need to implement the ground

Re: [Flightgear-devel] Compute ground elevation dynamically for STG format

2012-08-26 Thread Mathias Fröhlich
Hi, On Sunday, August 26, 2012 11:20:38 Clement de l'Hamaide wrote: I changed my technical solution in order to use the technical solution proposed by Mathias. I hope this git diff is more adapted : http://pastebin.com/30GD4ksE This looks much better. And I think you agree that it is much

Re: [Flightgear-devel] Compute ground elevation dynamically for STG format

2012-08-26 Thread Clement de l'Hamaide
Yes of course your solution is more easier ;) As said I'm not a great programmer but at least I try to do something. I'm not a simple asker who say Please do it for me I try to involve myself with my little and insufficient skills but at least I do something. I saw that you commited the

Re: [Flightgear-devel] Compute ground elevation dynamically for STG format

2012-08-25 Thread Clement de l'Hamaide
Hi Mathias, I understand that the fact to compute the elevation every time scenery is loaded is not a way to improve loading time. X-Plane give the possibility to compute the elevation of an object, FSX do the same, and FlyLegacy do the same. Only FG require absolutely the elevation of

Re: [Flightgear-devel] Compute ground elevation dynamically for STG format

2012-08-24 Thread Mathias Fröhlich
Hi, Hmm, I am not sure if we want this. It's really a few lines code thing to implement above ground placing of objects. The point is that this is a task that could be done once when the model is integrated into a scene. So, why the hell should we do that *every* time the scene is loaded?