Template-Based Sampling of Anisotropic BRDFs