Skip to content

VoxelSet Editor

Christian Cuevas edited this page Jan 12, 2021 · 3 revisions

About

The VoxelSet editor allows you to manage and create an almost infinite variety of voxels within Godot.

Usage (Video)

The VoxelSet editor becomes visible, in the bottom panel, after selecting a VoxelSet. The editor has many keyboard shortcuts and tooltip hints to help navigate, as well as built-in undo redo support. You will also notice that the VoxelSet editor is divided into three sections.

Info panel (leftmost)

Shows general information on the selected VoxelSet, such as: voxel count and if it's uv ready. You'll also find options to:

  • Import, import voxels from a file
  • Refresh, updates all objects connected to VoxelSet
  • Close, hides the editor

When selecting a single voxel in the VoxelSet viewer, its information will also be displayed; Along with its id and name entry, with which you can modify them.

VoxelSet viewer (middle)

Browse voxels in the VoxelSet and select one or more (hold ctrl to select multiple) voxel(s) to edit them. Right click to open the context menu with the following options:

  • Add voxel, adds a new white voxel to the VoxelSet
  • Remove voxel(s), remove hovering/selected voxel(s)
  • Duplicate voxel(s), duplicate hovering/selected voxel(s)

Voxel viewer (rightmost)

Selecting a single voxel in the VoxelSet viewer will make the voxel viewer visible. The voxel viewer features a 3D and 2D preview, from here you can modify the color, texture and material of the selected voxel. Double left click to select multiple faces, and right click to open the context menu with the following options:

  • Color voxel/face(s), opens a color picker menu to select voxel/face(s) color
  • Texture voxel/face(s), opens a tile picker menu to select voxel/face(s) uv
  • Modify material, opens a material menu to select a defined VoxelSet material, or to define a custom material

The VoxelSet editor can be extended; See the source code for more information.