Picavoxel: Combining Volumes

0
Maraskan posted this 3 weeks ago

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.

2 Comments
Order By: Standard | Newest | Votes
0
GarethIW posted this 3 weeks ago

Hi!

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 3 weeks ago

0
Maraskan posted this 3 weeks ago

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 103 members have posted 431 times in 104 discussions