Magicavoxel 是一款开源免费的轻量级8-bit体素编辑器,基于GPU交互渲染实现; 操作简便,轻松实现像素风效果。

img

功能简介

· 可创建和编辑3D,8位模型 · 自带渲染工具:可以呈现不同的光线条件、光照度、明暗度和锐度 · 支持多种画笔工具,随时画出你理想中的效果 · 内置一些基础模型,还支持插入预设形状及图案

官方站点:https://ephtracy.github.io/ 下载地址

MagicaVoxel 0.99版本 在 MacOs Catalina 版本下打开后黑屏,解决方式为,授权运行后,方法有二。

一种法为进入命令行工具所在文件夹后执行命令。

xattr -d com.apple.quarantine MagicaVoxel.app

第二种方法为将 MagicaVoxel.app 移动到其他的文件下后,重新移动到 Application 文件夹中。

使用说明

magic-tool

笔刷模式:

  • 任意大小体素模型(V)、
  • 面模型(F)、
  • 单个模型(B)、
  • 线性模型(L)、
  • 圆模型(C)、
  • 库内已有图案模型(P)

视图:

  • 鼠标右键-【旋转画布】
  • 空格+右键-【拖动画布】
  • 鼠标滚轮-【缩放画布】

macOS: 使用 Command 替代 Ctrl 可以配置 config/hotkey.txt 来改变快捷键使用

KeyCommandModifier
>> Global
F1activate console
CTRL+Zundo
CTRL+Yredo=CTRL+SHIFT+Z
F6 / 6screenshot+CTRL : for whole window
TABswitch between model and world editor
CTRL +/-Scale UI
>> Renderer
LButtonpick focus of Depth of Field
ALT+LButtonpick voxel material
CTRL+RReset material
CTRL+CCopy material
CTRL+Vpaste material
>> Camera
RButtonrotate camera
MButtonmove camera focus=LButton+Space =WASDQE+Space
LButton+Xset camera focus
LButton+Rulersnap camera angle to multiples of 5 degrees
WASDQErotate camera / move camera (free mode)
WHEELzoom in/out
F4/4recenter camera
F5/5reset camera to 90 degree views
F7/7save current camera pose
F8/8load current camera pose
Numpad 0~9change camera slot
>> Project
CTRL+SSave project
CTRL+SHIFT+SSave project as
CTRL+OOpen project
CTRL+SHIFT+Oimport project
CTRL+Pnew Project
CTRL+SHIFT+Pduplicate Project
>> Select
CTRL+Aselect All
CTRL+Iselect Inverse
CTRL+DDeselect all
CTRL+CCopy
CTRL+Xcut
CTRL+Vpaste
>> Edit [Model Editor]
UfUll model
IfIll model
Backspace/Deletedelete voxels
>> Edit [World Editor]
TABenter group
SHIFT+TABleave group
UUnion combine objects into one object
Arrow/Pagemove object
Gmove object to the ground
-/+rotate object
CTRL+HHide object
CTRL+SHIFT+HunHide object
CTRL+NNew object
Backspace/Deletedelete object
CTRL+TconverT reference to duplicate
CTRL+RgRoup objects
CTRL+SHIFT+RungRoup objects
>> Brush [World Editor]
ALT+LButtonpick voxel color
CTRL+LButtonmove object on the surface
>> Brush [Model Editor]
ALT+LButtonpick voxel color
CTRL+LButtonmove voxels+SHIFT : move in normal direction
TaTtach brush+SHIFT : temporally switch to Erase Brush
ReRase brush+SHIFT : temporally switch to Attach Brush
Gpaint brush
NselectioN brush+SHIFT : add selection; +SHIFT+ALT : subtract selection
>> Brush Mode
VVoxel shape brush+/- : resize brush
FFace shape brush
BBox shape brush
LLine shape brush
CCenter shape brush
PPattern shape brush+/-, 9, 0 : rotate around z, x, y axis
Arrow/Page keys : add local offset to pattern model
Home key : reset local offset to 0
>> Mirror Mode
1mirror x
2mirror y
3mirror z
>> Axis Mode
CTRL+1axis x
CTRL+2axis y
CTRL+3axis z
>> Display
CTRL+Edisplay Edge
CTRL+Gdisplay Grid
CTRL+Fdisplay Frame
CTRL+Udisplay groUnd
CTRL+Bdisplay Background
CTRL+Wdisplay shadoW
CTRL+Mdisplay wirefraMe
>> Palette
ALT+DRAGpick color from screen
CTRL+DRAGswap color
CTRL+SHIFT+DRAGduplicate color
ALT+SHIFT+DRAGfill gradient block

命令

Press TAB to Enable/Enter Commands
Press Enter to Confirm Commands
Press UP/DOWN to Select History Input

Command FormatDescriptionExample
sel_noneselect none
sel_allselect all
sel_invselect inverse
copycopy voxels
cutcut voxels
pastepaste voxels
size [x y z]resize modelsize 45 60 120
shrinkfit model size
zeroclear all voxels
fullfull volume
fillpaint all voxels with same color
invinverse solid and empty space
flip [axis]flip modelflip x y
loop [axis] [offset]move modelloop z 1 x -2
scale [xyz] [factor]scale model (xyz is optional)scale x 0.5 yz 2.8
x2double model size
rot [axis] [degree]rotate modelrot x 30
rot90 [axis]rotate model 90 degreerot90 x
repeat [xyz] [factor]repeat model, negative value for mirror repeat (xyz is optional)repeat xy 4 z -0.5
mir [axis]mirror symmetry, default axis is xmir x
dia [axis]diagonal symmetry, default axis is zdia x
dil [axis]dilation, +z : positive direction, -z : negative direction, z : both directionsdil +z
ero [axis]erosion, +z : positive direction, -z : negative direction, z : both directionsero +z-yx
flood [colorIndex]if colorIndex == 0, remove all invisible voxelsflood 0
otherwise, fill all invisible space with colorIndexflood 73
noise [seed scale min max]default value : scale = 0.03 min = 0.2 max = 0.5noise 123 0.03 0.2 0.5
rand [min max]paint model with random color index between min and maxrand 10 15
maze [edge length]generate maze shapemaze 8
pal maskmask out all unused color swatches
pal fill [index]fill palette with chosen color indexpal fill 100
pal bw/macgenerate grey or default mac palettepal bw
o [file type]export modelo obj
odir [file type]export all models in current folder displayed in model listodir obj
xs [option] [shader name] [arg0] [arg1] ...generate model/anim by custom voxel shader in folder [shader/]xs wave (-n : num interations; -prev : based on previoud frame; -cur : based on current frame )