I went ahead and updated the alpha in the color management generation of blackbody/wavelength to 1.0 after checking existing references of the functions and determining that alpha was previously…
I feel like a good course of action would be to correct the naming of the IMB_colormanagement_blackbody_temperature_to_rgb_table
(and single/wavelength functions) to "rgba" and possibly discuss…
It is a vec4, this is the format that IMB_colormanagement_wavelength_to_rgb_table already assumes. The naming of the original function seems misleading.
I changed it to a more explicit c array reference similar to the copy_v3_v3 code. The original code set alpha to zero using r_table[i * 4 + 3] = 0.0f;
this just replicates current behavior.…
For the average user of 3D software they will only ever use location, rotation, and scale. Decomposing is lossy with rotation and scale, therefore not ideal for storing those values to retrieve…
I would personally recommend against going this route and instead present the user with the abstract concept of a transform. Matrices are lossy and can be easily deformed in a way that causes bugs…