Complete diamond (cubic) index
MODIFY
ext/MitsubaLoader/CElementBSDF.cpp
ext/MitsubaLoader/CElementBSDF.cpp
@@ -167,7 +167,7 @@ CElementBSDF::AllConductor::AllConductor(const std::string& material) : RoughSpe
static const core::unordered_map<std::string, std::pair<SPropertyElementData,SPropertyElementData>, core::CaseInsensitiveHash, core::CaseInsensitiveEquals> NamedConductors =
{
#define SPECTRUM_MACRO(R,G,B,X,Y,Z) {SPropertyElementData(SPropertyElementData::Type::RGB,core::vectorSIMDf(R,G,B)),SPropertyElementData(SPropertyElementData::Type::RGB,core::vectorSIMDf(X,Y,Z))}
- {"a-C", SPECTRUM_MACRO(1.6855f, 1.065f, 1.727f, 0.0f, 0.009f, 0.0263f)}, // there is no "a-C", but "a-C:H, data from palik"
+ {"a-C", SPECTRUM_MACRO(1.6855f, 1.065f, 1.727f, 0.0f, 0.009f, 0.0263f)}, // there is no "a-C", but "a-C:H; data from palik"
{"Ag", SPECTRUM_MACRO(0.059481f, 0.055090f, 0.046878f, 4.1367f, 3.4574f, 2.8028f)},
{"Al", SPECTRUM_MACRO(1.3404f, 0.95151f, 0.68603f, 7.3509f, 6.4542f, 5.6351f)},
{"AlAs", SPECTRUM_MACRO(3.1451f, 3.2636f, 3.4543f, 0.0012319f, 0.0039041f, 0.012940f)},
@@ -182,8 +182,8 @@ CElementBSDF::AllConductor::AllConductor(const std::string& material) : RoughSpe
{"Cu_palik", SPECTRUM_MACRO(0.32000f, 1.04f, 1.16f, 3.15000f, 2.59f, 2.4f)},
{"Cu20", SPECTRUM_MACRO(2.975f, 3.17f, 3.075f, 0.122f, 0.23f, 0.525f)}, // out of range beyond 2.5 um refractiveindex.info and similar websites, so data applied is same as from palik's data
{"Cu20_palik", SPECTRUM_MACRO(2.975f, 3.17f, 3.075f, 0.122f, 0.23f, 0.525f)},
- //{"d-C", SPECTRUM_MACRO(,,, ,,)},
- //{"d-C_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"d-C", SPECTRUM_MACRO(2.4123f, 2.4246f, 2.4349f, 0.0f, 0.0f, 0.0f)},
+ {"d-C_palik", SPECTRUM_MACRO(2.4137f, 2.4272f, 2.4446f, 0.0f, 0.0f, 0.0f)},
{"Hg", SPECTRUM_MACRO(1.8847f, 1.4764f, 1.1306f, 5.1147f, 4.5410f, 3.9896f)},
{"Hg_palik", SPECTRUM_MACRO(1.850f, 1.460f, 1.100f, 5.100f, 4.600f, 3.990f)},
//{"HgTe", SPECTRUM_MACRO(,,, ,,)}, // lack of length wave range for our purpose https://www.researchgate.net/publication/3714159_Dispersion_of_refractive_index_in_degenerate_mercury_cadmium_telluride

Complete diamond (cubic) index