All surface images in Insight3D are placed on the Earth where the edges of the image align with latitudinal and longitudinal lines and the top edge is north. Several customers have asked if they could map an image where that is not the case, where they have the latitude and longitude coordinates of each corner.
Fig. 1 shows an image captured from the viewpoint of a simulated UAV camera. While the image itself is exactly as it was, the image is not correctly positioned on the terrain. As mentioned, the image edges align with latitudinal and longitudinal lines.
| Fig. 1 |
In fig. 2, the image’s corners have been mapped from their original coordinates to their actual coordinates. One can tell that the camera took this image from the southwest.
| Fig. 2 |
This capability has been added to Insight3D’s Surface Mesh Primitive for our upcoming r8 release. I’ll wait until r8 is out to discuss the new interfaces and how this method differs from projecting an image onto the terrain.
In this post, I’ll discuss how we use OpenGL to remap the image of fig. 1 to that of fig. 2.