Jump to content
  • Advertisement

Archived

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

jocke

RGB colors

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

Does DX7 have any functions for building up and reading RBG color based on the pixelformat on a surface?

Share this post


Link to post
Share on other sites
Advertisement
I don''t think there is. The tutorial says to use GDI functions (eck). I just wrote my own function. I didn''t fully test it, but it seems to work.

For a good time hit Alt-F4! Go ahead try it, all the cool people are doing it.

Share this post


Link to post
Share on other sites
Did you look in the gamedev resources. There are a few documents that deal with 16bit color. Go to the Direct X API Section under direct draw. I think that''s what you''re looking for.

http://www.gamedev.net/reference/articles/article541.asp

http://www.gamedev.net/reference/articles/article863.asp

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!