-
I tried to apply the MERL-BRDF dataset on mitsuba. I converted the binary file into a [90,90,180,3] matrix according to the dataset Readme file, but I don't know how to apply it on mitsuba. As a novice, this problem has troubled me for a long time. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Since there is no BSDF plugin intended to directly read the values from the MERL database (that I'm aware of), perhaps the easiest way would be to convert this data into the format expected by the https://mitsuba.readthedocs.io/en/stable/src/generated/plugins_bsdfs.html#measured-material-measured |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply!His solution gave me new ideas! |
Beta Was this translation helpful? Give feedback.
If the formats don't easily match, then indeed it might be best to use a dedicated custom plugin.
You could have a look at the plugin posted by @fzy28:
#1011 (comment) (see also the rest of the discussion in that thread)
Please make sure to check the license of the code with them before using it.