Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 816 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 816 Bytes

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.