Jump to content
  • Advertisement
Sign in to follow this  
Daenyx

3D object on top of 2D Sprite/GUI

This topic is 2046 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!