Skip to content

tasteee/vox-gltf

Repository files navigation

vox-gltf

Modern vox to gltf converter. Works with version: 200 vox files. Easy peasy.

Install

npm i vox-gltf

Usage

import { voxGltf } from 'vox-gltf'

voxGltf({
  input: './models/bush-3.vox',
  output: './models/bush-3.gltf',
})
import { voxGltf } from 'vox-gltf'

async function convertVoxFiles() {
  const conversions = [
    // You should provide absolute paths to your input and output files.
    { input: './models/kitten.vox', output: './models/kitten.gltf' },
    { input: './models/jetpack.vox', output: './models/jetpack.gltf' },
  ]

  for (const conversion of conversions) {
    await voxGltf(conversion)
  }
}

convertVoxFiles()

About

Convert .vox files to .gltf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published