Anim8or Community
General Category => General Anim8or Forum => Topic started by: yetanotherpeter on March 17, 2009, 11:45:37 am
-
Dear All,
Is this description from 2003 still valid:
http://www.anim8or.com/resources/an8_format.txt
Suggestion for other resources, when trying to write converters?
Regards,
Peter
-
As far as I know, yes, that article is very valid. While I haven't written any scripts, I do use text modification inside my .an8 files quite often. At first glace I can't see anything that seems out of date when it's talking about file specs or syntax.
-
We are now at version 0.97,so there's been some changes.
After a quick look,I noticed that there's nothing about painted weight
and floatkey should read like this:
<floatkey> ::= floatkey { <$int> <$float> <$float> <$float>
<$string> <$float>}
<$int> is the frame number for this key.
<$float> is the angle value.
<$float> <$float> 2 factors defining the cubic interpolation curve.
<$string> is a string used to modify the behavior of this knot.
C:corner S:smooth T:step or threshold
<$float> another angle value if T:step or threshold is used.
There's probably a few more.
Claude
-
Depending on how you're trying to write the converter, maybe texel's LibAn8 (http://texel3d.free.fr/projets/liban8/index.html) C++ library could help?
-
Thanks for the hints and pointers so far. I was aiming for Python or Lua, but I can read C++, so the LibAn8 source will be a valuable reference.
-
I have also made a simple description of the .an8 file format before the official first spec was available.
It is far from beeing complete and there is maybe some errors but maybe it could help at beginning.
You can also find informations in the forum history (don't forget to search in the old forum "Original")
http://texel3d.free.fr/opengl/an8_en.htm