0.2.1 • Published 2 years ago

zmbx2gltf v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

zmbx2gltf

a tool and a library to convert MecaBricks .zmbx files to GlTF

Node.js usage

import { convertZmbxToGltf } from "zmbx2gltf";
import { readFile, writeFile } from "fs/promises";

async function main() {
  const inputFile = await readFile("input.zmbx");
  const gltf = await convertZmbxToGltf(inputFile);
  await writeFile("output.gltf", JSON.stringify(gltf));
}

CLI usage

zmbx2gltf <input.zmbx> <output.gltf>

Browser usage

Global Zmbx2Gltf.convertZmbxToGltf and Zmbx2Gltf.convertMbxToGltf functions.

0.2.1

2 years ago

0.2.0

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago