Colors of 0xffffff do not reflect correctly since the color values cannot go higher than 0xffffff. The solution is to not normalize the colors until they are read.
Normalization of colors should not occur until writing the scene to a file. The whole scene should be scanned for the largest color value, and then each individual pixel should be scaled based on that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1876946
Originator: NO
Normalization of colors should not occur until writing the scene to a file. The whole scene should be scanned for the largest color value, and then each individual pixel should be scaled based on that.