bf.html 1.0 KB

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <link rel='stylesheet' type='text/css' href='../style.css' >
  5. <title>libigl file formats | .bf</title>
  6. </head>
  7. <body class=article_outer>
  8. <div class=article_inner>
  9. <a href=..><img src=../libigl-logo.jpg alt="igl logo" class=center></a>
  10. <h1>.bf - bone forests</h1>
  11. <hr>
  12. <p>
  13. A .bf file contains a "bone forest". Normally a skeleton for linear blend
  14. skinning is a "bone tree" with a single root. But this format may store
  15. multiple trees, hence a forest.
  16. <p>
  17. Each line contains data about a vertex (joint) of the bone forest:
  18. </p>
  19. <pre><code>[weight index] [parent index] [x] [y] [z] [undocument optional data]</code></pre>
  20. <p>
  21. Indices begin with 0. The weight index is -1 if the bone does not have an
  22. associated weight. The parent index is -1 for root nodes. The x,y,z coordinates
  23. are offset vectors from this joint's parent's location (for roots, an offset
  24. from the origin).
  25. </p>
  26. <p>See also: <a href=.>file formats</a></p>
  27. </div>
  28. </body>
  29. </html>