/obj-importer

OBJ importer with material and texture support.

Primary LanguageC++

obj-importer

DLL for importing .obj files with material and texture.

The project is based on Unity's ObjImporter, the code is converted into C++, simplified and cleaned. In addition to .obj loading, material loading and texture address extracing added to the DLL.

Instructions

  • Place the ObjImporter.dll & ModelLoader.cs files into your Unity project.
  • Create an Empty Game Object in the scene and attach a MeshFilter and a MeshRenderer to it.
  • Attach the ModelLoader script to this game object.
  • Call the LoadModel method from this script using the path of the model as a string parameter.