Coder Social home page Coder Social logo

Comments (8)

Joschuka avatar Joschuka commented on September 9, 2024

Yeah I noticed. I'll take a look after adding animation support.

from fmt_mmdl.

Reploidsham avatar Reploidsham commented on September 9, 2024

The skeleton seems to export weird is what it is, the head bone is still connected so something goes weird on bone orientation.

Edit: I'm adding in a thanks for your hard work .I expected you to stop when you said you were going to before because you immediately did a good amount in regards to unpacking for this.

from fmt_mmdl.

steventylerseanherr avatar steventylerseanherr commented on September 9, 2024

i dont think it is related to the skeleton as the head bone is where it should be (right at the top of the neck bone)

its just the verts inside the mesh object are offset by something
i talked to m-1 about it on discord and they assume its something related to bone indices

and yeah i really owe you joschuka and m-1 for working on the model formats
i love you guys and thanks so much for whats already done

from fmt_mmdl.

Joschuka avatar Joschuka commented on September 9, 2024

The skeleton seems to export weird is what it is, the head bone is still connected so something goes weird on bone orientation.

Are you referring to the weird bones orientation in Blender ? If you use fbx this is unfortunately due to Blender's default fbx importer and its conventions used to represent bones. You get the same problem if you import some fbx exported from Unreal Engine. The bones do deform correctly but they'll look messy, what I usually suggest is to change the bone shape to something custom like spheres or use the betterfbx plugin to load these correctly, here's a comparison :

default

betterfbx

I still don't know why they adopted this representation, it just confuses people on the whole concept of joint for deformation and leads to dumb things like this, with all these tails hanging around for the end bones.
But well it works at least and the animations too, it's just not very pleasing to look at if you don't change the shape.

Edit: I'm adding in a thanks for your hard work .I expected you to stop when you said you were going to before because you immediately did a good amount in regards to unpacking for this.

You're welcome, I was planning to but the hash function was figured out and since it was the only thing I was missing for animation support I decided to work more on the format.

i dont think it is related to the skeleton as the head bone is where it should be (right at the top of the neck bone)

its just the verts inside the mesh object are offset by something i talked to m-1 about it on discord and they assume its something related to bone indices

Indeed, it's a pure geometry problem, basically some meshes with a special skinning type have to be transformed but apparently it fails on a few of these, I'll have to investigate why now that anim support is implemented, maybe this week-end if I have the time or next week, M-1 is taking a look at it too so he may solve it before me.

and yeah i really owe you joschuka and m-1 for working on the model formats i love you guys and thanks so much for whats already done

You're welcome, glad you enjoy the plugin.

from fmt_mmdl.

Joschuka avatar Joschuka commented on September 9, 2024

Alright I finally took a look and pushed a new version, let me know how it goes.

from fmt_mmdl.

Bearborg avatar Bearborg commented on September 9, 2024

This version fixed a lot of models, but some others still appear to have issues. actors\characters\gobbler\models\gobbler_test.bcmdl and actors\characters\chozowarrior\models\chozowarrior.bcmdl are two examples where the displaced meshes have moved from their previous locations, but still don't appear to be in the right locations.
image
image

from fmt_mmdl.

steventylerseanherr avatar steventylerseanherr commented on September 9, 2024

yep
hyper suit samus is fixed
the chozo commander models is fixed
samuss cutscene face models are fixed as well
but like bearborg said the chozo warriors have problems (and probably more)

from fmt_mmdl.

Joschuka avatar Joschuka commented on September 9, 2024

Ok M-1 found the issue and I pushed some fixes, let me know if some models are still broken.

from fmt_mmdl.

Related Issues (2)

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.