Kattoor / nw-model-miner

27 stars 5 forks source link

⛏️ nw-model-miner ⛏️

  1. Download cgf-converter.exe and add the path of cgf-converter.exe to your PATH environment variable.
  2. Download texconv.exe and add the path of texconv.exe to your PATH environment variable.
  3. Download COLLADA2GLTF and add the path of COLLADA2GLTF-bin.exe to your PATH environment variable.
  4. npm install - you'll need to have a Python installation since I use ffi-napi (which uses node-gyp) to automatically create bindings to the Oodle compression DLL.
  5. node nw-model-miner.mjs "PATH_TO_ASSETS"
  6. Browse The Useless Web for about 20 minutes until the application finishes.
  7. Open nw-model-miner/viewer/index.html - drag a GLTF file onto the page to load it.

https://user-images.githubusercontent.com/8040542/131267284-9e853211-6fcb-4e26-a70f-32786e39939b.mp4