|
||||||||
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
Renderer that provides HighQuality texture-mapping. This means the ability to use environment-mapping, transparency and bilinear filtering.
Field Summary |
Fields inherited from class com.sygem.jazz3d3.Render |
FLAT, GOURAUD, IMAGE, LINE, NOSHADE, PARTICLE |
Constructor Summary | |
RenderTexturedHQ()
Default constructor. |
Method Summary | |
Render |
cloneRenderer()
Returns a copy of the current renderer. |
void |
read(java.io.FileInputStream reader)
|
void |
setEnvironmentMap(int i)
Set the texture to use for environment mapping |
int |
setEnvironmentMap(Texture tex)
Load a texture for use with environment mapping. |
void |
setEnvMapping(boolean envmap)
Turn on/off environment mapping |
void |
setReflectivity(double d)
Set the reflectiveness of the object - i.e. |
void |
setTransparency(double i)
Sets the transparency of the renderer. |
void |
write(java.io.FileOutputStream writer)
|
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 |
Constructor Detail |
public RenderTexturedHQ()
Render.NOSHADE
,
Render.FLAT
,
Render.GOURAUD
Method Detail |
public Render cloneRenderer()
cloneRenderer
in class RenderTextured
public void read(java.io.FileInputStream reader) throws java.io.IOException
read
in class RenderTextured
java.io.IOException
public final void setEnvironmentMap(int i)
i
- A texture idsetEnvironmentMap(Texture)
public final int setEnvironmentMap(Texture tex)
tex
- A Texture
setEnvironmentMap(int)
public final void setEnvMapping(boolean envmap)
envmap
- True if envrironment mapping is to be used, false if notpublic final void setReflectivity(double d)
d
- The reflectivenesspublic final void setTransparency(double i)
i
- The transparencypublic void write(java.io.FileOutputStream writer) throws java.io.IOException
write
in class RenderTextured
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |