Creating random procedural texture?

hi, i wanted to use NeoTexture api to influence the generated texture parameters so i can create a random texture dynamically when my application runs. I downloaded it from jmonkeyplatform-contributions trunk

i try this :


NeoTextureMaterialKey key = new NeoTextureMaterialKey(“NeoTexture/newexample_Lava.tgr”);

Material wall = assetManager.loadAsset(key);


Result :

WARNING: loading of param transformation failed.

WARNING: loading of param 1.0 failed.

WARNING: loading of param 0.0 failed.

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.IllegalArgumentException: Material parameter is not defined: lava_d

at com.jme3.material.Material.checkSetParam(

at com.jme3.material.Material.setTextureParam(

at com.jme3.material.Material.setTexture(

at com.jme3.material.plugins.NeoTextureMaterialLoader.load(

at com.jme3.asset.DesktopAssetManager.loadAsset(

Can anyone make an example on how to use its api please ? If its not too much ask ofc. thank you.

Yes, i know i can use the editor to create static images but then the game wont be truly random.

ok i found this : usage example

now i can load the “.tgr file” correctly, but is there any way to change its parameters before its loaded ?

E.g changing perlin’s noise seed so they can be random.