Replace ocean with color or texture
Hello, I’m rather new to GM.
I have georeferenced aerial photos that contains a lot of ocean. I also have height data for the same areas. Is it possible to replace all photos below a threshold (say 0.1 meters) with a generic color or tiled texture?
We are using the data in a game engine where we stream in the texture tiles based on camera location, and we also have underwater seabed which currently is colored with ocean photos. I would like to replace the photos of the ocean with a generic color. Because of the varying color of the ocean in the photos I can’t just select based on color, which is why I was hoping to use the heightdata as a “mask”.
Hope this makes sense, any help is appreciated.
Tagged:
Answers
-
Try using the create single contour feature with your height data and select to 'create area features' using 0 or 0.1 as an elevation. This should produce a 'mask' like feature.
-
How would I go about actually applying this result as a "mask"?
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