Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMethods in linking C source code with C++ code Pin
searcher083-Oct-06 7:20
searcher083-Oct-06 7:20 
AnswerRe: Methods in linking C source code with C++ code Pin
Waldermort3-Oct-06 9:05
Waldermort3-Oct-06 9:05 
QuestionRe: Winsock2 problem Pin
searcher083-Oct-06 17:49
searcher083-Oct-06 17:49 
AnswerRe: Winsock2 problem Pin
Hamid_RT3-Oct-06 18:48
Hamid_RT3-Oct-06 18:48 
QuestionOne class with Multiple IDDs (is this possible) Pin
kitty53-Oct-06 6:35
kitty53-Oct-06 6:35 
AnswerRe: One class with Multiple IDDs (is this possible) Pin
cje3-Oct-06 10:30
cje3-Oct-06 10:30 
AnswerRe: One class with Multiple IDDs (is this possible) Pin
David Crow3-Oct-06 11:14
David Crow3-Oct-06 11:14 
QuestionWorking with colors Pin
shoelace3-Oct-06 5:32
shoelace3-Oct-06 5:32 
I am working with RGB colors and am looking for some info on how to perform color manipulation.

Some of the tasks I am trying to accomplish are the following
+Blend two or more colors together to get resulting color from combining 'n' colors.
+Lighten a color so that it looks equivalent to a light source.
+Blend a light source with an object's color to get an approximate color of what the colored object would look like under that light source.

I'm not interested in making images, just in getting a color value compatible with RGB. I'm familiar with the additive and subtractive properties of light and objects as there is ample information regarding light as additive and colored pigments as subtractive on google. Unfortunately, I don't know how to convert that information into the raw utilization of RGB numbers and values and have been unable to find any information or resources on how this might be accomplished.

My goal is to be able to paint a simple rectangle given the RGB light source and the RGB background color and create a new color representative of how the color will look under that colored light.

Thanks

AnswerRe: Working with colors Pin
Chris Losinger3-Oct-06 8:04
professionalChris Losinger3-Oct-06 8:04 
QuestionHow to get en exe default icon Pin
Kharfax3-Oct-06 4:45
Kharfax3-Oct-06 4:45 
QuestionRe: How to get en exe default icon Pin
David Crow3-Oct-06 4:48
David Crow3-Oct-06 4:48 
AnswerRe: How to get en exe default icon Pin
Kharfax3-Oct-06 4:53
Kharfax3-Oct-06 4:53 
AnswerRe: How to get en exe default icon, more problems :S Pin
Kharfax3-Oct-06 5:34
Kharfax3-Oct-06 5:34 
QuestionRe: How to get en exe default icon, more problems :S Pin
David Crow3-Oct-06 5:54
David Crow3-Oct-06 5:54 
AnswerRe: How to get en exe default icon, more problems :S Pin
Kharfax3-Oct-06 6:18
Kharfax3-Oct-06 6:18 
AnswerRe: How to get en exe default icon, more problems Pin
James R. Twine3-Oct-06 6:44
James R. Twine3-Oct-06 6:44 
GeneralRe: How to get en exe default icon, more problems Pin
toxcct3-Oct-06 6:59
toxcct3-Oct-06 6:59 
GeneralRe: How to get en exe default icon, more problems :S Pin
David Crow3-Oct-06 6:59
David Crow3-Oct-06 6:59 
GeneralRe: How to get en exe default icon, more problems :S Pin
Kharfax3-Oct-06 7:13
Kharfax3-Oct-06 7:13 
GeneralSemi Solved Pin
Kharfax3-Oct-06 7:59
Kharfax3-Oct-06 7:59 
QuestionRe: Semi Solved Pin
David Crow3-Oct-06 8:44
David Crow3-Oct-06 8:44 
AnswerRe: Semi Solved Pin
Kharfax3-Oct-06 8:53
Kharfax3-Oct-06 8:53 
GeneralRe: Semi Solved Pin
Hamid_RT4-Oct-06 7:56
Hamid_RT4-Oct-06 7:56 
GeneralRe: Semi Solved Pin
Kharfax4-Oct-06 8:00
Kharfax4-Oct-06 8:00 
AnswerRe: How to get en exe default icon Pin
Nisamudheen3-Oct-06 20:26
Nisamudheen3-Oct-06 20:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.