1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mesh importer for 3ds max

Discussion in 'Tool Releases' started by Sir Kane, Sep 9, 2013.

  1. I've created a SR3 model importer for 3ds max 2010, 2011, 2012 and 2013 (x86 and x64 versions). It currently supports ccmesh_pc and rig_pc.

    It does very little validation when importing, so it may crash (e.g. when using a rig with too few bones). If you are sure you did everything right and it crashes/produces unexpected results anyways, post the name of the file you tried to import and what happened. Certain mesh configurations are unhandled (more than one vertex stream, no vertex streams at all, a certain flag).

    Requires the VC2012 CRT (http://www.microsoft.com/en-us/download/details.aspx?id=30679).

    While I compiled this for various versions of Max, I only tested the 2012 x64 built, so post results of the other versions.

    Attached files contain the x86 and x64 builds for each version and the source for it.

    Update 1:
    Refactored importing code to correctly support multiple vertex streams per mesh and added basic car import support (all the car parts will be at origin instead of their correct initial positions).
     

    Attached Files:

    Last edited: Sep 19, 2013
    Derekleet, Milkydude, B.D.W. and 9 others like this.
  2. [GoSP] Jon

    [GoSP] Jon Screw you all

    I'm using 3ds Max 2011 and it crashes upon trying to load any model. Considering you wrote the plugin for 2012, there's a good chance it's not backwards compatible.

    EDIT: It works beautifully when running in 32 bit.
     
    Last edited: Sep 9, 2013
  3. Turns out I do have 2011 installed and just tested the plugin for it, it's working just fine. You sure you used the right one?
     
  4. Well done sir! We don't even have this.

    Although, we do have the original source files. :)
     
    [GoSP] Jon and hoeward like this.
  5. Thanks, but I sadly have to redo like half of it to support multiple vertex streams correctly!
     
  6. [GoSP] Jon

    [GoSP] Jon Screw you all

    Read my edit. It works fine when running in 32 bit mode.
     
  7. GPZ

    GPZ

    I tested it today and it loads all geometry and UV mapping, the 2013 plug-in works perfectly fine on Max 2014.
     
  8. Just for curiosity. Can you export the Boss you've created?
     
    Methdude likes this.
  9. [GoSP] Jon

    [GoSP] Jon Screw you all

    Nope. This exporter only takes files within the game files themselves, so that only leaves NPCs, weapons, and some props. The boss's information is stored in the save file. I can't be certain of this without verifying it with a V, but I would think the save file information is used with morph targets on a base player mesh, so a baked separate boss file wouldn't exist.
     
    Milkydude likes this.
  10. I hope you can confirm this with V, as so many people keep asking for mods that make use of the players character and iv not been able to give them a straight anser :)
     
    Milkydude and Methdude like this.