Markemp / Cryengine-Converter

A c# program to convert Crytek files to Collada (XML) format
https://www.heffaypresents.com/GitHub/
GNU General Public License v2.0
208 stars 53 forks source link

Material Library fixes #139

Closed Markemp closed 1 year ago

Markemp commented 1 year ago

Materials Library improvements update. I've finally figured out the way that Cryengine handles materials, so this update removes all the hacky code that attempted to simulate how (I thought) it works and more correctly uses the mtl file to determine the materials needed in the model. Also updated the project to .Net 6/c# 10 to take advantage of the performance and readability improvements.

Markemp commented 1 year ago

Will you be testing edge cases, like when SC lists multiple material files? (As seen in the Cutlass Red model...)

It should handle multiple material files without issue, but I'll add some integration tests for the Cutlass Red.

Markemp commented 1 year ago

Found the bug with the Cutlass Red. Probably affected a lot of cryengine models with the geometry file.
image