Page 2 of 4
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:00 pm
by nevon
chris-kun wrote:where am I putting the reset to white?
Right before you draw whatever it is that you don't want to have a tint. Do you think you could screenshot what it is you're doing?
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:05 pm
by Robin
I'm not sure what you mean. Is the screen shot below the same color as the line on your computer?
I made it by setting the background colour to the colour you used. It looks perfectly fine to me anyway.
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:09 pm
by chris-kun
- 2011-02-07-220630_1024x768_scrot.png (121.94 KiB) Viewed 3031 times
well here's what I see (just your simple pong
)
I realize the difference isn't that important in this specific situation, but it was a bit more pronounced on another computer, and I don't want color issues popping up later on.
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:16 pm
by tentus
chris-kun wrote:well here's what I see (just your simple pong
)
http://ompldr.org/vN2NkeQ
I realize the difference isn't that important in this specific situation, but it was a bit more pronounced on another computer, and I don't want color issues popping up later on.
I can't get that site to load, could you upload the screenshot to the forums? At the bottom of each reply page is an "Upload Attachment" tab, it works great and is generally considered good netiquette (since it is unlikely we're familiar with ompldr.org).
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:19 pm
by chris-kun
sorry the other forum I frequent likes links
. good to know, and edited my above message.
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:25 pm
by Robin
I checked it out, and it is pretty much exactly the right colour (well, R and G are one off, but that's literally unnoticeable). The fact is, it's not a very bright colour. If you want a brighter colour, use (0, 0, 255) for example (that is pure blue) or just add any red or green you want -- with a black background, white (255, 255, 255) works very good, and you can't get it any brighter.
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:29 pm
by chris-kun
lol I don't know what screenshot you're looking at, but that is most definitely more than "1" off, and this is on a computer where it's less pronounced. why should I have to use pure blue? are you saying love can't display simple colors correctly?
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:47 pm
by tentus
The color you mentioned before is 7996bf in hex, but shows as 7995bf in the screenshot you show. In other words, the G value is one off. I'm a little concerned by that, as a general kind of thing, but its not a huge problem, just an annoyance.
Here's an idea... add the alpha value to your pc table.
That'll ensure your not having transparency issues.
Edit: EMB already suggested that, I overlooked that. Could you repost your code in its entirety, so we all know where you are at this point?
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:50 pm
by chris-kun
already tried that, and as discussed above 255 is the default value used if none is presented.
Re: Newbie Color Question
Posted: Tue Feb 08, 2011 6:56 pm
by Robin
chris-kun wrote:lol I don't know what screenshot you're looking at, but that is most definitely more than "1" off, and this is on a computer where it's less pronounced. why should I have to use pure blue? are you saying love can't display simple colors correctly?
Does my screen shot look off to you to?
For me, those two are exactly the same colour.
tentus: 1 bit difference is not something you can see as a human.