saito.objloader
Class Material
java.lang.Object
saito.objloader.Material
public class Material
- extends java.lang.Object
- Author:
- tatsuyas
Constructor Summary |
Material()
Constructs a default Material object. |
Method Summary |
void |
beginDrawGL(GL gl,
boolean useMaterial,
boolean useTexture)
|
void |
endDrawGL(GL gl,
boolean useMaterial,
boolean useTexture)
|
void |
setupGL(GL gl,
Debug debug)
Sets up the OPENGL material as a series of float and int buffers |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map_Kd
public PImage map_Kd
Ka
public float[] Ka
Kd
public float[] Kd
Ks
public float[] Ks
d
public float d
mtlName
public java.lang.String mtlName
Material
public Material()
- Constructs a default Material object.
setupGL
public void setupGL(GL gl,
Debug debug)
- Sets up the OPENGL material as a series of float and int buffers
- Parameters:
gl
- debug
-
beginDrawGL
public void beginDrawGL(GL gl,
boolean useMaterial,
boolean useTexture)
endDrawGL
public void endDrawGL(GL gl,
boolean useMaterial,
boolean useTexture)
processing library OBJLoader by Saito, Matt Ditton, Ekene Ijeoma. (c) 2010