The following named material needs attention:
$ grep 'MakeNamedMaterial "Metal' ~/git/gitlab/rs-pbrt-test-scenes/pbrt/pbrt_vw_van/vw-van.pbrt -A 4
MakeNamedMaterial "Metal - Chrome"
"float roughness" [ 0.01 ]
"string type" [ "metal" ]
"spectrum k" "spds/Al.k.spd"
"spectrum eta" "spds/Al.eta.spd"
The two lines for "spectrum k" and "spectrum eta" will result in C++ calls to pbrt::ParamSet::AddSampledSpectrumFiles:
void ParamSet::AddSampledSpectrumFiles(const std::string &name,
const char **names, int nValues) {
...
}
We don't have a Rust counter part to that function (yet).