Jump to content
  • Advertisement
Sign in to follow this  
kronus980

Specific Model Format

This topic is 2183 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

Hello again, it's been a while since I've posted. I was originally programming in java but over the course of these months I've been studying more C and just a bit of C++. I would think I'm ready for graphics with games now. I've been wondering what is the preferred model format for beginners? And texture format? I would assume .bmp would be the easier choice for textures. But yes:

-Direct X: What model? .X? .MD2-3?
-Texture: .DDS? .BMP?

Any advice/help/suggestions/tutorials would be appreciated. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
I think .obj format would be suitable, it's very easy to import and has exporters available for it in almost all the applications.

In DirectX9 you can load .X using the D3DXLoadMeshFromX
http://msdn.microsoft.com/en-us/library/windows/desktop/bb172890%28v=vs.85%29.aspx
DirectX10 and 11 do not provide this.

You can also use the AssImp library to import your assets.
http://assimp.sourceforge.net

Share this post


Link to post
Share on other sites

Textures are usually DDS or PNG. Bitmap and jpeg dont have transparency. PNG is slightly more resource intensive than DDS but easier to work with and for a beginners game will make little to no difference.


It may not be all too important right now, but do keep in mind for future reference that there's quite a difference between what a DDS and a PNG file can contain. A PNG file is a PNG-compressed bitmap image format, while DDS is a texture format with support for a wide range of compression and color formats (including compressed formats which can be uploaded to the GPU directly), multi-dimensional textures, cube maps, inclusion of additional texture data like mipmaps, and more.

Right now I'd agree to go for PNG for simplicity, but in the end it might be worth your while to take a look at DDS

Share this post


Link to post
Share on other sites

I think .obj format would be suitable, it's very easy to import and has exporters available for it in almost all the applications.

In DirectX9 you can load .X using the D3DXLoadMeshFromX
http://msdn.microsof...0(v=vs.85).aspx
DirectX10 and 11 do not provide this.

You can also use the AssImp library to import your assets.
http://assimp.sourceforge.net

I like .X and .obj. Hmm I may end up going with .X though. I will return here if I need any help thanks again.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!