Closed KillzXGaming closed 6 years ago
Sample : cube.zip
Importing a .obj file from blender 2.7.9 will give blank names. Ways to replicate this:
Run with sample file and msh.Name will appear blank.
AssimpContext importer = new AssimpContext(); m_model = importer.ImportFile("cube.obj", PostProcessPreset.TargetRealTimeMaximumQuality); foreach (Mesh msh in m_model.Meshes) { Console.WriteLine($"Mesh Name = {msh.Name}"); }
Edit: Newest build from https://bitbucket.org/Starnick/assimpnet/src/master/ fixes this.
Sample : cube.zip
Importing a .obj file from blender 2.7.9 will give blank names. Ways to replicate this:
Run with sample file and msh.Name will appear blank.