2018-08-20 18:19:05 -07:00

518 B

OBJLoader

This loader handles the OBJ half of the classic Wavefront OBJ/MTL format. The OBJ format is a simple ASCII format that lists vertices, normals and faces on successive lines.

References

Usage

import {OBJLoader, loadFile} from 'loaders.gl';

loadFile(url, OBJLoader).then(data => {
  // Application code here
  ...
});

Loader Options

N/A

Data Loaded

  • positions -
  • normals -
  • faces -