Go Back   Winamp & SHOUTcast Forums > Search Forums

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: Montana
Forum: AVS 12th May 2003, 10:29
Replies: 272
Views: 188,443
Posted By Montana
hsv to rgb, fast version init:...

hsv to rgb, fast version

init: tpi=acos(-1)*2; pit=tpi/6; tpit=pit*2;
pixel:
sat2=sat*0.5; hue2=hue*tpi;
red=abs(sin(hue2))*sat2+lum;
green=abs(sin(hue2+pit))*sat2+lum; ...
Showing results 1 to 1 of 1

 
Forum Jump