|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjme.geometry.model.Material
A Material is a texture map in MS3D. Currently, as of version 0.1 of najgl, only bitmap (*.bmp) textures are supported.
Field Summary | |
java.lang.String |
alphaMap
The filename of the alpah map. |
float[] |
ambient
An array of (r,g,b,a) color values for natural light. |
java.lang.String |
colorMap
The filename of the color map. |
float[] |
diffuse
An array of (r,g,b,a) color values for indirect light. |
float[] |
emissive
An array of (r,g,b,a) color values for projected light. |
int |
glTextureAddress
A pointer to the memory address of the texture in opengl memory. |
java.lang.String |
name
The filename of the bitmap. |
float |
shininess
The ammount of light to be reflected off of the texture. |
float[] |
specular
An array of (r,g,b,a) color values for direct light. |
float |
transparency
The ammount of light to pass through the texture. |
Constructor Summary | |
Material()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String name
public java.lang.String colorMap
public java.lang.String alphaMap
public int glTextureAddress
public float[] ambient
public float[] diffuse
public float[] specular
public float[] emissive
public float shininess
public float transparency
Constructor Detail |
public Material()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |