GithubHelp home page GithubHelp logo

Documentation about openfbx HOT 6 CLOSED

nem0 avatar nem0 commented on May 20, 2024 1
Documentation

from openfbx.

Comments (6)

nem0 avatar nem0 commented on May 20, 2024 1

Good luck. It's not that hard to write a custom loader, especially when you can look at Assimp's and OpenFBX's source.

from openfbx.

nem0 avatar nem0 commented on May 20, 2024

Demo screenshot
ofbx

from openfbx.

perkele1989 avatar perkele1989 commented on May 20, 2024

Please sir, may I have some more?

Questions / Assumptions

  1. In scene->getMesh(i)->getGeometry()->getMaterials(), do this one also work like uv/normals, and each vertex has an index to the material it uses?
  2. What the heck are clusters? They seem to be very connected to skeletons and vertex weights/indices.
  3. How are skeletons and their animations laid out in your structures? How do I get the bone hierarchy? How do I get the inverse bind pose etc.?

Cheers!

from openfbx.

perkele1989 avatar perkele1989 commented on May 20, 2024

Just to answre myself a bit, and if anyone else wonders, this specific file shows some pretty detailed ofbx usage: https://github.com/nem0/LumixEngine/blob/master/src/renderer/editor/import_asset_dialog.cpp

from openfbx.

nem0 avatar nem0 commented on May 20, 2024

from openfbx.

perkele1989 avatar perkele1989 commented on May 20, 2024

@nem0 Thanks buddy! Yeah I realized this after reading up a little more about FBX. Hopefully this thread is of help to other people, however I've personally decided to write my own loader, as the format itself isn't too complicated. This way I can fit the parsing of the loaded document to my own projects need :)

from openfbx.

Related Issues (20)

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.