assimp / assimp-net

Automatically exported from code.google.com/p/assimp-net
196 stars 83 forks source link

blender 2.7.9 .obj file has blank names. (using 3.3.1 Release) #46

Closed KillzXGaming closed 6 years ago

KillzXGaming commented 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}");
}
KillzXGaming commented 6 years ago

Edit: Newest build from https://bitbucket.org/Starnick/assimpnet/src/master/ fixes this.