Jump to content
  • Advertisement

Archived

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

Joppe

Changing to 16, 24-bit color.

This topic is 6060 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 have been programming directx for awhile now and I have books like Ian Parberry´s "game programming with dx 7.0" and André Lamothe´s "windows game programming". But these books only brings up 8-bit color modes. Now I want to use more colors. Is it very difficult to do this? Every advice would be nice. Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
No, infact my experience is that working with 16,24,32-bit modes is easyer then working with 8-bit modes In the book "Game programming for windows" of Andre Lamothe is explained how to use different color modes, he also provides you with a library for 16-bit color modes.

Share this post


Link to post
Share on other sites
dont use 24bit mode, its much slower then 16bit or 32bit (because memory accesses are not aligned). if you want speed use 16bit, if you want more colors use 32bit.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!