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.
This loader requires three.js
in version r144
or higher.