Giter Site home page Giter Site logo

Comments (10)

midn1 avatar midn1 commented on September 27, 2024 1

I would like this, too. As FBX converter for some reason screws everything up.

from libgdx_blender_g3d_exporter.

ashkitten avatar ashkitten commented on September 27, 2024

I did make sure that the "fake user" option was checked by the way

from libgdx_blender_g3d_exporter.

dilom avatar dilom commented on September 27, 2024

Dope Sheet actions do export it seems, but I run into problems when I edit key frames in one of the actions and then only one of them (I guess the first? or maybe root bone?) action export. It seems there is something that needs to be reset on the armature, but I can't figure it out yet. All actions work fine in blender, which makes debugging a little difficult.
Do you get no actions(listed under "Animations") at all in your file when you export?

from libgdx_blender_g3d_exporter.

dilom avatar dilom commented on September 27, 2024

I think I have found out why I had problems with my actions. Hopefully this helps other people. I have two simple actions one is Move the other one is Rotate. My Move action exports every time, while my Rotate action exports only if it is a Quternion Rotation. Since, I need a very simple one axis rotation I was trying to simplify it to a EULER rotation but when I do the Rotation action does not get exported.

from libgdx_blender_g3d_exporter.

Dancovich avatar Dancovich commented on September 27, 2024

@dilom That makes sense. I read the Python property for quaternion rotations but my initial belief was that no matter the kind of rotation I read Blender would always convert the actual value and return it.

From your report it seems that's not the case, it will only return quaternion rotations if that's the kind you're using.

Thanks for the report. I'll check if I can verify which rotation is being used and convert if necessary.

from libgdx_blender_g3d_exporter.

orodri avatar orodri commented on September 27, 2024

I am having this issue as well. After exporting I have 0 animations. Does anyone have a fix for this? I'll attach the .blend file I'm using and the exported files as well.
animation_issues.zip

from libgdx_blender_g3d_exporter.

Dancovich avatar Dancovich commented on September 27, 2024

@orodri You had the same problem as dilom, your rotation animation was using Euler rotations and my exporter doesn't convert them to quaternions (G3D only supports quaternion rotations).

I semi-fixed your animation by converting the rotation to quaternions and the animation exported as usual. I say "semi" because for some reason your action isn't looping after the change, but I believe you can fix that.

Below is the fixed file.

animation_issues_fixed.zip

from libgdx_blender_g3d_exporter.

orodri avatar orodri commented on September 27, 2024

Thank you.

from libgdx_blender_g3d_exporter.

vittfiles avatar vittfiles commented on September 27, 2024

Hi.
If anyone could give me some advice because I try to export a model with multiple animations and when I import it into libgdx the animations and the model look warped.
model.zip
It is important because I want to add this plugin in the BDX project.

from libgdx_blender_g3d_exporter.

vittfiles avatar vittfiles commented on September 27, 2024

I found that if you create an animation it saves correctly but if you create two animations the first animation is the sum of the first and the second animation and the second animation is like the sum of that new first animation and the second animation.

from libgdx_blender_g3d_exporter.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.