All Projects → Zarbuz → Filetovox

Zarbuz / Filetovox

Licence: mit
Tool for convert files into Magicavoxel file

Projects that are alternatives of or similar to Filetovox

Proceduralterrain
Procedural voxel terrain generation in Unity
Stars: ✭ 237 (+26.06%)
Mutual labels:  voxel, terrain
rabbit-hole
An experimental voxel engine.
Stars: ✭ 39 (-79.26%)
Mutual labels:  terrain, voxel
Chunkstories
Somewhat fancy blocky game engine written in Kotlin
Stars: ✭ 199 (+5.85%)
Mutual labels:  minecraft, voxel
Vision3d
Research platform for 3D object detection in PyTorch.
Stars: ✭ 177 (-5.85%)
Mutual labels:  voxel, lidar
Dungeontemplatelibrary
🌏: Dungeon free resources (terrain & roguelike generation)
Stars: ✭ 595 (+216.49%)
Mutual labels:  voxel, terrain
Expo Voxel
🎮🌳 Voxel Terrain made in React Native. ∛
Stars: ✭ 169 (-10.11%)
Mutual labels:  minecraft, voxel
VoxelTerrain
This project's main goal is to generate and visualize terrain built using voxels. It was achieved using different approaches and computing technologies just for the sake of performance and implementation comparison.
Stars: ✭ 37 (-80.32%)
Mutual labels:  terrain, voxel
voxel-builder
Voxel-based 3D modeling application
Stars: ✭ 31 (-83.51%)
Mutual labels:  terrain, voxel
Open Builder
Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server
Stars: ✭ 569 (+202.66%)
Mutual labels:  minecraft, voxel
Flying Squid
Create Minecraft servers with a powerful, stable, and high level JavaScript API.
Stars: ✭ 311 (+65.43%)
Mutual labels:  minecraft, voxel
Marching Cubes Terrain
Marching Cubes terrain implementation in Unity using the Job System and the Burst compiler
Stars: ✭ 292 (+55.32%)
Mutual labels:  voxel, terrain
Voxelplugin
Voxel Plugin for Unreal Engine
Stars: ✭ 844 (+348.94%)
Mutual labels:  voxel, terrain
Veloren
[Mirror] An open world, open source voxel RPG inspired by Dwarf Fortress and Cube World
Stars: ✭ 868 (+361.7%)
Mutual labels:  voxel, terrain
Voxelsniper
The premiere long-distance brush editor for Minecraft
Stars: ✭ 114 (-39.36%)
Mutual labels:  minecraft, voxel
Minestat
📈 A Minecraft server status checker
Stars: ✭ 168 (-10.64%)
Mutual labels:  minecraft
Spheres
Methods to create a sphere mesh
Stars: ✭ 168 (-10.64%)
Mutual labels:  terrain
Quarry
Python library that implements the Minecraft network protocol and data types
Stars: ✭ 182 (-3.19%)
Mutual labels:  minecraft
Holographicdisplays
Create modern looking holograms in Minecraft.
Stars: ✭ 175 (-6.91%)
Mutual labels:  minecraft
Unity resources
A list of resources and tutorials for those doing programming in Unity.
Stars: ✭ 170 (-9.57%)
Mutual labels:  terrain
The Betweenlands
A dark, hostile environment...
Stars: ✭ 167 (-11.17%)
Mutual labels:  minecraft

What is FileToVox ?

FileToVox is a console program which allow you to convert a file into a vox file (Magicavoxel).

Current files support:

  • .asc (Esri ASCII raster format)
  • .binvox
  • .csv
  • .obj
  • .ply (Binary and ASCII)
  • .png
  • .schematic
  • .tif
  • .qb (Qubicle)
  • .xyz (X Y Z R G B)
  • folder (of .PNG)

FileToVox can import a folder of images (.PNG) where each image is a layer. (Useful for import fractals from Mandelbulb3D)

It support world region, so you can convert a terrain bigger than 126^3 voxels !

How use it ?

  • You need to open a console (like cmd or Powershell in Windows)
  • Go to the emplacement of FileToVox.exe
  • Launch the command : ./FileToVox.exe --i [INPUT] --o [OUTPUT]
  • [INPUT] refer to a input filepath (mandatory)
  • [OUTPUT] refer to the destination path (mandatory)

Installation

Go to the release page and download the lastest version of FileToVox. Be sure to download the binary and not the source code.

You need to install the .NET Core Runtime Library : https://dotnet.microsoft.com/download/dotnet-core/current/runtime Then extract the content of the zip file in the folder of your choice.

MacOS or Linux

You should install .NET Core Runtime : https://docs.microsoft.com/en-us/dotnet/core/install/macos

If you have an error like 'Unable to load DLL 'libgdiplus', try this command : brew install mono-libgdiplus

If you have this error : 'brew command not found'.

Install first : /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Commands list

--i        --input=VALUE              input mandatory file
--o        --output=VALUE             output mandatory file
--c        --color                    enable color when generating heightmap
--cl       --color-limit=VALUE        set the maximal number of colors for the palette
--cm       --color-from-file=VALUE    load color from another file
--cs       --chunk-size=VALUE         set the chunk size (default: 128, min: 11, max: 256)
--e        --excavate                 delete all voxels which doesn't have at least one face connected with air
--fl       --flood                    fill all invisibles voxels
--flo      --fix-lonely               delete all voxels where all connected voxels are air
--fh       --fix-holes                fix holes
--gs       --grid-size=VALUE          set the grid size
--h        --help                     help informations
--hm       --heightmap=VALUE          create voxels terrain from heightmap with the specified height
--iminy    --ignore-min-y=VALUE       ignore voxels below the specified layer
--imaxy    --ignore-max-y=VALUE       ignore voxels above the specified layer
--p        --palette=VALUE            set the palette
--si       --slice                    flag the current input folder as slice
--sc       --scale=VALUE              set the scale
--sl       --slow=VALUE               use a slower algorithm (use all cores) to generate voxels from OBJ but best result (value should be enter 0.0 and 1.0 (0.5 is recommended)
--t,        --top                     create voxels only at the top of the heightmap
--v,        -verbose                  enable the verbose mode

Command compatibility

1. General

Command .asc .binvox .csv .obj .ply .png .qb .schematic .tif .xyz
--color
--color-limit
--color-from-file
--chunk_size
--excavate
--flood
--fix-lonely
--fix-holes
--grid-size
--heightmap
--ignore-min-y
--ignore-max-y
--palette
--slice
--scale
--slow
--top

2. Batching

You can process multiple files at once. To do such operation, all your files must be in a folder: ./FileToVox.exe --i folder --o converted

Note : you can also add argument to the conversion but the argument will be applied to all files.

3. Slice

You can process a folder of pictures (all must be .PNG). This is usefull when you import export slices of fractal from program like Mandelbulb3D. To indicate to FileToVox that each picture in your folder is a slice, add the argument --slice.

config.txt

You can edit the colors of the palette used when generating from schematic file in schematics/config.txt

Examples

./FileToVox.exe --i heightmap.png --o heightmap --hm 100
./FileToVox.exe --i heightmap.png --o heightmap --hm 100 --e --cm colors.png
./FileToVox.exe --i cloud.ply --o cloud --scale 20

Video Tutorials

Notes

For PNG files, you can't load pictures bigger than 2000x2000 px

Input file

Ouput file

Renders

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].