tgf.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <link rel='stylesheet' type='text/css' href='../style.css' >
  5. <title>libigl file formats | .tgf</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>.tgf - control handle graphs</h1>
  11. <hr>
  12. <p>
  13. A .tgf file contains a graph of describing a set of control handles/structures:
  14. point controls, bones of a skelton and cages made of "cage edges".
  15. </p>
  16. <p>
  17. The first part of the file consists of lines regarding each vertex of the graph. Each line reads:
  18. </p>
  19. <pre><code>[index] [x] [y] [z] [undocument optional data]</code></pre>
  20. <p>
  21. Indices begin with 1 and should proceed in order.
  22. Then there should be a line with a sole:
  23. </p>
  24. <pre><code>#</code></pre>
  25. <p>
  26. The next section concerns the edges of the graph. Each line corresponds to an edge:
  27. </p>
  28. <pre><code>[source index] [dest index] [is bone] [is pseudo-edge] [is cage edge] [undocument other data]</code></pre>
  29. <p>
  30. Bone edges trump pseudo and cage edges.
  31. </p>
  32. <p>See also: <a href=.>file formats</a></p>
  33. </div>
  34. </body>
  35. </html>