Picavoxel: Combining Volumes

Maraskan posted this 26 November 2017

A simple question:

If I have multiple picavoxel volumes, is there a way to merge/combine them into one volume?

For example, if I have a corridor created from 20 different "tiles" (each an individual volume of voxels), it would seem prudent to merge them into one.This would allow a tile-like level construction, and cut down the game objects significantly once the overall setup is done.

Order By: Standard | Newest | Votes
GarethIW posted this 27 November 2017


So Picavoxel does have really basic copy and pasting functionality, but it's quite fiddly to use. If you're looking to make a large-ish single-volume static map at edit time, you will probably find it much easier to use an external editor such as MagicaVoxel. The very latest release of that just happens to have improvements that do pretty much what you're after - constructing large worlds out of smaller parts.

If you're interested in doing this at runtime, that's possible as well by copying voxel data from one volume to another. I actually do this in the Shmup demo by copying from a "tileset" volume to the main playfield as it scrolls along. I can go into more detail on that if needed.

Another option might be to use a Unity tiling asset such as Rotorz. I don't personally have any experience with it, but I understand folks have used it successfully with PicaVoxel volume prefabs as tiles.

Last edited 27 November 2017

Maraskan posted this 27 November 2017

Thank you kindly for the reply :)

I'll be giving MagicaVoxel a try. I've been using Qubicle so far, but what you said about MagicaVoxel sounds really neat. I had my own tiling solution for placing all of them, my main concern was the resulting objects - it'd just be more efficient to have a lot less in one scene.

Our 137 members have posted 527 times in 128 discussions