|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.effect.environmentmapping.CubeMap
public class CubeMap
This class represents a environment cube map
| Constructor Summary | |
|---|---|
CubeMap(com.sun.opengl.util.texture.Texture cubeMapTex)
Creates a new cube map with the specified cube map texture. |
|
| Method Summary | |
|---|---|
void |
bind(javax.media.opengl.GL gl)
Binds the environment map to the mesh and starts using it. |
void |
release(javax.media.opengl.GL gl)
Stops using the environment map |
void |
setNegX(java.lang.String negX)
Sets the path to the negative x texture |
void |
setNegY(java.lang.String negY)
Sets the path to the negative y texture |
void |
setNegZ(java.lang.String negZ)
Sets the path to the negative z texture |
void |
setPosX(java.lang.String posX)
Sets the path to the positive x texture |
void |
setPosY(java.lang.String posY)
Sets the path to the positive y texture |
void |
setPosZ(java.lang.String posZ)
Sets the path to the positive z texture |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CubeMap(com.sun.opengl.util.texture.Texture cubeMapTex)
cubeMapTex - cube map texture| Method Detail |
|---|
public void bind(javax.media.opengl.GL gl)
EnvironmentMappingIface
bind in interface EnvironmentMappingIfacepublic void release(javax.media.opengl.GL gl)
EnvironmentMappingIface
release in interface EnvironmentMappingIfacepublic void setNegX(java.lang.String negX)
negX - negative x texture pathpublic void setNegY(java.lang.String negY)
negY - negative y texture pathpublic void setNegZ(java.lang.String negZ)
negZ - negative z texture pathpublic void setPosX(java.lang.String posX)
posX - negative x texture pathpublic void setPosY(java.lang.String posY)
posY - negative y texture pathpublic void setPosZ(java.lang.String posZ)
posZ - negative z texture path
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||