Git Product home page Git Product logo

Comments (4)

Notexe avatar Notexe commented on June 11, 2024

Just want to confirm that this is with "Include All Bone Influences" enabled in the export settings in Blender?

from rpkg-tool.

HMBM47 avatar HMBM47 commented on June 11, 2024

Just want to confirm that this is with "Include All Bone Influences" enabled in the export settings in Blender?

Yes. Of course.

from rpkg-tool.

HMBM47 avatar HMBM47 commented on June 11, 2024

Interesting tidbit, this seems to be ALL the weight numbers that are actually exported by RPKG Tool.
Every single weight of the original PRIM meshes follow this formula.
It seems RPKG Tool actually uses this same formula to round out the weight values of the custom .PRIM when it's rebuilt. (If the exported .glb of the custom .PRIM is an accurate representation of how it was imported.)
But in doing so, it usually mean those numbers don't add up to 1.0.

Even
0.002 = 0.001961
0.004 = 0.003922
0.006 = 0.005882
0.008 = 0.007843
0.010 = 0.009804
0.012 = 0.011765
0.014 = 0.013725
0.016 = 0.015686
0.018 = 0.017647
0.020 = 0.019608
0.022 = 0.021569
0.024 = 0.023529
Odd
0.025 = 0.02549
0.027 = 0.027451
0.029 = 0.029412
0.031 = 0.031373
0.033 = 0.033333
0.035 = 0.035294
0.037 = 0.037255
0.039 = 0.039216
0.041 = 0.041176
0.043 = 0.043137
0.045 = 0.045098
0.047 = 0.047059
0.049 = 0.04902
0.051 = 0.05098
0.053 = 0.052941
0.055 = 0.054902
0.057 = 0.056863
0.059 = 0.058824
0.061 = 0.060784
0.063 = 0.062745
0.065 = 0.064706
0.067 = 0.066667
0.069 = 0.068627
0.071 = 0.070588
0.073 = 0.072549
0.075 = 0.07451
Even
0.076 = 0.076471
0.078 = 0.078431
0.080 = 0.080392
0.082 = 0.082353
0.084 = 0.084314
0.086 = 0.086275
0.088 = 0.088235
0.090 = 0.090196
0.092 = 0.092157
0.094 = 0.094118
0.096 = 0.096078
0.098 = 0.098039

0.1 = 0.1
0.2 = 0.2
0.3 = 0.3
0.4 = 0.4
0.5 = 0.5
0.6 = 0.6
0.7 = 0.7
0.8 = 0.8
0.9 = 0.9

Example of weights of a single vertex in Blender:
0.173 = 0.172549
0.012 = 0.011765
0.522 = 0.521569
0.243 = 0.243137
0.027 = 0.027451
0.024 = 0.023529

from rpkg-tool.

Notexe avatar Notexe commented on June 11, 2024

Fixed in 32f6da5

from rpkg-tool.

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.