Dynamic shading based on fly through altitude

John Horrigan
Global Mapper User
Good morning everyone. Disclaimer here, I am new to GM scripting and development, though fairly comfortable with other platforms. That said, I may be asking something that is ridiculously simple or beyond the unreasonable/impossible.
As part of flight path reconstruction and fly through, I would like to identify terrain clearance in relation to the current altitude on the flight path, Stuff that is below by a certain amount, green or unshaded, stuff nearer to the flight path a different color, and terrain above the flight path in something like red.
The problem is that the terrain shading will change point by point in a climb or descent. I realize this has the potential for huge computational loads. The question though is, can it be done at all?
Thanks
John
As part of flight path reconstruction and fly through, I would like to identify terrain clearance in relation to the current altitude on the flight path, Stuff that is below by a certain amount, green or unshaded, stuff nearer to the flight path a different color, and terrain above the flight path in something like red.
The problem is that the terrain shading will change point by point in a climb or descent. I realize this has the potential for huge computational loads. The question though is, can it be done at all?
Thanks
John
Answers
-
Hello John,
Can I get a little more info on your workflow? Are you looking to do this in the application or are you planning on making your own application to do this?
Thanks,
Aaron -
Hi Aaron. Thanks for your reply. My preference is to do this within GM. I don't (yet) have a developer licence, so at this point scripting is it.
In essence, I have a 3D flight path (lat, long, abs altitude) and I would like to use that absolute altitude as a determinant for a shader. Not sure if that helps, just let me know.
John
-
John,
I moved this discussion to the GM Script Language category You might find some more relevant help here.
- Aaron -
Thank you!
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 829 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 179 Announcement and News
- 922 Bug Report
- 559 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 573 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website