org.xith3d.loaders.models.conversion
Class XithAppearanceFactory
java.lang.Object
org.xith3d.loaders.models.conversion.XithAppearanceFactory
- All Implemented Interfaces:
- org.jagatoo.loaders.models._util.AppearanceFactory
public class XithAppearanceFactory
- extends java.lang.Object
- implements org.jagatoo.loaders.models._util.AppearanceFactory
Insert type comment here.
| Fields inherited from interface org.jagatoo.loaders.models._util.AppearanceFactory |
APP_FLAG_STATIC |
|
Method Summary |
void |
applyAppearance(org.jagatoo.datatypes.NamedObject appearance,
org.jagatoo.datatypes.NamedObject geometry)
|
void |
applyColoringAttributes(org.jagatoo.datatypes.NamedObject coloringAttribs,
org.jagatoo.datatypes.NamedObject appearance)
|
void |
applyMaterial(org.jagatoo.datatypes.NamedObject material,
org.jagatoo.datatypes.NamedObject appearance)
|
void |
applyPolygonAttributes(org.jagatoo.datatypes.NamedObject polygonAttribs,
org.jagatoo.datatypes.NamedObject appearance)
|
void |
applyRenderingAttributes(org.jagatoo.datatypes.NamedObject renderingAttribs,
org.jagatoo.datatypes.NamedObject appearance)
|
void |
applyTexture(org.jagatoo.loaders.textures.AbstractTexture texture,
int textureUnit,
org.jagatoo.datatypes.NamedObject appearance)
|
void |
applyTextureAttributes(org.jagatoo.datatypes.NamedObject textureAttribs,
int textureUnit,
org.jagatoo.datatypes.NamedObject appearance)
|
void |
applyTextureCoordGeneration(org.jagatoo.datatypes.NamedObject texCoordGen,
int textureUnit,
org.jagatoo.datatypes.NamedObject appearance)
|
void |
applyTransparancyAttributes(org.jagatoo.datatypes.NamedObject transpAttribs,
org.jagatoo.datatypes.NamedObject appearance)
|
org.jagatoo.datatypes.NamedObject |
createAppearance(java.lang.String name,
int flags)
|
ColoringAttributes |
createColoringAttributes(java.lang.String name)
|
Material |
createMaterial(java.lang.String name)
|
PolygonAttributes |
createPolygonAttributes(java.lang.String name)
|
RenderingAttributes |
createRenderingAttributesAttributes(java.lang.String name)
|
org.jagatoo.datatypes.NamedObject |
createStandardAppearance(java.lang.String name,
org.jagatoo.loaders.textures.AbstractTexture texture0,
int flags)
|
org.jagatoo.datatypes.NamedObject |
createStandardAppearance(java.lang.String name,
java.lang.String textureName0,
java.net.URL baseURL,
int flags)
|
Texture2D |
createTexture(org.jagatoo.loaders.textures.AbstractTextureImage texImage0,
boolean generateMipmaps)
|
TextureAttributes |
createTextureAttributes(java.lang.String name)
|
TexCoordGeneration |
createTextureCoordGeneration(java.lang.String name)
|
TextureImage2D |
createTextureImage(org.jagatoo.opengl.enums.TextureImageFormat format,
int width,
int height)
|
TextureImage2D |
createTextureImage(org.jagatoo.opengl.enums.TextureImageFormat format,
int orgWidth,
int orgHeight,
int width,
int height)
|
TransparencyAttributes |
createTransparencyAttributes(java.lang.String name)
|
Texture2D |
getFallbackTexture()
|
boolean |
isFallbackTexture(org.jagatoo.loaders.textures.AbstractTexture texture)
|
Texture2D |
loadOrGetTexture(java.lang.String texName,
boolean flipVertically,
boolean acceptAlpha,
boolean loadMipmaps,
boolean allowStreching,
boolean acceptFallbackTexture)
|
org.jagatoo.loaders.textures.AbstractTexture |
loadOrGetTexture(java.lang.String texName,
java.net.URL baseURL,
boolean flipVertically,
boolean acceptAlpha,
boolean loadMipmaps,
boolean allowStreching,
boolean acceptFallbackTexture)
|
Texture2D |
loadTexture(java.io.InputStream in,
java.lang.String texName,
boolean flipVertically,
boolean acceptAlpha,
boolean loadMipmaps,
boolean allowStreching,
boolean acceptFallbackTexture)
|
Texture2D |
loadTexture(java.net.URL url,
boolean flipVertically,
boolean acceptAlpha,
boolean loadMipmaps,
boolean allowStreching,
boolean acceptFallbackTexture)
|
void |
setColoringAttribsColor(org.jagatoo.datatypes.NamedObject coloringAttribs,
float[] color,
int offset,
int colorSize)
|
void |
setColoringAttribsShadeModel(org.jagatoo.datatypes.NamedObject coloringAttribs,
org.jagatoo.opengl.enums.ShadeModel shadeModel)
|
void |
setMaterialAmbientColor(org.jagatoo.datatypes.NamedObject material,
float r,
float g,
float b)
|
void |
setMaterialColorTarget(org.jagatoo.datatypes.NamedObject material,
org.jagatoo.opengl.enums.ColorTarget colorTarget)
|
void |
setMaterialDiffuseColor(org.jagatoo.datatypes.NamedObject material,
float r,
float g,
float b)
|
void |
setMaterialEmissiveColor(org.jagatoo.datatypes.NamedObject material,
float r,
float g,
float b)
|
void |
setMaterialLightingEnabled(org.jagatoo.datatypes.NamedObject material,
boolean lightingEnabled)
|
void |
setMaterialNormalizeNormals(org.jagatoo.datatypes.NamedObject material,
boolean normalizeNormals)
|
void |
setMaterialShininess(org.jagatoo.datatypes.NamedObject material,
float shininess)
|
void |
setMaterialSpecularColor(org.jagatoo.datatypes.NamedObject material,
float r,
float g,
float b)
|
void |
setPolygonAttribsAntialiasing(org.jagatoo.datatypes.NamedObject polygonAttribs,
boolean anitaliasing)
|
void |
setPolygonAttribsBackfaceNormalFlip(org.jagatoo.datatypes.NamedObject polygonAttribs,
boolean backfaceNormalFlip)
|
void |
setPolygonAttribsDrawMode(org.jagatoo.datatypes.NamedObject polygonAttribs,
org.jagatoo.opengl.enums.DrawMode drawMode)
|
void |
setPolygonAttribsFaceCullMode(org.jagatoo.datatypes.NamedObject polygonAttribs,
org.jagatoo.opengl.enums.FaceCullMode faceCullMode)
|
void |
setPolygonAttribsPolygonOffset(org.jagatoo.datatypes.NamedObject polygonAttribs,
float polygonOffset)
|
void |
setPolygonAttribsPolygonOffsetFactor(org.jagatoo.datatypes.NamedObject polygonAttribs,
float polygonOffsetFactor)
|
void |
setPolygonAttribsSortingEnabled(org.jagatoo.datatypes.NamedObject polygonAttribs,
boolean sortingEnabled)
|
void |
setRenderingAttribsAlphaTestFunction(org.jagatoo.datatypes.NamedObject renderingAttribs,
org.jagatoo.opengl.enums.TestFunction alphaTestFunction)
|
void |
setRenderingAttribsAlphaTestValue(org.jagatoo.datatypes.NamedObject renderingAttribs,
float alphaTestValue)
|
void |
setRenderingAttribsColorWriteMask(org.jagatoo.datatypes.NamedObject renderingAttribs,
int colorWriteMask)
|
void |
setRenderingAttribsDepthBufferEnabled(org.jagatoo.datatypes.NamedObject renderingAttribs,
boolean depthBufferEnabled)
|
void |
setRenderingAttribsDepthBufferWriteEnabled(org.jagatoo.datatypes.NamedObject renderingAttribs,
boolean depthBufferWriteEnabled)
|
void |
setRenderingAttribsDepthTestFunction(org.jagatoo.datatypes.NamedObject renderingAttribs,
org.jagatoo.opengl.enums.TestFunction depthTestFunction)
|
void |
setRenderingAttribsIgnoreVertexColors(org.jagatoo.datatypes.NamedObject renderingAttribs,
boolean ignoreVertexColors)
|
void |
setRenderingAttribsStencilEnabled(org.jagatoo.datatypes.NamedObject renderingAttribs,
boolean stencilEnabled)
|
void |
setRenderingAttribsStencilMask(org.jagatoo.datatypes.NamedObject renderingAttribs,
int stencilMask)
|
void |
setRenderingAttribsStencilRef(org.jagatoo.datatypes.NamedObject renderingAttribs,
int stencilRef)
|
void |
setRenderingAttribsStencilTestFunction(org.jagatoo.datatypes.NamedObject renderingAttribs,
org.jagatoo.opengl.enums.TestFunction stencilTestFunction)
|
void |
setTexCoordGenerationGenMode(org.jagatoo.datatypes.NamedObject texCoordGen,
org.jagatoo.opengl.enums.TexCoordGenMode genMode)
|
void |
setTexCoordGenerationNumTexGenUnits(org.jagatoo.datatypes.NamedObject texCoordGen,
int numTexGenUnits)
|
void |
setTexCoordGenerationPlaneQ(org.jagatoo.datatypes.NamedObject texCoordGen,
float[] planeQ,
int offset)
|
void |
setTexCoordGenerationPlaneR(org.jagatoo.datatypes.NamedObject texCoordGen,
float[] planeR,
int offset)
|
void |
setTexCoordGenerationPlaneS(org.jagatoo.datatypes.NamedObject texCoordGen,
float[] planeS,
int offset)
|
void |
setTexCoordGenerationPlaneT(org.jagatoo.datatypes.NamedObject texCoordGen,
float[] planeT,
int offset)
|
void |
setTextureAttribsCombineAlphaFunction(org.jagatoo.datatypes.NamedObject textureAttribs,
int channel,
org.jagatoo.opengl.enums.TextureCombineFunction combineAlphaFunction)
|
void |
setTextureAttribsCombineAlphaMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.TextureCombineMode combineAlphaMode)
|
void |
setTextureAttribsCombineAlphaScale(org.jagatoo.datatypes.NamedObject textureAttribs,
int combineAlphaScale)
|
void |
setTextureAttribsCombineAlphaSource(org.jagatoo.datatypes.NamedObject textureAttribs,
int channel,
org.jagatoo.opengl.enums.TextureCombineSource combineAlphaSource)
|
void |
setTextureAttribsCombineRGBFunction(org.jagatoo.datatypes.NamedObject textureAttribs,
int channel,
org.jagatoo.opengl.enums.TextureCombineFunction combineRGBFunction)
|
void |
setTextureAttribsCombineRGBMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.TextureCombineMode combineRGBMode)
|
void |
setTextureAttribsCombineRGBScale(org.jagatoo.datatypes.NamedObject textureAttribs,
int combineRGBScale)
|
void |
setTextureAttribsCombineRGBSource(org.jagatoo.datatypes.NamedObject textureAttribs,
int channel,
org.jagatoo.opengl.enums.TextureCombineSource combineRGBSource)
|
void |
setTextureAttribsCompareFunc(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.CompareFunction compareFunc)
|
void |
setTextureAttribsCompareMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.TextureCompareMode compareMode)
|
void |
setTextureAttribsPerspectiveCorrectionMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.PerspectiveCorrectionMode perspCorrMode)
|
void |
setTextureAttribsTextureBlendColor(org.jagatoo.datatypes.NamedObject textureAttribs,
float[] texBlendColor,
int offset,
int colorSize)
|
void |
setTextureAttribsTextureMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.TextureMode textureMode)
|
void |
setTextureAttribsTextureTransfrom(org.jagatoo.datatypes.NamedObject textureAttribs,
org.openmali.vecmath2.Matrix4f textureTransform)
|
void |
setTextureBoundaryModeS(org.jagatoo.loaders.textures.AbstractTexture texture,
org.jagatoo.opengl.enums.TextureBoundaryMode boundaryModeS)
|
void |
setTextureBoundaryModeT(org.jagatoo.loaders.textures.AbstractTexture texture,
org.jagatoo.opengl.enums.TextureBoundaryMode boundaryModeT)
|
void |
setTextureMagFilter(org.jagatoo.loaders.textures.AbstractTexture texture,
org.jagatoo.opengl.enums.TextureMagFilter magFilter)
|
void |
setTextureMinFilter(org.jagatoo.loaders.textures.AbstractTexture texture,
org.jagatoo.opengl.enums.TextureMinFilter minFilter)
|
void |
setTransparencyAttribsBlendMode(org.jagatoo.datatypes.NamedObject transpAttribs,
org.jagatoo.opengl.enums.BlendMode blendMode)
|
void |
setTransparencyAttribsDestBlendFunc(org.jagatoo.datatypes.NamedObject transpAttribs,
org.jagatoo.opengl.enums.BlendFunction dstBlendFunc)
|
void |
setTransparencyAttribsSortingEnabled(org.jagatoo.datatypes.NamedObject transpAttribs,
boolean sortingEnabled)
|
void |
setTransparencyAttribsSourceBlendFunc(org.jagatoo.datatypes.NamedObject transpAttribs,
org.jagatoo.opengl.enums.BlendFunction srcBlendFunc)
|
void |
setTransparencyAttribsTransparency(org.jagatoo.datatypes.NamedObject transpAttribs,
float transparency)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XithAppearanceFactory
public XithAppearanceFactory()
createTransparencyAttributes
public final TransparencyAttributes createTransparencyAttributes(java.lang.String name)
- Specified by:
createTransparencyAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTransparencyAttribsSourceBlendFunc
public final void setTransparencyAttribsSourceBlendFunc(org.jagatoo.datatypes.NamedObject transpAttribs,
org.jagatoo.opengl.enums.BlendFunction srcBlendFunc)
- Specified by:
setTransparencyAttribsSourceBlendFunc in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTransparencyAttribsDestBlendFunc
public final void setTransparencyAttribsDestBlendFunc(org.jagatoo.datatypes.NamedObject transpAttribs,
org.jagatoo.opengl.enums.BlendFunction dstBlendFunc)
- Specified by:
setTransparencyAttribsDestBlendFunc in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTransparencyAttribsBlendMode
public final void setTransparencyAttribsBlendMode(org.jagatoo.datatypes.NamedObject transpAttribs,
org.jagatoo.opengl.enums.BlendMode blendMode)
- Specified by:
setTransparencyAttribsBlendMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTransparencyAttribsTransparency
public final void setTransparencyAttribsTransparency(org.jagatoo.datatypes.NamedObject transpAttribs,
float transparency)
- Specified by:
setTransparencyAttribsTransparency in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTransparencyAttribsSortingEnabled
public final void setTransparencyAttribsSortingEnabled(org.jagatoo.datatypes.NamedObject transpAttribs,
boolean sortingEnabled)
- Specified by:
setTransparencyAttribsSortingEnabled in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyTransparancyAttributes
public final void applyTransparancyAttributes(org.jagatoo.datatypes.NamedObject transpAttribs,
org.jagatoo.datatypes.NamedObject appearance)
- Specified by:
applyTransparancyAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
createMaterial
public final Material createMaterial(java.lang.String name)
- Specified by:
createMaterial in interface org.jagatoo.loaders.models._util.AppearanceFactory
setMaterialColorTarget
public final void setMaterialColorTarget(org.jagatoo.datatypes.NamedObject material,
org.jagatoo.opengl.enums.ColorTarget colorTarget)
- Specified by:
setMaterialColorTarget in interface org.jagatoo.loaders.models._util.AppearanceFactory
setMaterialAmbientColor
public final void setMaterialAmbientColor(org.jagatoo.datatypes.NamedObject material,
float r,
float g,
float b)
- Specified by:
setMaterialAmbientColor in interface org.jagatoo.loaders.models._util.AppearanceFactory
setMaterialEmissiveColor
public final void setMaterialEmissiveColor(org.jagatoo.datatypes.NamedObject material,
float r,
float g,
float b)
- Specified by:
setMaterialEmissiveColor in interface org.jagatoo.loaders.models._util.AppearanceFactory
setMaterialDiffuseColor
public final void setMaterialDiffuseColor(org.jagatoo.datatypes.NamedObject material,
float r,
float g,
float b)
- Specified by:
setMaterialDiffuseColor in interface org.jagatoo.loaders.models._util.AppearanceFactory
setMaterialSpecularColor
public final void setMaterialSpecularColor(org.jagatoo.datatypes.NamedObject material,
float r,
float g,
float b)
- Specified by:
setMaterialSpecularColor in interface org.jagatoo.loaders.models._util.AppearanceFactory
setMaterialShininess
public final void setMaterialShininess(org.jagatoo.datatypes.NamedObject material,
float shininess)
- Specified by:
setMaterialShininess in interface org.jagatoo.loaders.models._util.AppearanceFactory
setMaterialNormalizeNormals
public final void setMaterialNormalizeNormals(org.jagatoo.datatypes.NamedObject material,
boolean normalizeNormals)
- Specified by:
setMaterialNormalizeNormals in interface org.jagatoo.loaders.models._util.AppearanceFactory
setMaterialLightingEnabled
public final void setMaterialLightingEnabled(org.jagatoo.datatypes.NamedObject material,
boolean lightingEnabled)
- Specified by:
setMaterialLightingEnabled in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyMaterial
public final void applyMaterial(org.jagatoo.datatypes.NamedObject material,
org.jagatoo.datatypes.NamedObject appearance)
- Specified by:
applyMaterial in interface org.jagatoo.loaders.models._util.AppearanceFactory
createColoringAttributes
public final ColoringAttributes createColoringAttributes(java.lang.String name)
- Specified by:
createColoringAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
setColoringAttribsShadeModel
public final void setColoringAttribsShadeModel(org.jagatoo.datatypes.NamedObject coloringAttribs,
org.jagatoo.opengl.enums.ShadeModel shadeModel)
- Specified by:
setColoringAttribsShadeModel in interface org.jagatoo.loaders.models._util.AppearanceFactory
setColoringAttribsColor
public final void setColoringAttribsColor(org.jagatoo.datatypes.NamedObject coloringAttribs,
float[] color,
int offset,
int colorSize)
- Specified by:
setColoringAttribsColor in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyColoringAttributes
public final void applyColoringAttributes(org.jagatoo.datatypes.NamedObject coloringAttribs,
org.jagatoo.datatypes.NamedObject appearance)
- Specified by:
applyColoringAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
createRenderingAttributesAttributes
public final RenderingAttributes createRenderingAttributesAttributes(java.lang.String name)
- Specified by:
createRenderingAttributesAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsDepthBufferEnabled
public final void setRenderingAttribsDepthBufferEnabled(org.jagatoo.datatypes.NamedObject renderingAttribs,
boolean depthBufferEnabled)
- Specified by:
setRenderingAttribsDepthBufferEnabled in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsDepthBufferWriteEnabled
public final void setRenderingAttribsDepthBufferWriteEnabled(org.jagatoo.datatypes.NamedObject renderingAttribs,
boolean depthBufferWriteEnabled)
- Specified by:
setRenderingAttribsDepthBufferWriteEnabled in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsAlphaTestValue
public final void setRenderingAttribsAlphaTestValue(org.jagatoo.datatypes.NamedObject renderingAttribs,
float alphaTestValue)
- Specified by:
setRenderingAttribsAlphaTestValue in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsAlphaTestFunction
public final void setRenderingAttribsAlphaTestFunction(org.jagatoo.datatypes.NamedObject renderingAttribs,
org.jagatoo.opengl.enums.TestFunction alphaTestFunction)
- Specified by:
setRenderingAttribsAlphaTestFunction in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsDepthTestFunction
public final void setRenderingAttribsDepthTestFunction(org.jagatoo.datatypes.NamedObject renderingAttribs,
org.jagatoo.opengl.enums.TestFunction depthTestFunction)
- Specified by:
setRenderingAttribsDepthTestFunction in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsIgnoreVertexColors
public final void setRenderingAttribsIgnoreVertexColors(org.jagatoo.datatypes.NamedObject renderingAttribs,
boolean ignoreVertexColors)
- Specified by:
setRenderingAttribsIgnoreVertexColors in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsStencilEnabled
public final void setRenderingAttribsStencilEnabled(org.jagatoo.datatypes.NamedObject renderingAttribs,
boolean stencilEnabled)
- Specified by:
setRenderingAttribsStencilEnabled in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsStencilTestFunction
public final void setRenderingAttribsStencilTestFunction(org.jagatoo.datatypes.NamedObject renderingAttribs,
org.jagatoo.opengl.enums.TestFunction stencilTestFunction)
- Specified by:
setRenderingAttribsStencilTestFunction in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsStencilRef
public final void setRenderingAttribsStencilRef(org.jagatoo.datatypes.NamedObject renderingAttribs,
int stencilRef)
- Specified by:
setRenderingAttribsStencilRef in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsStencilMask
public final void setRenderingAttribsStencilMask(org.jagatoo.datatypes.NamedObject renderingAttribs,
int stencilMask)
- Specified by:
setRenderingAttribsStencilMask in interface org.jagatoo.loaders.models._util.AppearanceFactory
setRenderingAttribsColorWriteMask
public final void setRenderingAttribsColorWriteMask(org.jagatoo.datatypes.NamedObject renderingAttribs,
int colorWriteMask)
- Specified by:
setRenderingAttribsColorWriteMask in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyRenderingAttributes
public final void applyRenderingAttributes(org.jagatoo.datatypes.NamedObject renderingAttribs,
org.jagatoo.datatypes.NamedObject appearance)
- Specified by:
applyRenderingAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
createPolygonAttributes
public final PolygonAttributes createPolygonAttributes(java.lang.String name)
- Specified by:
createPolygonAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
setPolygonAttribsFaceCullMode
public final void setPolygonAttribsFaceCullMode(org.jagatoo.datatypes.NamedObject polygonAttribs,
org.jagatoo.opengl.enums.FaceCullMode faceCullMode)
- Specified by:
setPolygonAttribsFaceCullMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setPolygonAttribsDrawMode
public final void setPolygonAttribsDrawMode(org.jagatoo.datatypes.NamedObject polygonAttribs,
org.jagatoo.opengl.enums.DrawMode drawMode)
- Specified by:
setPolygonAttribsDrawMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setPolygonAttribsPolygonOffset
public final void setPolygonAttribsPolygonOffset(org.jagatoo.datatypes.NamedObject polygonAttribs,
float polygonOffset)
- Specified by:
setPolygonAttribsPolygonOffset in interface org.jagatoo.loaders.models._util.AppearanceFactory
setPolygonAttribsPolygonOffsetFactor
public final void setPolygonAttribsPolygonOffsetFactor(org.jagatoo.datatypes.NamedObject polygonAttribs,
float polygonOffsetFactor)
- Specified by:
setPolygonAttribsPolygonOffsetFactor in interface org.jagatoo.loaders.models._util.AppearanceFactory
setPolygonAttribsBackfaceNormalFlip
public final void setPolygonAttribsBackfaceNormalFlip(org.jagatoo.datatypes.NamedObject polygonAttribs,
boolean backfaceNormalFlip)
- Specified by:
setPolygonAttribsBackfaceNormalFlip in interface org.jagatoo.loaders.models._util.AppearanceFactory
setPolygonAttribsAntialiasing
public final void setPolygonAttribsAntialiasing(org.jagatoo.datatypes.NamedObject polygonAttribs,
boolean anitaliasing)
- Specified by:
setPolygonAttribsAntialiasing in interface org.jagatoo.loaders.models._util.AppearanceFactory
setPolygonAttribsSortingEnabled
public final void setPolygonAttribsSortingEnabled(org.jagatoo.datatypes.NamedObject polygonAttribs,
boolean sortingEnabled)
- Specified by:
setPolygonAttribsSortingEnabled in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyPolygonAttributes
public final void applyPolygonAttributes(org.jagatoo.datatypes.NamedObject polygonAttribs,
org.jagatoo.datatypes.NamedObject appearance)
- Specified by:
applyPolygonAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureBoundaryModeS
public final void setTextureBoundaryModeS(org.jagatoo.loaders.textures.AbstractTexture texture,
org.jagatoo.opengl.enums.TextureBoundaryMode boundaryModeS)
- Specified by:
setTextureBoundaryModeS in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureBoundaryModeT
public final void setTextureBoundaryModeT(org.jagatoo.loaders.textures.AbstractTexture texture,
org.jagatoo.opengl.enums.TextureBoundaryMode boundaryModeT)
- Specified by:
setTextureBoundaryModeT in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureMagFilter
public final void setTextureMagFilter(org.jagatoo.loaders.textures.AbstractTexture texture,
org.jagatoo.opengl.enums.TextureMagFilter magFilter)
- Specified by:
setTextureMagFilter in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureMinFilter
public final void setTextureMinFilter(org.jagatoo.loaders.textures.AbstractTexture texture,
org.jagatoo.opengl.enums.TextureMinFilter minFilter)
- Specified by:
setTextureMinFilter in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyTexture
public final void applyTexture(org.jagatoo.loaders.textures.AbstractTexture texture,
int textureUnit,
org.jagatoo.datatypes.NamedObject appearance)
- Specified by:
applyTexture in interface org.jagatoo.loaders.models._util.AppearanceFactory
createTextureAttributes
public final TextureAttributes createTextureAttributes(java.lang.String name)
- Specified by:
createTextureAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsTextureMode
public final void setTextureAttribsTextureMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.TextureMode textureMode)
- Specified by:
setTextureAttribsTextureMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsPerspectiveCorrectionMode
public final void setTextureAttribsPerspectiveCorrectionMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.PerspectiveCorrectionMode perspCorrMode)
- Specified by:
setTextureAttribsPerspectiveCorrectionMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsTextureBlendColor
public final void setTextureAttribsTextureBlendColor(org.jagatoo.datatypes.NamedObject textureAttribs,
float[] texBlendColor,
int offset,
int colorSize)
- Specified by:
setTextureAttribsTextureBlendColor in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsTextureTransfrom
public final void setTextureAttribsTextureTransfrom(org.jagatoo.datatypes.NamedObject textureAttribs,
org.openmali.vecmath2.Matrix4f textureTransform)
- Specified by:
setTextureAttribsTextureTransfrom in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCombineRGBMode
public final void setTextureAttribsCombineRGBMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.TextureCombineMode combineRGBMode)
- Specified by:
setTextureAttribsCombineRGBMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCombineAlphaMode
public final void setTextureAttribsCombineAlphaMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.TextureCombineMode combineAlphaMode)
- Specified by:
setTextureAttribsCombineAlphaMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCombineRGBSource
public final void setTextureAttribsCombineRGBSource(org.jagatoo.datatypes.NamedObject textureAttribs,
int channel,
org.jagatoo.opengl.enums.TextureCombineSource combineRGBSource)
- Specified by:
setTextureAttribsCombineRGBSource in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCombineAlphaSource
public final void setTextureAttribsCombineAlphaSource(org.jagatoo.datatypes.NamedObject textureAttribs,
int channel,
org.jagatoo.opengl.enums.TextureCombineSource combineAlphaSource)
- Specified by:
setTextureAttribsCombineAlphaSource in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCombineRGBFunction
public final void setTextureAttribsCombineRGBFunction(org.jagatoo.datatypes.NamedObject textureAttribs,
int channel,
org.jagatoo.opengl.enums.TextureCombineFunction combineRGBFunction)
- Specified by:
setTextureAttribsCombineRGBFunction in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCombineAlphaFunction
public final void setTextureAttribsCombineAlphaFunction(org.jagatoo.datatypes.NamedObject textureAttribs,
int channel,
org.jagatoo.opengl.enums.TextureCombineFunction combineAlphaFunction)
- Specified by:
setTextureAttribsCombineAlphaFunction in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCombineRGBScale
public final void setTextureAttribsCombineRGBScale(org.jagatoo.datatypes.NamedObject textureAttribs,
int combineRGBScale)
- Specified by:
setTextureAttribsCombineRGBScale in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCombineAlphaScale
public final void setTextureAttribsCombineAlphaScale(org.jagatoo.datatypes.NamedObject textureAttribs,
int combineAlphaScale)
- Specified by:
setTextureAttribsCombineAlphaScale in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCompareMode
public final void setTextureAttribsCompareMode(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.TextureCompareMode compareMode)
- Specified by:
setTextureAttribsCompareMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTextureAttribsCompareFunc
public final void setTextureAttribsCompareFunc(org.jagatoo.datatypes.NamedObject textureAttribs,
org.jagatoo.opengl.enums.CompareFunction compareFunc)
- Specified by:
setTextureAttribsCompareFunc in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyTextureAttributes
public final void applyTextureAttributes(org.jagatoo.datatypes.NamedObject textureAttribs,
int textureUnit,
org.jagatoo.datatypes.NamedObject appearance)
- Specified by:
applyTextureAttributes in interface org.jagatoo.loaders.models._util.AppearanceFactory
createTextureCoordGeneration
public final TexCoordGeneration createTextureCoordGeneration(java.lang.String name)
- Specified by:
createTextureCoordGeneration in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTexCoordGenerationGenMode
public final void setTexCoordGenerationGenMode(org.jagatoo.datatypes.NamedObject texCoordGen,
org.jagatoo.opengl.enums.TexCoordGenMode genMode)
- Specified by:
setTexCoordGenerationGenMode in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTexCoordGenerationNumTexGenUnits
public void setTexCoordGenerationNumTexGenUnits(org.jagatoo.datatypes.NamedObject texCoordGen,
int numTexGenUnits)
- Specified by:
setTexCoordGenerationNumTexGenUnits in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTexCoordGenerationPlaneS
public final void setTexCoordGenerationPlaneS(org.jagatoo.datatypes.NamedObject texCoordGen,
float[] planeS,
int offset)
- Specified by:
setTexCoordGenerationPlaneS in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTexCoordGenerationPlaneT
public final void setTexCoordGenerationPlaneT(org.jagatoo.datatypes.NamedObject texCoordGen,
float[] planeT,
int offset)
- Specified by:
setTexCoordGenerationPlaneT in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTexCoordGenerationPlaneR
public final void setTexCoordGenerationPlaneR(org.jagatoo.datatypes.NamedObject texCoordGen,
float[] planeR,
int offset)
- Specified by:
setTexCoordGenerationPlaneR in interface org.jagatoo.loaders.models._util.AppearanceFactory
setTexCoordGenerationPlaneQ
public final void setTexCoordGenerationPlaneQ(org.jagatoo.datatypes.NamedObject texCoordGen,
float[] planeQ,
int offset)
- Specified by:
setTexCoordGenerationPlaneQ in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyTextureCoordGeneration
public final void applyTextureCoordGeneration(org.jagatoo.datatypes.NamedObject texCoordGen,
int textureUnit,
org.jagatoo.datatypes.NamedObject appearance)
- Specified by:
applyTextureCoordGeneration in interface org.jagatoo.loaders.models._util.AppearanceFactory
createAppearance
public final org.jagatoo.datatypes.NamedObject createAppearance(java.lang.String name,
int flags)
- Specified by:
createAppearance in interface org.jagatoo.loaders.models._util.AppearanceFactory
createStandardAppearance
public final org.jagatoo.datatypes.NamedObject createStandardAppearance(java.lang.String name,
org.jagatoo.loaders.textures.AbstractTexture texture0,
int flags)
- Specified by:
createStandardAppearance in interface org.jagatoo.loaders.models._util.AppearanceFactory
createStandardAppearance
public final org.jagatoo.datatypes.NamedObject createStandardAppearance(java.lang.String name,
java.lang.String textureName0,
java.net.URL baseURL,
int flags)
- Specified by:
createStandardAppearance in interface org.jagatoo.loaders.models._util.AppearanceFactory
applyAppearance
public final void applyAppearance(org.jagatoo.datatypes.NamedObject appearance,
org.jagatoo.datatypes.NamedObject geometry)
- Specified by:
applyAppearance in interface org.jagatoo.loaders.models._util.AppearanceFactory
getFallbackTexture
public final Texture2D getFallbackTexture()
- Specified by:
getFallbackTexture in interface org.jagatoo.loaders.models._util.AppearanceFactory
isFallbackTexture
public final boolean isFallbackTexture(org.jagatoo.loaders.textures.AbstractTexture texture)
- Specified by:
isFallbackTexture in interface org.jagatoo.loaders.models._util.AppearanceFactory
loadTexture
public final Texture2D loadTexture(java.io.InputStream in,
java.lang.String texName,
boolean flipVertically,
boolean acceptAlpha,
boolean loadMipmaps,
boolean allowStreching,
boolean acceptFallbackTexture)
- Specified by:
loadTexture in interface org.jagatoo.loaders.models._util.AppearanceFactory
loadTexture
public final Texture2D loadTexture(java.net.URL url,
boolean flipVertically,
boolean acceptAlpha,
boolean loadMipmaps,
boolean allowStreching,
boolean acceptFallbackTexture)
- Specified by:
loadTexture in interface org.jagatoo.loaders.models._util.AppearanceFactory
loadOrGetTexture
public final org.jagatoo.loaders.textures.AbstractTexture loadOrGetTexture(java.lang.String texName,
java.net.URL baseURL,
boolean flipVertically,
boolean acceptAlpha,
boolean loadMipmaps,
boolean allowStreching,
boolean acceptFallbackTexture)
- Specified by:
loadOrGetTexture in interface org.jagatoo.loaders.models._util.AppearanceFactory
loadOrGetTexture
public final Texture2D loadOrGetTexture(java.lang.String texName,
boolean flipVertically,
boolean acceptAlpha,
boolean loadMipmaps,
boolean allowStreching,
boolean acceptFallbackTexture)
- Specified by:
loadOrGetTexture in interface org.jagatoo.loaders.models._util.AppearanceFactory
createTextureImage
public final TextureImage2D createTextureImage(org.jagatoo.opengl.enums.TextureImageFormat format,
int width,
int height)
- Specified by:
createTextureImage in interface org.jagatoo.loaders.models._util.AppearanceFactory
createTextureImage
public final TextureImage2D createTextureImage(org.jagatoo.opengl.enums.TextureImageFormat format,
int orgWidth,
int orgHeight,
int width,
int height)
- Specified by:
createTextureImage in interface org.jagatoo.loaders.models._util.AppearanceFactory
createTexture
public final Texture2D createTexture(org.jagatoo.loaders.textures.AbstractTextureImage texImage0,
boolean generateMipmaps)
- Specified by:
createTexture in interface org.jagatoo.loaders.models._util.AppearanceFactory