MIT License

项目介绍

RichysHub/MagicaVoxel-VOX-importer 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 235 个 Star、56 次 Fork。

仓库全名
RichysHub/MagicaVoxel-VOX-importer
开源许可证
MIT License
Star 数
235
Fork 数
56
未关闭 Issue
9

README 摘要

MagicaVoxel-VOX-importer Blender import add-on for MagicaVoxel .vox format. MagicaVoxel and other voxel editing software are great to quickly create voxel models, though it's not always desirable to stay within that ecosystem. This add-on imports each voxel of the original model as an individual cube primitive. This opens up the use of voxel models for projects such as physics simulations. Getting Started…

完整内容见 GitHub 原始 README 或本页 。

常见问题

MagicaVoxel-VOX-importer 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 235 个 Star。

MagicaVoxel-VOX-importer 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 MagicaVoxel-VOX-importer 的源码?

可以直接克隆仓库:git clone https://github.com/RichysHub/MagicaVoxel-VOX-importer.git;安装与运行步骤见仓库 README。

MagicaVoxel-VOX-importer 最近还在维护吗?

仓库最近一次更新为 2022年4月14日,当前有 9 个未关闭 Issue;Star 数为 235,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Blender import script for MagicaVoxel .vox format as cube primitives.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
582
价值分
180
活跃状态
活跃

语言占比

Python

README

MagicaVoxel-VOX-importer

Blender import add-on for MagicaVoxel .vox format.

MagicaVoxel and other voxel editing software are great to quickly create voxel models, though it’s not always desirable to stay within that ecosystem. This add-on imports each voxel of the original model as an individual cube primitive. This opens up the use of voxel models for projects such as physics simulations.

Example Physics Simulation

Getting Started

Installation

This add-on needs to be installed into Blender in order to be used. Directions for this process can be found here directly from the Blender Documentation.

Only io_scene_vox.py need be installed, other files in this repository are not functionally required.

Note: in order to enable the add-on, you will need to have Testing add-ons visible within the Blender Preferences menu. Enabling Add-on in Prefernces

Usage

With the add-on installed and enabled, the importer can be accessed from File > Import > MagicaVoxel (.vox)

Import Menu

Note: currently this add-on does not support all the features of .vox files created with MagicaVoxel 0.99 and above. If this is the version of MagicaVoxel you are using, you will need to export your file to the older 0.98 format before import.

This export is destructive, it will remove layer information and other features that were added in 0.99. It is therefore recommended you export as a separate filename so as to not lose work.

Exporting to Legacy VOX

Import options

This add-on offers several import options, seen on the file select menu of the import.

Import Options

  • Voxel Spacing: controls distance center to center of neighbouring voxels.
  • Voxel Size: how large each voxel should be, in Blender Units.
  • Animation frame to load: for .vox files that contain animation frames, only 1 frame may be imported at a time, this option selects that value. If a value is given that exceeds the final frame, the final frame is used instead.
  • Use Voxel Bounds: import only a sub-set of the model, potentially useful for loading larger models.
    • Start Voxel / End Voxel: define which voxels to import.
  • Use Palette Colors: should the colors present in the .vox file be imported as materials?
  • Gamma Correct Colors: in order to reproduce colors in the render, colors in the palette are gamma corrected. Disabling this will likely cause discoloration compared to the model when viewed in MagicaVoxel.
    • Gamma Correction Value: value of color correction, default of 2.2, see here for more information.
  • Use Shadeless Materials: makes materials ‘shadeless’ by changing the material type to emissive.
  • Join Voxels: currently naïve option to perform a join operation on the voxels after import. This will make manipulating the model much more performant, though is not suitable in all cases, i.e. physics simulations.

Questions and Concerns

If in using this add-on you encounter difficulties, be sure to check the issues, in case a solution has been outlined there. If not, then issues are welcomed.

Changelog and Versioning

The changes made to this repository are documented in the CHANGELOG. This repository uses SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details

评论

暂无评论