# obj-mtl-loader-three

> threejs newest obj & mtl loader with npm dev

Latest version **1.0.1** (published 2022-03-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install obj-mtl-loader-three
pnpm add obj-mtl-loader-three
yarn add obj-mtl-loader-three
bun add obj-mtl-loader-three
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-03-15 |
| First published | 2022-03-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 30.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | tomgou |
| Maintainers | tomgou |
| Keywords | objloader, mtlloader, obj, mtl, loader, three |

## Links

- npm: https://www.npmjs.com/package/obj-mtl-loader-three
- Repository: https://github.com/TOMGOU/obj-mtl-loader-three
- Homepage: https://github.com/TOMGOU/obj-mtl-loader-three#readme
- Issues: https://github.com/TOMGOU/obj-mtl-loader-three/issues
- npm.io page: https://npm.io/package/obj-mtl-loader-three

## Recent versions

- 1.0.1 (latest) — 2022-03-15
- 1.0.0 — 2022-03-14

## README

# obj-mtl-loader-three
[THREE.OBJLoader](https://threejs.org/examples/js/loaders/OBJLoader.js) repackaged as a node module
Threejs newest obj&amp;mtl loader with npm dev

## install

`npm i --save three-obj-mtl-loader`

## usage

```js

import * as THREE from 'three'
import {MTLLoader, OBJLoader} from 'three-obj-mtl-loader'

let scene = new THREE.Scene()

let mtlLoader = new MTLLoader();

let objLoader = new OBJLoader();

mtlLoader.load('./test.mtl', (materials) => {
  materials.preload()
  objLoader.setMaterials(materials)
  objLoader.load('./test.obj', (object) => {
    scene.add(object)
  })
})

```

---
_Source: https://npm.io/package/obj-mtl-loader-three · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
