Wolfram Language importer for OBJ (.obj) files with textures.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
OBJImporter.m
PacletInfo.m
README.md

README.md

OBJImporter

OBJImporter is a Wolfram Language Import extension for OBJ (.obj) files that preserves texture and color information. Import has the ability to import OBJ files but it discards color information and textures:

Yoshi with colors and textures

OBJImporter adds a new file format setting to Import called RawOBJ which keeps the color and texture information:

Yoshi with colors and textures

Installing OBJImporter

OBJImporter is distributed in the form of a paclet. Download the latest version of the paclet from the releases page and install it using the the PacletManager package (which you already have because it comes with Mathematica):

Needs["PacletManager`"]
PacletInstall["~/Downloads/OBJImporter-1.0.0.paclet"]

Disclaimer

OBJImporter supports a subset of the OBJ file format. As a consequence, some models may not look exactly the way they do in other 3D programs. OBJImporter's use is that it keeps information about the color of the surfaces and their textures, which is enough for many models.