The mesh path
Parse text. Reuse the geometry.
OBJ is intentionally straightforward: the module focuses on the geometry payload and returns a mesh representation that can feed rendering, conversion, or Arrow-based processing.
Read
Vertices, normals, texture coordinates, and faces
Shape
Mesh objects or Mesh Arrow tables
Write
Compatible mesh data back to OBJ text
Boundary
MTL material workflows remain a separate concern
The @loaders.gl/scene/obj module handles the Wavefront OBJ format, a simple ASCII format that defines 3D geometries as vertices, normals and faces.
Detailed guide
OBJ module reference
The sections below cover installation, loader and writer entry points, and the source attribution for the parser.
Installation
npm install @loaders.gl/scene
npm install @loaders.gl/core
Loaders and Writers
| Loader or Writer | Description |
|---|---|
OBJLoader | Loads OBJ meshes as Mesh objects or Mesh Arrow tables. |
OBJWriter | Writes Mesh or Mesh Arrow table data as OBJ text. |
MTLLoader | Reads Wavefront material libraries referenced by OBJ files. |
Attribution
OBJLoader is a port of three.js's OBJLoader under MIT License.
Sources and credits
See the package source and license inventory and the project-wide Attributions and Credits.