A 3D map labeling system places 2D labels at a depth that is unoccluded by the labeled 3D element of the 3D map but may be occluded by a different 3D element. The 3D map labelling system renders back faces of a 3D model into a Z-buffer. The system then renders a label at a predetermined depth and performs a Z-test by testing the predetermined depth of the label against the Z-buffer. The system uses the Z-test to identify the occluded and unoccluded pixels in the label and uses this information to hide labels behind occluding elements, or style them differently, for example, with transparency.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.