Skip to content

Update to .Net 6 and materials improvements

Compare
Choose a tag to compare
@Markemp Markemp released this 09 Oct 14:47
· 12 commits to master since this release
6330ff5

Lots of goodies happening here!

  • Updated the solution to .Net 6 and converted many files to take advantage of file scoped namespaces (as well as general code cleanup).
  • Fixed material handling! It is more important than ever to ensure the game's object directory path is set up, since the converter really needs to find the material files for the model to work properly. Without it, it will create generic material names.
  • Implement Half type in .Net and remove references to the math toolkit.
  • Added an XML deserializer for Sonic Boom material files.
  • Added support for older Cryengine games (version 0x744 which I believe is Cryengine 1 and 2).
  • Fixed a bug in reading armatures for older versions (size has to be computed to get proper number of bones).

Known issues:

  • Older models with armatures have an issue where the armature is flipped 180 degrees from the model. This can be fixed in Blender by going into edit mode for the armature, selecting all the bones, rotating 180 degrees on the z axis, and slightly moving it on the y axis to match up with the model. Weight mapping does appear to be correct if you do it this way.

Upcoming:

  • Add support for USD (Pixar's model format). This seems to be the most accepted standard for generic model formats, and the direction that Blender seems to be moving.
  • Create new videos on how to use the converter.