com.jme3.scene.plugins.blender.textures.generating
Class TextureGeneratorMarble

java.lang.Object
  extended by com.jme3.scene.plugins.blender.textures.generating.TextureGenerator
      extended by com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorWood
          extended by com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorMarble

public class TextureGeneratorMarble
extends TextureGeneratorWood

This class generates the 'marble' texture.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorWood
TextureGeneratorWood.WaveForm
 
Nested classes/interfaces inherited from class com.jme3.scene.plugins.blender.textures.generating.TextureGenerator
TextureGenerator.BrightnessAndContrastData
 
Field Summary
protected  com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorMarble.MarbleData marbleData
           
protected static int TEX_SHARP
           
protected static int TEX_SHARPER
           
protected static int TEX_SOFT
           
 
Fields inherited from class com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorWood
TEX_BAND, TEX_BANDNOISE, TEX_NOISEPERL, TEX_NOISESOFT, TEX_RING, TEX_RINGNOISE, TEX_SAW, TEX_SIN, TEX_TRI, waveformFunctions, woodIntensityData
 
Fields inherited from class com.jme3.scene.plugins.blender.textures.generating.TextureGenerator
bacd, colorBand, flag, imageFormat, noiseGenerator
 
Constructor Summary
TextureGeneratorMarble(com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator noiseGenerator)
          Constructor stores the given noise generator.
 
Method Summary
 void getPixel(TexturePixel pixel, float x, float y, float z)
           
 float marbleInt(com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorMarble.MarbleData marbleData, float x, float y, float z)
           
 void readData(Structure tex, BlenderContext blenderContext)
           
 
Methods inherited from class com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorWood
woodIntensity
 
Methods inherited from class com.jme3.scene.plugins.blender.textures.generating.TextureGenerator
applyBrightnessAndContrast, applyBrightnessAndContrast, getImageFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEX_SOFT

protected static final int TEX_SOFT
See Also:
Constant Field Values

TEX_SHARP

protected static final int TEX_SHARP
See Also:
Constant Field Values

TEX_SHARPER

protected static final int TEX_SHARPER
See Also:
Constant Field Values

marbleData

protected com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorMarble.MarbleData marbleData
Constructor Detail

TextureGeneratorMarble

public TextureGeneratorMarble(com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator noiseGenerator)
Constructor stores the given noise generator.

Parameters:
noiseGenerator - the noise generator
Method Detail

readData

public void readData(Structure tex,
                     BlenderContext blenderContext)
Overrides:
readData in class TextureGeneratorWood

getPixel

public void getPixel(TexturePixel pixel,
                     float x,
                     float y,
                     float z)
Overrides:
getPixel in class TextureGeneratorWood

marbleInt

public float marbleInt(com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorMarble.MarbleData marbleData,
                       float x,
                       float y,
                       float z)