★ wanayoo — archive 1999 https://github.com/hammmm/unity-obj-loaderNouvelle recherche | Portail wanayoo
Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
runtime .OBJ file loader for Unity3D
C#
branch: master

many changes to support various OBJ files on the net …

- load textures from the same directory of .OBJ file.
  because some OBJ(MTL) files include local texture paths or some invalid paths.
- minus face/normal/texcoord index support (no support for mixing both in one group)
- set material name
- support for unnamed groups
- fix in parsing file (double space delimiter, etc)
- added error logs (on cases like file load error)
latest commit f6e8e7eafa
hammmm authored

README

<< unity obj loader >>
Project home: https://github.com/hammmm/unity-obj-loader

This project is to achieve good-enough runtime OBJ file importing for Unity3D,
based on Bartek Drozdz's OBJ library v1.2.
http://www.everyday3d.com/blog/index.php/2010/05/24/loading-3d-models-runtime-unity3d/

Many thanks to the original author, Bartek Drozdz for publishing the code under MIT license.

License: MIT

Notes:
 - please put all texture files on the same directory of . obj file.
 - please use use this form of URL for local files. ex) file:///Users/someone/somepath/model.obj
 - Bump map is not correctly working. TODO: convert hight map to normal map, make tangent data.

Something went wrong with that request. Please try again.