Plotting CMYK color space as 3D color solid
问题 I am using the following POV-Ray loop to plot sRGB coordinates in other color spaces. The loop only generates points along the outer surface, and then connects them with triangles. Since the sRGB space is a sort of twisted cube, that means 6 outer faces and 8 vertices. #macro cie_calc_gamut_xyz_srgb() #for (i, 0, cie_sample_count_srgb) #for (j, 0, cie_sample_count_srgb) // side 0 & 3 #local cooRGB = <i/cie_sample_count_srgb,j/cie_sample_count_srgb,0>; #local cooXYZ = cie_convRGB2XYZ(cooRGB);