Main Page   Class Hierarchy   Compound List   File List   Compound Members  

material Class Reference

Holds all vertices and material info for objloader entities. More...

#include <material.hpp>

List of all members.

Public Methods

 material ()
 ~material ()
material & operator= (const material &mat)

Public Attributes

string name
 material name defined in the parsed .obj files.

vector< triangleInd > faces
GLfloat Se
 shininess exponent 0-128.

GLfloat Ka [4]
 Ambient.

GLfloat Kd [4]
 Diffuse.

GLfloat Ks [4]
 Specular.

GLfloat Ke [4]
 Emission.

GLfloat opacity


Detailed Description

Holds all vertices and material info for objloader entities.

UVs and textures aren't supported, as I'm not really interested in them, being literally superficial in addition to me not having any easy-to-use UV mappers (lithunwrap is a pain).


The documentation for this class was generated from the following files:
Generated on Sat May 10 10:09:36 2003 for volume-src-limited by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002