Archived

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

Joppe

Changing to 16, 24-bit color.

Recommended Posts

Joppe    122
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
Rob Lemmens    122
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
a person    118
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