GitHub Page: https://github.com/cenullum/Voxelizer-For-Godot-Engine

Drag & Drop system doesnt work on web but you can change depth and rotate

please watch the video

----- New version--------------

  
It is a system which like in minecraft while you holding an item that voxelized. And I have achieved to detect holes(transparent areas in colored area) and separeted areas in png image.

In previous version I was using ear clipping and it was taking a lot of performance 
In this new method, 64x64 images take 3-5 milliseconds to voxelize after you dropped a image  .


HOW TO IMPLEMENT TO YOUR OWN PROJECT:

Add voxelizer.gd to a MeshInstance node

Set sprite to "Voxel Me" on inspector

Set TransparentMaterial.tres to "Material" on inspector as script parametre, NOT DIRECTLY

You can change alpha offset and depth if you want

If you want to change sprite via code you can use func voxelization() and send sprite as parametre in it


HOW IT WORKS:



License On The Project: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication

Information About The License: https://creativecommons.org/share-your-work/public-domain/cc0/



StatusReleased
CategoryTool
PlatformsHTML5, Windows, macOS, Linux
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
Authorcenullum
TagsGodot, Pixel Art, Voxel

Download

Download NowName your own price

Click download now to get access to the following files:

sourcecode of lastest version - godot engine 3.2.2 66 kB
old sourcecode 56 kB
linux.zip 14 MB
windows.zip 13 MB
mac.zip 15 MB