Model file type most suited for skeleton animations?

Started by
5 comments, last by RobTheBloke 13 years ago
I've heard that the obj. format is not good for making skeletal animations. Do you recommend using a another file type that already exist, or should I create my own file type that supports skeletal animations?
Advertisement
What choices do you have to select from? I assume you're restricted to whatever functioning exporters you have from some kind of modeling package?
[size=2]My Projects:
[size=2]Portfolio Map for Android - Free Visual Portfolio Tracker
[size=2]Electron Flux for Android - Free Puzzle/Logic Game
.obj is for mesh data. Also it is old and shitty.

For skeletal, there is .x or milkshape
md5 but md5 belongs to id games.

Better yet, invent your own format.
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

Better yet, invent your own format.


^^ that ^^

And write a small external tool to convert data from .x / .fbx / dot xsi / crosswalk / collada to your own format.

[quote name='V-man' timestamp='1301664796' post='4793042']
Better yet, invent your own format.


^^ that ^^

And write a small external tool to convert data from .x / .fbx / dot xsi / crosswalk / collada to your own format.
[/quote]

I was planning on making models in Maya and loading them into OpenGL. How do I create a 3D model format that supports skeletal animation and make and Maya exporter for the format? Are there any tutorials/books on that?
Nope, but you can mimic the functionality of those formats. I learnt the ms3d spec, and created my own format that only stores relevant data.
Are there any tutorials/books on that?



http://nccastaff.bournemouth.ac.uk/jmacey/RobTheBloke/www/research/index.htm

This topic is closed to new replies.

Advertisement