Hi,
I’ve tried to set a default value to a Vector3 field inside the .j3md file like this:
…
Float ParallaxHeight : 0.05
…
Vector3 LightDir : 0.0 -1.0 0.0
But it fails while parsing Vector3 inside the j3md file:
Caused by: java.io.IOException: Vector3 value parameter must have 3 entries: 0.0
at com.jme3.material.plugins.J3MLoader.readValue(J3MLoader.java:191)
at com.jme3.material.plugins.J3MLoader.readParam(J3MLoader.java:274)
at com.jme3.material.plugins.J3MLoader.readMaterialParams(J3MLoader.java:308)
at com.jme3.material.plugins.J3MLoader.loadFromRoot(J3MLoader.java:563)
at com.jme3.material.plugins.J3MLoader.load(J3MLoader.java:577)
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:288)
… 24 more
hope this helps
regards
Alrik