Sign in to follow this  

rendering UI

This topic is 4661 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 want to load in a .bmp image to be rendered as a user interface over my 3d scene. I was about to use something like System.Drawing.Bitmap.FromFile(@"Ui.bmp") but is there a better way? can you convert .bmp to .x and load as a mesh?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by dazscott
I want to load in a .bmp image to be rendered as a user interface over my 3d scene. I was about to use something like System.Drawing.Bitmap.FromFile(@"Ui.bmp") but is there a better way? can you convert .bmp to .x and load as a mesh?




You mean to use the BMP as an overlay (over the scene stuff on the screen)???

BTW a .x is a 3D mesh (object) and if you are thinking of loading a .x quad with your bmp as its texture, thats an overly complicated way to do it.
Look for 2D drawing methods (which now go thru the 3d interface).
You draw it last and use a transparency keycolor mode to let thru the dynamic parts.

Share this post


Link to post
Share on other sites

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

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