source: golgotha/src/max_plugin/sdk_inc/mtl.h @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
  • Property svn:keywords set to Id
File size: 831 bytes
Line 
1/**********************************************************************
2 *<
3        FILE: mtl.h
4
5        DESCRIPTION: Material and texture class definitions
6
7        CREATED BY: Don Brittain
8
9        HISTORY:
10
11 *>     Copyright (c) 1994, All Rights Reserved.
12 **********************************************************************/
13
14#if !defined(_MTL_H_)
15
16#define _MTL_H_
17
18// main material class definition
19class  Material {
20public:
21        DllExport Material();
22        DllExport ~Material();
23       
24    Point3              Ka;
25    Point3              Kd;
26    Point3              Ks;
27    float               shininess;
28    float               shinStrength;
29    float               opacity;
30        float           selfIllum;
31        int                     dblSided;
32        int                     shadeLimit;
33        int                     useTex;
34        int                     faceMap;
35        DWORD           textHandle;  // texture handle
36        Matrix3         textTM;  // texture transform
37};
38
39#endif // _MTL_H_
Note: See TracBrowser for help on using the repository browser.