Home
last modified time | relevance | path

Searched refs:musgraveData (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DNoiseGenerator.java350 public float execute(MusgraveData musgraveData, float x, float y, float z) { in MusgraveFunction() argument
351 …t rmd, value = 1.0f, pwr = 1.0f, pwHL = (float) Math.pow(musgraveData.lacunarity, -musgraveData.h); in MusgraveFunction()
352 … NoiseFunction abstractNoiseFunc = noiseFunctions.get(Integer.valueOf(musgraveData.noisebasis)); in MusgraveFunction()
357 for (int i = 0; i < (int) musgraveData.octaves; ++i) { in MusgraveFunction()
360 x *= musgraveData.lacunarity; in MusgraveFunction()
361 y *= musgraveData.lacunarity; in MusgraveFunction()
362 z *= musgraveData.lacunarity; in MusgraveFunction()
364 rmd = (float) (musgraveData.octaves - Math.floor(musgraveData.octaves)); in MusgraveFunction()
374 public float execute(MusgraveData musgraveData, float x, float y, float z) { in MusgraveFunction() argument
376 float pwHL = (float) Math.pow(musgraveData.lacunarity, -musgraveData.h); in MusgraveFunction()
[all …]
DTextureGeneratorMusgrave.java71 MusgraveData musgraveData = new MusgraveData(tex); in generate() local
82 musgraveFunction = NoiseGenerator.musgraveFunctions.get(Integer.valueOf(musgraveData.stype)); in generate()
86 …texres.intensity = musgraveData.outscale * musgraveFunction.execute(musgraveData, texvec[0], texve… in generate()