Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

32 bit pixels

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 +AA_970+   Members   

122
Like
Likes
Like

Posted 17 January 2000 - 03:41 AM

I''ve written a routine to plot pixels but the colors don''t come out right (i used the RGB macro). I went throught the articles in the programming section and i think i have to convert the RGB values to color values, but all the articles i deal with 16 bit pixels, i need to know how to get the color value for 32 bit pixels. So, can anyone tell me how to convert and RGB value to a color value for a 32 bit pixel.

#2 +AA_970+   Members   

122
Like
Likes
Like

Posted 17 January 2000 - 04:06 AM

Nevermind i got some code to do it in this article

http://www.gamedev.net/reference/programming/directx/article588.asp




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.