Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

critical

head up display

This topic is 5223 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 display a hud in my d3d game, what is the best way to display these graphics? billboarding? or is there another way? [edited by - critical on March 1, 2004 1:36:17 AM]

Share this post


Link to post
Share on other sites
Advertisement
Personally I would use the ID3DXSprite interface. It supports screen coordinates, alpha blending and it''s fast and simple to use.

Share this post


Link to post
Share on other sites
quote:
Original post by Fidelio66
Personally I would use the ID3DXSprite interface. It supports screen coordinates, alpha blending and it''s fast and simple to use.
I second that. That AndyPike tutorial was written for DX8, before ID3DXSprite was created. The sprite interface is much easier that doing all that other stuff. It probably will take less than 15 lines of code for you to get a bitmap rendering on-screen (and simple lines of code, none of those real complex ones).


Dustin Franklin
Mircrosoft DirectX MVP

Share this post


Link to post
Share on other sites
yesterday at home ive done this the way mentioned in this andypike tutorial, its working... but when you tell me a sprite is better way to do this, is it also faster?? and are there also tutorials on this?

Share this post


Link to post
Share on other sites
Sprites are VERY easy to use, its basically a quad wrapped up all nice for yah, id use it, on my mid- high end machine and quite a few sprites, im getting ~ 6000 fps, another plus is you can rotate them very easily, so you could create some cool animated hud effects with that and the scaling ability, look on msdn, its pretty self explanitory
-Dan

Share this post


Link to post
Share on other sites

  • 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!