Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Model file type most suited for skeleton animations?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 tapir   Members   -  Reputation: 100

Like
0Likes
Like

Posted 31 March 2011 - 01:31 PM

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?

Sponsor:

#2 karwosts   Members   -  Reputation: 840

Like
0Likes
Like

Posted 31 March 2011 - 02:51 PM

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?
My Projects:
Portfolio Map for Android - Free Visual Portfolio Tracker
Electron Flux for Android - Free Puzzle/Logic Game

#3 V-man   Members   -  Reputation: 805

Like
0Likes
Like

Posted 01 April 2011 - 07:33 AM

.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);

#4 RobTheBloke   Crossbones+   -  Reputation: 2349

Like
0Likes
Like

Posted 01 April 2011 - 09:17 AM

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.

#5 tapir   Members   -  Reputation: 100

Like
0Likes
Like

Posted 06 April 2011 - 10:03 AM


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.


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?

#6 Bow_vernon   Members   -  Reputation: 179

Like
0Likes
Like

Posted 06 April 2011 - 10:09 AM

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.

#7 RobTheBloke   Crossbones+   -  Reputation: 2349

Like
0Likes
Like

Posted 08 April 2011 - 10:47 AM

Are there any tutorials/books on that?



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





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS