37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<link rel='stylesheet' type='text/css' href='../style.css' >
|
|
<title>libigl file formats | .tgf</title>
|
|
</head>
|
|
<body class=article_outer>
|
|
<div class=article_inner>
|
|
<a href=..><img src=../libigl-logo.jpg alt="igl logo" class=center></a>
|
|
<h1>.tgf - control handle graphs</h1>
|
|
<hr>
|
|
<p>
|
|
A .tgf file contains a graph of describing a set of control handles/structures:
|
|
point controls, bones of a skelton and cages made of "cage edges".
|
|
</p>
|
|
<p>
|
|
The first part of the file consists of lines regarding each vertex of the graph. Each line reads:
|
|
</p>
|
|
<pre><code>[index] [x] [y] [z] [undocument optional data]</code></pre>
|
|
<p>
|
|
Indices begin with 1 and should proceed in order.
|
|
Then there should be a line with a sole:
|
|
</p>
|
|
<pre><code>#</code></pre>
|
|
<p>
|
|
The next section concerns the edges of the graph. Each line corresponds to an edge:
|
|
</p>
|
|
<pre><code>[source index] [dest index] [is bone] [is pseudo-edge] [is cage edge] [undocument other data]</code></pre>
|
|
<p>
|
|
Bone edges trump pseudo and cage edges.
|
|
</p>
|
|
<p>See also: <a href=.>file formats</a></p>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|