Hello i don’t know how to modify blender so it can export models as ogre mesh xml.
Can someone help me please?
To ask the XY question; why do you want to do that?
GLTF works great for importing to jMonkey and is supported by modern blender versions
Yes great idea but about that i somehow cannot import the animations saying that it only Supports linear interpolation .
I have an Idea.
I send you my Models and you correct my Mistakes
Did you already read this:
and its link:
Though quite ill advised to use Ogre mesh XML at this point in time. Like already stated, GLTF is the de facto format.
Cool can you help me with gtlf?
@Lenny_boi please read this.
How to ask for help as a software developer
It will help you get the answers that you need in general.
Okay my Problem with GTLF is that when i try to Import it i get the error message JME only supports linear interpolation which are applied
Your answers are very low effort. I’m no longer going to reply to this thread.
Look, either try the Ogre format, I already supplied the links. Ill advised, but maybe it’ll work for you. After that, you have two options left I suppose:
- Convert your animations to use linear interpolation only
- Create a plugin for the GTLF importer that supports whatever interpolation you are using
In blender you can change the interpolation type to linear.
However many times I forgot to change it and I was able to import them without major issues, the animations looked a bit stiffer but I got not errors.
I don’t use the SDK so maybe it is different?
Are you able to share your .blend model so others can try?
And how do i do the Second thing?
Take your favourite IDE and study jmonkeyengine/jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfLoader.java at master · jMonkeyEngine/jmonkeyengine · GitHub
Excuse me if this Question seems stupid but how do i apply this code?
Well, if I knew I would have done it already, right? Probably start investigating the code to figure out how jME does it, and what is required for it to support other interpolation modes. If still feasible, probably then studying the GTLF file format. And finally implementation and testing.
You just need some Java skills, patience and ability to learn. I don’t have any ready code to give you.
But also notice Xuan’s answer. We have already given you quite a lot of paths to go on. Try at least one of them, and report back.
Okay thanks