vox-gltf
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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()

Readme

Keywords

none

Package Sidebar

Install

npm i vox-gltf

Weekly Downloads

5

Version

0.0.3

License

Apache-2.0

Unpacked Size

211 kB

Total Files

10

Last publish

Collaborators

  • tasteee