Helo ,
i need an image 200-0-255 for special use. I make the following code:
Code:
im_ = new Image;
im_.get()-allocateImage(WIDTH_CAM , HEIGHT_CAM, 1 , GL_RGB, GL_UNSIGNED_BYTE);
unsigned int r = 200;
unsigned int g = 0;
unsigned int b = 255;
std::cout Color for background : r g b
On 22/10/10 18:41 , Anthony Face wrote:
i need an image 200-0-255 for special use. I make the following code:
...
im_ = new Image;
im_.get()-allocateImage(WIDTH_CAM , HEIGHT_CAM, 1 , GL_RGB,
GL_UNSIGNED_BYTE);
unsigned int r = 200;
unsigned int g = 0;
unsigned int b = 255;
std::cout
Thanks for your answer...
I just forgot to netral color on objets witch used this texture and it take
something like 204-204-204 unsted of 0 0 0
now its works ...
Thanks you
(http://www.hordes.fr?ref=litllechicken)
--
Read this topic online here:
3 matches
Mail list logo