[solved] Lots of warning with WardIso and Minnaert

Hello,

I noticed that i have a tons of warning polluting my program’s output, they seems to be caused when i load objects with assetManager.loadModel.
I don’t remember exactly since when it appeared, probably when i switched versions of JME (i currently have the 3.2).
All warnings are the following two repeated dozen of times, without more explaination:

WARNING: The material parameter is not defined: WardIso. Ignoring..
juil. 06, 2019 10:08:02 PM com.jme3.material.Material read
WARNING: The material parameter is not defined: Minnaert. Ignoring..
juil. 06, 2019 10:08:02 PM com.jme3.material.Material read

I saw that words “Minnaert” and “WardIso” are present in all *.j3o binaries created from my imported models.
I import from *.dae format, mostly from Google Sketchup.

Does anyone know what is the meaning of those, and if there is a way to fix it ?
Or, a way to disable only those two warnings.

Thanks in advance,

Ga3L

Did you import them with the same version of JME that you are using? Or are you relying on old conversions?

It’s possible that the dae importer is making old-style materials. That’s all these warnings mean… the material was setup with a parameter that no longer exists.

2 Likes

I imported them with the old version of JME, this was the reason: the warnings disappear if i reimport models with the current version of JME !

Thanks a lot !

3 Likes