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 66dd17473a | 5 years ago | |
---|---|---|
examples | 5 years ago | |
public | 5 years ago | |
script | 5 years ago | |
src | 5 years ago | |
.gitignore | 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
- yarn / npm
Setup
cd [project]
# Copy textures
cp [morrowind]/Data\ Files/Textures/TX_B_N_* ./public/blob/textures
# Generate JSON meshes
./script/export_nif.py [morrowind]/Data\ Files/Meshes/b > ./public/blob/meshes.json
# 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