A project that takes morrowind's player heads and shows it on a webpage
https://zt.je/mw/
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
eater 76f50d2f5a | 5 years ago | |
---|---|---|
examples | 5 years ago | |
public | 5 years ago | |
script | 5 years ago | |
src | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
package.json | 5 years ago | |
webpack.config.js | 5 years ago | |
yarn.lock | 5 years ago |
README.md
Morrowind Three.JS
A project that takes morrowind's player heads and shows it on a webpage - see it live
Requirements
- pyFFI
- PIL / Pillow
- yarn / npm
Setup
cd [project]
# Generate JSON meshes
./script/export_nif.py [morrowind]/Data\ Files/Meshes/b [morrowind]/Data\ Files/Textures public/blob
# Pack JS
yarn
yarn webpack
# Run dev http server via PHP e.g.
cd public;
php -S 0:8888;
meshes.json is not included because it's easily around 15MB