mtl.h 831 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /**********************************************************************
  2. *<
  3. FILE: mtl.h
  4. DESCRIPTION: Material and texture class definitions
  5. CREATED BY: Don Brittain
  6. HISTORY:
  7. *> Copyright (c) 1994, All Rights Reserved.
  8. **********************************************************************/
  9. #if !defined(_MTL_H_)
  10. #define _MTL_H_
  11. // main material class definition
  12. class Material {
  13. public:
  14. DllExport Material();
  15. DllExport ~Material();
  16. Point3 Ka;
  17. Point3 Kd;
  18. Point3 Ks;
  19. float shininess;
  20. float shinStrength;
  21. float opacity;
  22. float selfIllum;
  23. int dblSided;
  24. int shadeLimit;
  25. int useTex;
  26. int faceMap;
  27. DWORD textHandle; // texture handle
  28. Matrix3 textTM; // texture transform
  29. };
  30. #endif // _MTL_H_