File indexing completed on 2024-06-16 04:16:42
0001 /* 0002 * SPDX-FileCopyrightText: 2010 José Luis Vergara <pentalis@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef CONSTANTS_H 0008 #define CONSTANTS_H 0009 0010 /* 0011 * Illuminants were renamed to Light Sources in the GUI 0012 */ 0013 const quint8 PHONG_TOTAL_ILLUMINANTS = 4; 0014 const QString PHONG_HEIGHT_CHANNEL = "heightChannel"; 0015 const QString USE_NORMALMAP_IS_ENABLED = "useNormalMapIsEnabled"; 0016 const QString PHONG_ILLUMINANT_IS_ENABLED[] = 0017 {"illuminantIsEnabled0", 0018 "illuminantIsEnabled1", 0019 "illuminantIsEnabled2", 0020 "illuminantIsEnabled3"}; 0021 const QString PHONG_ILLUMINANT_COLOR[] = 0022 {"illuminantColor0", 0023 "illuminantColor1", 0024 "illuminantColor2", 0025 "illuminantColor3"}; 0026 const QString PHONG_ILLUMINANT_AZIMUTH[] = 0027 {"Azimuth0", 0028 "Azimuth1", 0029 "Azimuth2", 0030 "Azimuth3"}; 0031 const QString PHONG_ILLUMINANT_INCLINATION[] = 0032 {"Inclination0", 0033 "Inclination1", 0034 "Inclination2", 0035 "Inclination3"}; 0036 const QString PHONG_AMBIENT_REFLECTIVITY = "ambientReflectivity"; 0037 const QString PHONG_DIFFUSE_REFLECTIVITY = "diffuseReflectivity"; 0038 const QString PHONG_SPECULAR_REFLECTIVITY = "specularReflectivity"; 0039 const QString PHONG_SHINYNESS_EXPONENT = "shinynessExponent"; 0040 const QString PHONG_DIFFUSE_REFLECTIVITY_IS_ENABLED = "diffuseReflectivityIsEnabled"; 0041 const QString PHONG_SPECULAR_REFLECTIVITY_IS_ENABLED = "specularReflectivityIsEnabled"; 0042 //const QString PHONG_SHINYNESS_EXPONENT_IS_ENABLED = "shinynessExponentIsEnabled"; 0043 0044 #endif