ChiselsAndBits / FlatColoredBlocks

A Minecraft mod about building with vast quantities of colored blocks.
http://minecraft.curseforge.com/projects/flat-colored-blocks
MIT License
20 stars 13 forks source link

Can't get an even distribution of hues, saturations, or values #64

Closed pressRtowin closed 5 years ago

pressRtowin commented 5 years ago

Have the exponent setting set to 1 for everything. I account for the fact that both the min and max are used and are using shade counts that should produce nice numbers. 26 (25+1) shades for saturation should produce 0, 4, 8, 12, 16, etc. but they don't. The numbers are all over the place. 145 shades for hue should produce 0, 2.5, 5, 7.5, 10, etc. but they don't. Am I doing something wrong?

AlgorithmX2 commented 5 years ago

The internals of the mod are not designed for accuracy, because of some conversions and storage of how some values are stored and worked with trying to get perfectly accurate shades is not likely. The mod is designed to simply give a versatile array of colors, by the time I realized that this representation problem existed it was past the point of no return, already released and used by thousands of players.