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

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

public class TextureGeneratorMusgrave
extends TextureGenerator

This class generates the 'musgrave' texture.


Nested Class Summary
protected static class TextureGeneratorMusgrave.MusgraveData
           
 
Nested classes/interfaces inherited from class com.jme3.scene.plugins.blender.textures.generating.TextureGenerator
TextureGenerator.BrightnessAndContrastData
 
Field Summary
protected  TextureGeneratorMusgrave.MusgraveData musgraveData
           
protected  com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator.MusgraveFunction musgraveFunction
           
protected  float noisesize
           
protected  int stype
           
 
Fields inherited from class com.jme3.scene.plugins.blender.textures.generating.TextureGenerator
bacd, colorBand, flag, imageFormat, noiseGenerator
 
Constructor Summary
TextureGeneratorMusgrave(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)
           
 void readData(Structure tex, BlenderContext blenderContext)
           
 
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

musgraveData

protected TextureGeneratorMusgrave.MusgraveData musgraveData

musgraveFunction

protected com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator.MusgraveFunction musgraveFunction

stype

protected int stype

noisesize

protected float noisesize
Constructor Detail

TextureGeneratorMusgrave

public TextureGeneratorMusgrave(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 TextureGenerator

getPixel

public void getPixel(TexturePixel pixel,
                     float x,
                     float y,
                     float z)
Specified by:
getPixel in class TextureGenerator