This is the code base for the BRDF alignment step of the LTC paper.
A link to the main research website which contains the original code as well as a javascript demo: https://eheitzresearch.wordpress.com/415-2/
The code in this repository does not drastically change the fitting process. It does include additional code for JSON and PNG formats.
###One small note
If you're having trouble compiling with the given makefile, you might need to download and install ImageMagick and GraphicsMagick. A simple brew install worked on my mac.
Full credit goes to the team at Unity for writing this code.
If you want the additional code for fitting an LTC to a MERL material type, refer to the merl branch of this repository.