|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sygem.jazz3d3.Render
com.sygem.jazz3d3.RenderTextured
com.sygem.jazz3d3.RenderTexturedHQ
com.sygem.jazz3d3.RenderMultiTextured
Renderer that provides the ability to use 2 textures per face.
Field Summary | |
static int |
ADD
Additive multi-texturing - places one texture above another, using the texture's transparency. |
static int |
MIX
Mixed multi-texturing - mixes the 2 textures |
Fields inherited from class com.sygem.jazz3d3.Render |
FLAT, GOURAUD, IMAGE, LINE, NOSHADE, PARTICLE |
Constructor Summary | |
RenderMultiTextured()
Default constructor |
Method Summary | |
Render |
cloneRenderer()
Returns a copy of the current renderer. |
void |
read(java.io.FileInputStream reader)
|
void |
setMixAmount(double mixer)
Sets the amount of the base texture to mix. |
void |
setMode(int i)
Set the multi-texturing mode |
void |
setTextureBank1(int i)
For animated textures - set the base texture to one previously loaded using setTextureBank1 |
int |
setTextureBank1(Texture tex)
Load a base texture |
void |
setTextureBank2(int i)
For animated textures - set the top texture to one previously loaded using setTextureBank2 |
int |
setTextureBank2(Texture tex)
Load a top-level texture |
void |
write(java.io.FileOutputStream writer)
|
Methods inherited from class com.sygem.jazz3d3.RenderTexturedHQ |
setEnvironmentMap, setEnvironmentMap, setEnvMapping, setReflectivity, setTransparency |
Methods inherited from class com.sygem.jazz3d3.RenderTextured |
isPerspectiveCorrect, setPerspectiveCorrect, setTexture, setTexture, wrapUV |
Methods inherited from class com.sygem.jazz3d3.Render |
getDrawingMode, setDrawingMode |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ADD
Texture.setTransparentColour(int)
,
Constant Field Valuespublic static final int MIX
Constructor Detail |
public RenderMultiTextured()
Method Detail |
public Render cloneRenderer()
cloneRenderer
in class RenderTexturedHQ
public void read(java.io.FileInputStream reader) throws java.io.IOException
read
in class RenderTexturedHQ
java.io.IOException
public final void setMixAmount(double mixer)
mixer
- The amount to mix of the base texturepublic final void setMode(int i)
i
- The new modeMIX
,
ADD
public final void setTextureBank1(int i)
setTextureBank1
i
- The new texture idsetTextureBank1(Texture)
public final int setTextureBank1(Texture tex)
tex
- A Texture
Texture
,
setTextureBank2(com.sygem.jazz3d3.Texture)
public final void setTextureBank2(int i)
setTextureBank2
i
- The new texture idsetTextureBank2(Texture)
public final int setTextureBank2(Texture tex)
tex
- A Texture
Texture
,
setTextureBank1(com.sygem.jazz3d3.Texture)
public void write(java.io.FileOutputStream writer) throws java.io.IOException
write
in class RenderTexturedHQ
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |