Initial commit for the new and complete Kubelka-Munk algorithm. It uses a pregenerated
matrix and the Simplex Method to calculate a realistic reflectance curve for the current colors. Using the generated curves, we calculate K and S values for each wavelenght, and then a linear combination of these values bring us to the final, realistically acceptable final color. It's slow right now because the Simplex Method is used too often. I'm going to implement a Kis(Ko?)Reflectance10ColorSpace to accelerate the process. One Algorithm to rule them all! svn path=/trunk/koffice/; revision=689957
Showing with 225 additions and 138 deletions
This diff is collapsed.