Nov
5
2012

Voxel Sprite Editor

Quick test for a voxel sprite or basically just a grid/block editor.. Its 3D grid array with default boxes..

Features:
– Adding / removing blocks

Todo:
– Color adjustment per block
– Saving / Loading (online?)
– Viewer / Gallery?
– Better mouse controls..
– Extra tools: Visibility slice plane? Clear/Fill? Gravity on/off? Invert? Rotate?..
– Adjustable 3D array size?
– Statistics
– Color selector/palette
– Multiplayer editor?

Problems:
– Cannot use just mouse for drawing..cannot do raycast if whole grid is empty (could use mouse x/y for moving the cursor in grid, scroll for going z dir?)

Webplayer:
http://unitycoder.com/upload/demos/VoxelSpriteEditor1/

Download source:
voxelboxgrid.unityPackage


4 Comments + Add Comment

  • Any chance of you releasing the Unity project for this or the script coding?

    • Yeah, posting the current version this weekend.(didnt had time to improve it further yet)

      • Great thanks, this is very close to what i need as a good starting point for my Voxel stuff.

        If you have any good info on the visibility slice plane, that would help a ton.

        Im looking at doing something involving underground digging using voxels.

        Right now I may have to stick with a 2d side perspective, unless i can come up with a decent way to deal with the camera and visibility while “inside” the cube. Basicallly using your example here how to dig out sections of the middle of the cube without cutting the outside off.

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.