Added a TinyGL::getMesh method. Changed the mesh and shader maps to private attributes
The x / (x + y + z) rescaling is wrong. It projects the CIEXYZ spectrum on the X + Y + Z = 1 plane. Must fix this bug.
Renamed the CIExyzMesh to CIEMesh
Created a function to generate a CIEXYZ point given a beta spectrum, illuminant spectrum and xbar, ybar and zbar.
trying to generate the points at the border of the spectrum
Still trying to find the bounding volume
Still on the same problem
Added the function createCIEXYZPureSource. This function returns the CIEXYZ coordinates given a xyzbar vector and an illuminant spectrum.
I think I got it right this time. The CIEXYZ mesh is ready and properly projected on the reference white plane.
Testing the XYZ to Lab conversion
Rescaling the Lab mesh to fit in the window. Must fix the colors since they are the same as the vertex coordinates. Fixing the indexing of the CIEMesh class to connect the vertices as triangles.
Finished the CIEXYZ mesh index vector.
Changed the axis colors and some interface controls.
Added the sRGB colorspace point cloud and mesh