Jump to content
  • Advertisement
Sign in to follow this  
derek7

give up the .x format

This topic is 4619 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to give up .x format.use a myself or other file format, any links about it are welcome.

Share this post


Link to post
Share on other sites
Advertisement
There's nothing to it really. You could have a look on Wotsit.org for a list of 3D model formats to get a rough idea, but it's generally pretty simple.
You just need a format that lets you store vertices and commands, or vertices and indices, and possibly textures and other information.
The MD2 format is nice, I wrote a loader for that in a couple of hours. It's so simple because all the data is just one huge triangle list. You need to do a little bit of editing though, since it's designed for OpenGL. Namely, you need to swap the Z axis and the winding order of the triangles.

Share this post


Link to post
Share on other sites
Quote:
Original post by Evil Steve
There's nothing to it really. You could have a look on Wotsit.org for a list of 3D model formats to get a rough idea, but it's generally pretty simple.
You just need a format that lets you store vertices and commands, or vertices and indices, and possibly textures and other information.
The MD2 format is nice, I wrote a loader for that in a couple of hours. It's so simple because all the data is just one huge triangle list. You need to do a little bit of editing though, since it's designed for OpenGL. Namely, you need to swap the Z axis and the winding order of the triangles.


do you mean load mesh, texture ,material and relation between them? and the animation data :matrix list and relation between matrix and vertex?

Share this post


Link to post
Share on other sites
If you're looking for a good 3d mesh format package that supports 3d skinning and bones with animation, Cal3D ( http://cal3d.sourceforge.net/ ), it's opensource and powerful and platform/graphic API independent.

Share this post


Link to post
Share on other sites
Quote:
Original post by SAL1
If you're looking for a good 3d mesh format package that supports 3d skinning and bones with animation, Cal3D ( http://cal3d.sourceforge.net/ ), it's opensource and powerful and platform/graphic API independent.

If you want another format with skinning, apparently MD5 isn't bad either. If you want a static mesh, a lot of people have written .3ds loaders as well (articles are here on gamedev, too).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!