07.03.2005, 23:07:51
(This post was last modified: 23.03.2005, 19:29:56 by Bobingabout.)
currently, the remap colour on a player is stored as HSB(hue, Saturation, brightness) where the colour of the square on the menu is in BGR(RGB backwards). easyest way for PD to implement it would be for a seperate list where you specify an RGB number.
so i made HSB2RGB.
also, hunt7s sugested that it would also be great to do the reverse, RGB2HSB to convert an RGB value to HSB so you can easily make new colours.
yes, this does use the demented YR version, not the normal version in paint or psp.
but here is the fun part since I've got the code that uses something simular to how YR converts it, either it will help him find the subroutine in YR, or he will be able to copy the math part of my program into YR to convert for you so you don't need that list.
its not 100% accurate, more like 99.5% but isn't that close enough?
all i need now os someone to convert it from MS-DOS C++ to Visual C++ for a windows application.
let me know if you willing to take up the job.
so i made HSB2RGB.
also, hunt7s sugested that it would also be great to do the reverse, RGB2HSB to convert an RGB value to HSB so you can easily make new colours.
yes, this does use the demented YR version, not the normal version in paint or psp.
but here is the fun part since I've got the code that uses something simular to how YR converts it, either it will help him find the subroutine in YR, or he will be able to copy the math part of my program into YR to convert for you so you don't need that list.
its not 100% accurate, more like 99.5% but isn't that close enough?
all i need now os someone to convert it from MS-DOS C++ to Visual C++ for a windows application.
let me know if you willing to take up the job.