tags:

views:

214

answers:

1

Hi all
I am a bigginer in game programming and now I write 3D game with DirectX 10 which can be free downloaded from website. I need some animation 3D models for game personals. What is the best format for models?
Thanks.

+1  A: 

As you have asked this question, I'd go with obj file format.

Very simple, and recommended for your first model format.

See this for more information.

Finglas
Can animation be holded in obj file?
Samvel Siradeghyan
Depends, key-frame animation can be. I often take a obj file and customise it to my liking. It depends on what your modeller outputs.
Finglas
Dockers can you give link with code example?
Samvel Siradeghyan
Keyframe animation summary http://en.wikipedia.org/wiki/Key_frame. As for a code example, my other answer details how to read in a model. For animation, you'd need to read in several, and use linear interpolation to transform the meshes between each key frame. If you need complex animation, you might wanna try Googling for a library or example to get you started. Not necessarily using the obj file format. I use .fx models mainly, but that is with XNA.
Finglas