Complete IoR table
Can't find anything about "d-C"
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(,,, ,,)},
+ {"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)},
@@ -176,55 +176,55 @@ CElementBSDF::AllConductor::AllConductor(const std::string& material) : RoughSpe
{"Be", SPECTRUM_MACRO(3.3884f, 3.2860f, 3.1238f, 3.1692f, 3.1301f, 3.1246f)},
{"Be_palik", SPECTRUM_MACRO(3.46f, 3.30f, 3.19f, 3.18f, 3.18f, 3.16f)},
{"Cr", SPECTRUM_MACRO(3.2246f, 2.6791f, 2.1411f, 4.2684f, 4.1664f, 3.9300f)},
- {"CsI", SPECTRUM_MACRO(1.7834f, 1.7978f, 1.8182f, 0.0f, 0.0f, 0.0f)}, // note it's a crystall, so there is no extinction
+ {"CsI", SPECTRUM_MACRO(1.7834f, 1.7978f, 1.8182f, 0.0f, 0.0f, 0.0f)},
{"CsI_palik", SPECTRUM_MACRO(1.78006f, 1.79750f, 1.82315, 0.0f, 0.0f, 0.0f)},
{"Cu", SPECTRUM_MACRO(0.32075f,1.09860f,1.2469f, 3.17900f,2.59220f,2.4562)},
{"Cu_palik", SPECTRUM_MACRO(0.32000f, 1.04f, 1.16f, 3.15000f, 2.59f, 2.4f)},
- //{"Cu20", SPECTRUM_MACRO(,,, ,,)},
- //{"Cu20_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"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(,,, ,,)},
{"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
- //{"HgTe_palik", SPECTRUM_MACRO(,,, ,,)},
+ //{"HgTe_palik", SPECTRUM_MACRO(,,, ,,)}, // the same in palik (wavelength beyond 2 um)
{"Ir", SPECTRUM_MACRO(2.4200f, 2.0795f, 1.7965f, 5.0665f, 4.6125f, 4.1120f)},
{"Ir_palik", SPECTRUM_MACRO(2.44f, 2.17f, 1.87f, 4.52f, 4.24f, 3.79f)},
{"K", SPECTRUM_MACRO(0.052350f, 0.048270f, 0.042580f, 1.6732f, 1.3919f, 1.1195f)},
{"K_palik", SPECTRUM_MACRO(0.0525f, 0.0483f, 0.0427f, 1.67f, 1.39f, 1.12f)},
{"Li", SPECTRUM_MACRO(0.14872f, 0.14726f, 0.19236f, 2.9594f, 2.5129f, 2.1144f)},
- //{"Li_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"Li_palik", SPECTRUM_MACRO(0.218f, 0.2093f, 0.229f, 2.848f, 2.369f, 2.226f)},
{"MgO", SPECTRUM_MACRO(1.7357f, 1.7419f, 1.7501f, 0.0f, 0.0f, 0.0f)},
- //{"MgO_palik", SPECTRUM_MACRO(,,, ,,)},
- {"Mo", SPECTRUM_MACRO(0.76709f, 0.57441f, 0.46711f, 8.5005f, 7.2352f, 6.1383f)},
- //{"Mo_palik", SPECTRUM_MACRO(,,, ,,)},
- //{"Na_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"MgO_palik", SPECTRUM_MACRO(1.7355f, 1.7414f, 1.74975f, 0.0f, 0.0f, 1.55f)}, // Handbook of optical constants of solids vol 2 page 951, weird k compoment alone, no measurements and resoults
+ {"Mo", SPECTRUM_MACRO(0.76709f, 0.57441f, 0.46711f, 8.5005f, 7.2352f, 6.1383f)}, // https://refractiveindex.info/?shelf=main&book=Mo&page=Werner comparing with palik - weird
+ {"Mo_palik", SPECTRUM_MACRO(3.68f, 3.77f, 3.175f, 3.51f, 3.624f, 3.56f)},
+ {"Na_palik", SPECTRUM_MACRO(0.0522f, 0.061f, 0.0667f, 2.535f, 2.196f, 1.861f)},
{"Nb", SPECTRUM_MACRO(2.2775f, 2.2225f, 2.0050f, 3.2500f, 3.1325f, 3.0100f)},
- //{"Nb_palik", SPECTRUM_MACRO(,,, ,,)},
- //{"Ni_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"Nb_palik", SPECTRUM_MACRO(2.869f, 2.9235f, 2.738f, 2.867f, 2.8764f, 2.8983f)},
+ {"Ni_palik", SPECTRUM_MACRO(1.921f, 1.744f, 1.651f, 3.615f, 3.168f, 2.753f)},
{"Rh", SPECTRUM_MACRO(2.8490f, 2.6410f, 2.4310f, 3.5450f, 3.3150f, 3.1190f)},
- //{"Rh_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"Rh_palik", SPECTRUM_MACRO(2.092f, 1.934f, 1.8256f, 5.472f, 4.902f, 4.5181f)},
{"Se", SPECTRUM_MACRO(1.4420f, 1.4759f, 1.4501f, 0.018713f, 0.10233f, 0.18418f)},
- //{"Se_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"Se_palik", SPECTRUM_MACRO(3.346f, 3.013f, 3.068f, 0.6402f, 0.6711f, 0.553f)},
{"SiC", SPECTRUM_MACRO(2.6398f, 2.6677f, 2.7069f, 0.0f, 0.0f, 0.0f)},
- //{"SiC_palik", SPECTRUM_MACRO(,,, ,,)},
- //{"SnTe", SPECTRUM_MACRO(,,, ,,)},
- //{"SnTe_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"SiC_palik", SPECTRUM_MACRO(2.6412f, 2.6684f, 2.7077f, 0.0f, 0.0f, 0.0f)},
+ {"SnTe", SPECTRUM_MACRO(3.059f, 1.813f, 1.687f, 5.144f, 4.177f, 3.555f)}, // no data except palik's resources, so data same as palik
+ {"SnTe_palik", SPECTRUM_MACRO(3.059f, 1.813f, 1.687f, 5.144f, 4.177f, 3.555f)},
{"Ta", SPECTRUM_MACRO(1.0683f, 1.1379f, 1.2243f, 5.5047f, 4.7432f, 4.0988f)},
- //{"Ta_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"Ta_palik", SPECTRUM_MACRO(1.839f, 2.5875f, 2.8211f, 1.997f, 1.8683f, 2.0514f)},
{"Te", SPECTRUM_MACRO(4.1277f, 3.2968f, 2.6239f, 2.5658f, 2.8789f, 2.7673f)},
- //{"Te_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"Te_palik", SPECTRUM_MACRO(5.8101f, 4.5213f, 3.3682f, 2.9428f, 3.7289f, 3.6783f)},
{"ThF4", SPECTRUM_MACRO(1.5113f, 1.5152f, 1.5205f, 0.0f, 0.0f, 0.0f)},
- //{"ThF4_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"ThF4_palik", SPECTRUM_MACRO(1.520f, 1.5125f, 1.524f, 0.0f, 0.0f, 0.0f)},
{"TiC", SPECTRUM_MACRO(3.0460f, 2.9815f, 2.8864f, 2.6585f, 2.4714f, 2.3987f)},
- //{"TiC_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"TiC_palik", SPECTRUM_MACRO(3.0454f, 2.9763, 2.8674f, 2.6589f, 2.4695f, 2.3959f)},
{"TiO2", SPECTRUM_MACRO(2.1362f, 2.1729f, 2.2298f, 0.0f, 0.0f, 0.0f)},
{"TiO2_palik", SPECTRUM_MACRO(2.5925f, 2.676f, 2.78f, 0.0f, 0.0f, 0.0f)},
{"VC", SPECTRUM_MACRO(3.0033f, 2.8936f, 2.8138f, 2.4981f, 2.3046f, 2.1913f)},
- //{"VC_palik", SPECTRUM_MACRO(,,, ,,)},
- //{"V_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"VC_palik", SPECTRUM_MACRO(3.0038f, 2.8951f, 2.8184f, 2.4923f, 2.3107f, 2.1902f)},
+ {"V_palik", SPECTRUM_MACRO(3.512f, 3.671f, 3.2178f, 2.9337, 3.069f, 3.3667f)},
{"VN", SPECTRUM_MACRO(2.3429f, 2.2268f, 2.1550f, 2.4506f, 2.1345f, 1.8753f)},
- //{"VN_palik", SPECTRUM_MACRO(,,, ,,)},
+ {"VN_palik", SPECTRUM_MACRO(2.3418f, 2.2239f, 2.1539f, 2.4498f, 2.1371f, 1.8776f)},
{"W", SPECTRUM_MACRO(0.96133f, 1.5474f, 2.1930f, 6.2902f, 5.1052f, 5.0325f)},
{"none", SPECTRUM_MACRO(0.f,0.f,0.f, 0.f,0.f,0.f)}
#undef SPECTRUM_MACRO

Complete IoR table

Can't find anything about "d-C"