Jump to content

NASA WorldWind : PointPlacemark label is not hidden by the terrain


Recommended Posts

I am facing this problem where the label for the pointplacemark using the NASA worldwind API is not hidden behind terrain. The symbol hides but the label doesn't. It uses javax.media.opengl.GL and TextRenderer. If anyone has any idea about this problem, please share your views and do let me know if you need any other input.


You can see the problem in a similar thread at: http://forum.worldwindcentral.com/showthread.php?42600-PointPlacemark-label-is-not-hidden-by-the-terrain


I further found that TextRenderer renders label at screenposition(Vec4 : the projection of the place-point in the viewport (on the screen)), so thats why it does not consider elevation. Is there any other way of doing it so that it considers elevation and hides behind the terrain as the symbol does.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist