Jump to content
  • Advertisement
Sign in to follow this  
Daenyx

3D object on top of 2D Sprite/GUI

This topic is 1870 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

hello everyone,

 

I would like to ask you guys about having a 3D object on top of a 2D Sprite (e.i. minecraft's inventory page where it shows your skin on the top left). I'm using DirectX 9 on Windows 7. There might be a right name for and it in that case, please let me know.

 

Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
You could set a surface as a render surface, and then draw the 3d image onto it, then you transform the surface and render it in 2d to where you want it to be. Use a different surface for your 3d world etc. I havnt played minecraft - they could just be using prerendered sprites if the animations it does are fairly simple.

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!