Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
three-m2loader
Advanced tools
three-m2loader
allows you to import M2 assets from World of Warcraft into your three.js
app.
druidcat2.m2 | 7ne_druid_worktable02.m2 | gilneas_fountain01.m2 |
---|---|---|
If you want to load an asset into your three.js
app, you have to put all external resources like .blp
or .skin
files into the same directory like the M2 file. Depending on the M2 version, you have to name resources files with their FileDataID
or with their actual file name.
A minimal code example looks like so:
import { M2Loader } from 'three-m2loader';
const loader = new M2Loader();
loader.load( 'models/cat/druidcat2.m2', function ( group ) {
scene.add( group );
} );
This loader requires three.js
in version r144
or higher.
FAQs
three.js loader for importing M2 assets from World of Warcraft.
The npm package three-m2loader receives a total of 19 weekly downloads. As such, three-m2loader popularity was classified as not popular.
We found that three-m2loader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.