Closed mattngc closed 5 years ago
The demos I added in 6f6856e4e1d5bd30a5b14ad8f127841a96c463ec create plots like these:
Reviewed this code with @CnlPepper. We agreed that the overall concept and demos look great. However we don't want to expose these methods at the Material interface level because we expect further API changes in future. Agreed instead to just implement this on the ContinuousBSDF material. All other implementations will be removed.
Made all changes request by @CnlPepper.
Adding some draft code for a evaluate_BRDF() interface method. Although I agree it would be better to go for the full materials refactor, I would argue this is currently a long way away. Our users often ask me about this feature and I think its essential for their work. Its also possible to pull back the amount of changes here and just limit this new function to the rough metals, as thats were all the requests are.