Jump to content
  • Advertisement
Sign in to follow this  
mazelle

How to render both screen aligned and 3d objects?

This topic is 3657 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I thought this was easy. It never was and I think my solution is bad. I'm using billboarded textures for screen aligned (i.e. HUD) objects within a 3D space. Any other more elegant way of doing this? I'm using DirectX by the way.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by mazelle
I thought this was easy. It never was and I think my solution is bad. I'm using billboarded textures for screen aligned (i.e. HUD) objects within a 3D space.

Any other more elegant way of doing this? I'm using DirectX by the way.
A typical solution is to switch to an orthographic projection for the purpose of rendering UI elements.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!