java.lang.IllegalStateException: Invalid texture format for blending operation: BGR8
at com.jme3.scene.plugins.blender.helpers.v249.TextureHelper.blendTexture(TextureHelper.java:1095)
at com.jme3.scene.plugins.blender.helpers.v249.MaterialHelper.toMaterial(MaterialHelper.java:196)
at com.jme3.scene.plugins.blender.helpers.v249.MaterialHelper.getMaterials(MaterialHelper.java:470)
at com.jme3.scene.plugins.blender.helpers.v249.MeshHelper.toMesh(MeshHelper.java:268)
at com.jme3.scene.plugins.blender.helpers.v249.ObjectHelper.toObject(ObjectHelper.java:178)
at com.jme3.scene.plugins.blender.utils.JmeConverter.toObject(JmeConverter.java:123)
at com.jme3.scene.plugins.blender.BlenderModelLoader.load(BlenderModelLoader.java:131)
at com.jme3.scene.plugins.blender.BlenderModelLoader.load(BlenderModelLoader.java:71)
As far as i see it from the code only 3 formats (ABGR8, RGB8 and Luminance8) are supported.
I toke i quick look at the source but can't find a quick fix. ^^
A very funny thing that happens to me when I enable the blender plugin is I can’t open any projects. If I try to open a project at the top right corner of the folder navigator where it specifies the project name, it just keeps on saying “Please Wait…” and I am rendered unable to open any projects. If i disable it, all works fine.
Is this a common problem? Is there a way to fix it?
My first post on these wonderously lovely forums, Hi all!
EDIT : I feel a bit awkward for not waiting the extra 2 hours. Downloaded the latest updates, and they solved the issue at hand! I can convert .blend files to .j3o now! And everything else works too! Wonderful
mifth said:
Hi, I have got some feature requests. If I may:
1 Import "Empties" in blender as empty nodes.
2 Import custom properties of an object from blender to j3o node. j3o node now has custom properties.
Uploaded with ImageShack.us
if by empty nodes you mean they can be used as location markers, like for setting up spawn points and such yeah that will be cool.........as for the loader all the test files that seem to have in animations our textures crash the test app in jme3....for me.........just took a quick look over the weekend, should have posted them then but.... I can throw u a couple stack traces if u like when I get home
Kaelthas said: @mcbeth
Post the files that crash here. I'll look into them.
well I was testing the files you uploaded to the repo, didn't have time to test any of mine, I'll give you a list of those that crashed and see if I can load any of mine ASAP
Kaelthas said:
OK, I know it took me long time, but finally I solved the problem.
When the material had normal map set and used vertex coloring then it didn't show up on the model.
I disabled vertex colors when the normal texture is set.
Thanks! Seems to be ok now. ^^
Kaelthas said:
But I'm not sure if the fact that those two cannot appear at the same time is a bug or feature :D
If someone knows that - please let me know ;)