public class TextureGeneratorVoronoi extends TextureGenerator
TextureGenerator.BrightnessAndContrastData
Modifier and Type | Field and Description |
---|---|
protected float[] |
da |
protected com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator.DistanceFunction |
distanceFunction |
protected float[] |
hashPoint |
protected float |
mexp |
protected float |
noisesize |
protected float |
outscale |
protected float[] |
pa |
protected int |
voronoiColorType |
protected float[] |
voronoiWeights |
protected float |
weightSum |
bacd, colorBand, flag, imageFormat, noiseGenerator
Constructor and Description |
---|
TextureGeneratorVoronoi(com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator noiseGenerator)
Constructor stores the given noise generator.
|
Modifier and Type | Method and Description |
---|---|
void |
getPixel(TexturePixel pixel,
float x,
float y,
float z) |
void |
readData(Structure tex,
BlenderContext blenderContext) |
applyBrightnessAndContrast, applyBrightnessAndContrast, getImageFormat
protected float noisesize
protected float outscale
protected float mexp
protected com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator.DistanceFunction distanceFunction
protected int voronoiColorType
protected float[] da
protected float[] pa
protected float[] hashPoint
protected float[] voronoiWeights
protected float weightSum
public TextureGeneratorVoronoi(com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator noiseGenerator)
noiseGenerator
- the noise generatorpublic void readData(Structure tex, BlenderContext blenderContext)
readData
in class TextureGenerator
public void getPixel(TexturePixel pixel, float x, float y, float z)
getPixel
in class TextureGenerator