franck-ohayon-sb / libsquish

Automatically exported from code.google.com/p/libsquish
MIT License
0 stars 0 forks source link

Error in principle component estimation #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
An issue was reported on NVTT that should also affect libsquish:

http://code.google.com/p/nvidia-texture-tools/issues/detail?id=120

The code to compute principle components does not always converge, in
particular, when the principle component is perpendicular to (1, 1, 1). A
simple workaround is to use the largest vector of the covariance matrix as
the initial estimate.

A quick fix is here:

http://code.google.com/p/nvidia-texture-tools/source/detail?r=1057

Original issue reported on code.google.com by cast...@gmail.com on 19 Apr 2010 at 6:48