[osg-users] color not the good one -_-

2010-10-22 Thread Anthony Face
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

Re: [osg-users] color not the good one -_-

2010-10-22 Thread Ulrich Hertlein
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

Re: [osg-users] color not the good one -_-

2010-10-22 Thread Anthony Face
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: