Advertisement

get RGB value on screen?

Started by January 21, 2003 10:09 PM
0 comments, last by binium 22 years, 1 month ago
I want to draw objects onto the some place on the background that has a certen RGB value. I use GetPixel(hWnd, x, y) to get the rgb value. But the result is wired. Could you recommend other ways to test a RGB of a point on the screen? Thanks!!
ya everything with getPixel and ReadPixel is wierd. I''m using ReadPixel in the initilize part of my engine and it does a lot of wacky things. I did so talking to people and everyone seems to say it is just wierd. So anyhow. One person said to use the fulstrum and xyz to calculate the pixels yourself. But it seemed like it would be pretty slow. oh well.

Like, you don''t get to shoot anyone. And where are all the nude women!
Like, you don't get to shoot anyone. And where are all the nude women!

This topic is closed to new replies.

Advertisement