A project that takes morrowind's player heads and shows it on a webpage https://zt.je/mw/
Find a file
2020-03-01 03:20:21 +01:00
examples Initial commit 2020-03-01 03:20:21 +01:00
public Initial commit 2020-03-01 03:20:21 +01:00
script Initial commit 2020-03-01 03:20:21 +01:00
src Initial commit 2020-03-01 03:20:21 +01:00
.gitignore Initial commit 2020-03-01 03:20:21 +01:00
package.json Initial commit 2020-03-01 03:20:21 +01:00
README.md Initial commit 2020-03-01 03:20:21 +01:00
webpack.config.js Initial commit 2020-03-01 03:20:21 +01:00
yarn.lock Initial commit 2020-03-01 03:20:21 +01:00

Morrowind Three.JS

A project that takes morrowind's player heads and shows it on a webpage

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