goat3d

view doc/goatanimfmt @ 58:d317eb4f83da

- made everything compile properly on windows again - removed libanim/libvmath, we'll use them as external dependencies - added new maxgoat_stub 3dsmax plugin project. Gets loaded as a max plugin and loads the actual maxgoat (and later maxgoat_anim) exporters on demand, to allow reloading the actual exporters without having to restart 3dsmax (which takes AGES).
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Mar 2014 03:19:55 +0200
parents b35427826b60
children
line source
1 Goat3D animation file format
2 ----------------------------
4 Chunk structure
5 ---------------
6 Multiple tracks might apply to the same node, to allow for different
7 interpolation, extrapolation, and time ranges between position, rotation, and
8 scaling tracks.
10 ANIM
11 +--ANIM_NAME
12 | +--<STRING>
13 +--TRACK
14 +--TRACK_NAME
15 | +--<STRING>
16 +--TRACK_NODE
17 | +--<STRING> (name of the scene node using this track)
18 +--TRACK_ATTR
19 | +--<STRING> (specify the attribute affected, see NOTE1)
20 +--TRACK_INTERP
21 | +--<STRING> ("step", "linear", "cubic")
22 +--TRACK_EXTRAP
23 | +--<STRING> ("extend", "clamp", "repeat", "pingpong")
24 +--TRACK_KEY
25 +--TRACK_KEY_TIME
26 | +--<INT> (time in milliseconds)
27 +--TRACK_KEY_VALUE
28 +--<FLOAT|FLOAT3|FLOAT4>
30 NOTE1: The attribute might be any user-defined string, but the following
31 standard attribute names are specified:
32 - "position" keys are (x,y,z) vectors
33 - "rotation" keys are (x,y,z,w) quaternions, with w being the real part
34 - "scaling" keys are (x,y,z) scale factors