|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.effect.environmentmapping.SphereMap
public class SphereMap
This class represents an environment sphere map
| Constructor Summary | |
|---|---|
SphereMap(java.lang.String texPath)
Creates a new sphere map with the specified texture. |
|
SphereMap(com.sun.opengl.util.texture.Texture texture)
Creates a new sphere map with the specified 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 |
setTexture(java.lang.String texPath)
Sets the texture that ought to be used for the sphere map to the specified one |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SphereMap(java.lang.String texPath)
texPath - path to texture to use for the sphere mappublic SphereMap(com.sun.opengl.util.texture.Texture texture)
texture - texture to use for the sphere map| Method Detail |
|---|
public void setTexture(java.lang.String texPath)
texPath - path to texture to use for sphere mappingpublic void bind(javax.media.opengl.GL gl)
EnvironmentMappingIface
bind in interface EnvironmentMappingIfacepublic void release(javax.media.opengl.GL gl)
EnvironmentMappingIface
release in interface EnvironmentMappingIface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||