Posted By: Scorpion
pixel_to_vec returns wrong color - 03/16/08 15:26
hello,
I played around with pixel_to_vec a bit and I found out, that I alwas returns 0 at the blue chanel, red and green behave normally.
This lines(in a loop) for example give me a yellow picture:
Code:
Cheers
Scorpion
I played around with pixel_to_vec a bit and I found out, that I alwas returns 0 at the blue chanel, red and green behave normally.
This lines(in a loop) for example give me a yellow picture:
Code:
vec_set(pixelColor,vector(255,255,255));
pixel = pixel_for_vec(pixelColor,100,format);
pixel_to_bmap(outputBMP,x,y,pixel);
Cheers
Scorpion