This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASTC encoder: why not least square and fitting error included

My question is about "compute_ideal_colors_and_weight_1plane" in astc encoder , it computes a color line to fitting the texels in blocks, but it doesn't use the least squal method to fit the texels , instead it use the average color and dominant directions. I guess the least square method will get less fitting errors , am I right?  and I also found the fitting errors is not included in the mode selection, instead it use the color line weight as the ideal weight which error is 0, but actually it has included different fitting error.

Thanks for reading