Hi to all!
Is any tutorial/example workflow/etc about how prepare animation in .blend 2.5 file to import in JME3?
When I’m try to load a j3o file in JME this work fine, but this crash on:
I’m guess that is something wrong with blend file. Probably I’m should name a animation in blend file but I’m only was able to found blender 2.4 tutorial about it.
Hi to all!
Try export using ogreXML exporter.
Then to load just do:
Node model = (Node) MainClass.getAsset().loadModel(name + ".mesh.xml");
control = model.getControl(AnimControl.class);
channel = control.createChannel();
Animation has to be bone animation.
How to name a animation when .blend file imported with blender support plugin?
I was think that is needed some special procedure.
Sorry for doubleposting.
But even if I’m added named animation in blender (animation is listened in Blender outliner window), JME do a “null pointer exception” when I’m try to add animation listener.
Open the model in jMP, select the AnimControl and check the list of names. If no animation is listed, make sue you select them when exporting.
In jMP? Where in jMP is AnimControl. I can’t find it.
Open the model and look at the SceneExplorer. If no AnimControl is there, no animation has been exported.
By “open the model” you means “edit in SceneComposer”?
If yes, this don’t display nothing in SceneExplorer. Absolutely nothing. Only “update” button. Any meshes., any stuff nothing.
This display nothing even if I’m “open” a .j3o files that loaded fine in JME3.
So the j3o is empty, the data is not compatible or not stored in “layer 1” of blender.
But this is also with j3o files from jme3 test data library.
For example: buggy.j3o
SceneExplorer is complety “blank”
So you either get an exception (warning sign in bottom right) or you are looking at the wrong window.
I’m always get a series of exceptions because JME3 Scene Viewer is bugful feature.
Please report the exceptions.
Also, remember that jMP follows a crash by design approach
At the begin we get a classical (;)) jMP SceneViewer exceptions:
java.lang.IllegalStateException: Display not created
[catch] at java.lang.Thread.run(Thread.java:636)
When we try to "Edit in SceneComposer" *.j3o file this is loaded without errors, exceptions etc.
Only problem that SceneExplorer is blank (even after update):
Is there a way that exception can be reproduced step by step after booting from jMP? I have never seen that one before
jme3’s canvas still sucks as it seems. is that foobartu? err… ubuntu?