material_colors.h 988 B

123456789101112131415161718
  1. #ifndef IGL_MATERIAL_COLORS_H
  2. #define IGL_MATERIAL_COLORS_H
  3. // Define som constant material colors for use with opengl glMaterialfv
  4. namespace igl
  5. {
  6. const float GOLD_AMBIENT[4] = { 51.0/255.0, 43.0/255.0,33.3/255.0,1.0f };
  7. const float GOLD_DIFFUSE[4] = { 255.0/255.0,228.0/255.0,58.0/255.0,1.0f };
  8. const float GOLD_SPECULAR[4] = { 255.0/255.0,235.0/255.0,80.0/255.0,1.0f };
  9. const float SILVER_AMBIENT[4] = { 0.2f, 0.2f, 0.2f, 1.0f };
  10. const float SILVER_DIFFUSE[4] = { 1.0f, 1.0f, 1.0f, 1.0f };
  11. const float SILVER_SPECULAR[4] = { 1.0f, 1.0f, 1.0f, 1.0f };
  12. // Blue/Cyan more similar to Jovan Popovic's blue than to Mario Botsch's blue
  13. const float CYAN_AMBIENT[4] = { 59.0/255.0, 68.0/255.0,255.0/255.0,1.0f };
  14. const float CYAN_DIFFUSE[4] = { 94.0/255.0,185.0/255.0,238.0/255.0,1.0f };
  15. const float CYAN_SPECULAR[4] = { 163.0/255.0,221.0/255.0,255.0/255.0,1.0f };
  16. const float DENIS_PURPLE_DIFFUSE[4] = { 80.0/255.0,64.0/255.0,255.0/255.0,1.0f };
  17. }
  18. #endif