Sign in to follow this  
Daenyx

3D object on top of 2D Sprite/GUI

Recommended Posts

Daenyx    104

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
MichaelNIII    195
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this