3DS Model Loader Sample Updated

I updated the sample for the 3DS Loader. It now includes all the project files you need and a sample shader that can handle the basic materials in the sample model. You can build the application and it will show you the model and rotation. I don’t really have much more time to spend on any sample code ATM so hopefully this provides the needed help for anyone trying to use 3DS models in their XNA game.

The Mesh.cs file contains the custom vertex type a very bare-bones util class and a simple effect object wrapper.

Download the updated sample

Screenshot of Sample Application

This entry was posted in game programming, xna. Bookmark the permalink.

6 Responses to 3DS Model Loader Sample Updated

  1. tridex says:

    Hi,

    wow, fantastic your a man of your words,

    I will convert this to vb.net and test it out , will send you demo once done today,

    Listen I have lots of vode excpecially 3D Maths that have may functions to simplify coding games, way more than the XNA frame work, coud convert it to c#, a demo of the classes are located here:

    http://www.tridexconsultants.co.uk/pages/downloads/TridexMath.zip

    so if you wish I can use .net Reflector to convert to c#

    Thank You … Tridex…

  2. tridex says:

    Hi,

    Should I be viewing Textured Models, tryed out a small textured mushroom, But did not render, just blue screen, everthing else works?

    .. Tridex…

  3. proj says:

    I haven’t really tried too many sample models yet with this code. If you would post a link to your model I can see why it’s not loading in the sample correctly. I tried to collect as much information about all chunk types as possible and correctly parse them but they don’t yet make it to the mesh wrapper.

  4. hoirul says:

    Hello Mr.Jacob, thank you very much for your source code and tutorial. However when i compiled the code i found two errors? namespace ‘component’ doesnt exist?

    using Microsoft.Xna.Framework.Components; private Microsoft.Xna.Framework.Components.GraphicsComponent graphics;

    could you give solution for this

    Thank You very much Mr.Jacob

  5. xna says:

    Thanks a lot for your XNA samples. This is good work and keep on blogging.)

  6. CentauriBoy says:

    Nice dude! Took me less than 10 minutes to update your code to XNA 3.1 and it works like a charm. =] Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>