Ogre mesh with animation is not converted to J3O[BUG]

Hi guys.

I cannot load/convert ogre file with animation with JME 3.0 official.
Here is the files:
http://rise-of-mutants.googlecode.com/hg/dev/trunk/TechDemo/assets/Scenes/TestScene/character.material
http://rise-of-mutants.googlecode.com/hg/dev/trunk/TechDemo/assets/Scenes/TestScene/character.mesh.xml
http://rise-of-mutants.googlecode.com/hg/dev/trunk/TechDemo/assets/Scenes/TestScene/character.skeleton.xml

This model was converted OK with JME-RC, JME-Beta.
But JME-3.0-Official does not convrt it neither with SDK(RightClick on the model), nor with code (assetManager.loadModel()).

LOG With Code:
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalArgumentException: Num components must be between 1 and 4
at com.jme3.scene.VertexBuffer.createBuffer(VertexBuffer.java:907)
at com.jme3.scene.Mesh.extractVertexData(Mesh.java:1176)
at com.jme3.scene.plugins.ogre.MeshLoader.compileModel(MeshLoader.java:776)
at com.jme3.scene.plugins.ogre.MeshLoader.load(MeshLoader.java:892)

I’ll look into it

@nehon said: I'll look into it

Thanks. The issue is in animationControl. If I export the model without Skeleton, so it will be imported ok.

@mifth, that’s fixed in last SVN

1 Like
@nehon said: @mifth, that's fixed in last SVN

Yahoo! Thanks a lot!

EDIT: even if you download the latest version, seems a manual update query is required (at least was in my case).

@nehon hello again!

I downloaded latest nightly build and now i have such an exception with shaderBlow projeckt. It seems it’s with GPU skinning.

LOG:

I downloaded this build: http://updates.jmonkeyengine.org/nightly/3.0/engine/jME3_2013-10-29.zip

I tested this class: https://code.google.com/p/jmonkeyplatform-contributions/source/browse/trunk/shaderblowlib/ShaderBlow/test-src/com/shaderblow/test/glass/TestGlass.java

Edited:
Yes, if i comment these lines i’ll have no exception. The issues is in GPU skinning.
[java]
// skeletonControl5.setHardwareSkinningPreferred(true);
[/java]

1 Like

Thanks for the test case it’s fixed in last SVN

@nehon said: Thanks for the test case it's fixed in last SVN

Great! Thank you too! :slight_smile: