Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

voxel-toy

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

voxel-toy

Tool for converting .vox files to other useful formats

  • 0.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Voxel Toy

A tool for converting .vox files to Unreal Engine geometry. What are .vox files? They're the native file format generated by the amazing, lightweight MagicaVoxel editor.


Installation

npm install -g voxel-toy

Don't have NodeJS or NPM? Get it here: https://nodejs.org

Usage

Convert .vox file to .t3d

vox -f /path/to/file.vox

Paste .t3d into Unreal Engine 4

Once the .t3d file has been generated, open the file in a text editor and copy the entire contents. Open UE4 and paste the contents into the scene editor. Your voxel model will now be converted into UE4 BSPs/brushes/geometry.

Options

-c, --compress Merge individual voxels into larger blocks where possible
-f, --file The path to the .vox file
-s, --size The size of each individual voxel in UE4 units

Example:

vox -f /path/to/file.vox -s 200 -c true

Development

Getting the source code

git clone https://github.com/bberak/voxel-toy
cd voxel-toy
npm install
node src/index.js

Creating an executable

Install pkg globally:

npm install -g pkg

Create a MacOS executable:

pkg -t node8-macos-x64 -o vox .

Create a Windows executable:

pkg -t node8-win-x64 -o vox .

Keywords

FAQs

Package last updated on 30 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc