- Home /
How to make rounded edge voxel cubes for a mapeditor
I'm trying to make a voxel map editor using voxel cubes, however I don't know where to start I've tried looking up tutorials with no luck. By the way I want the cubes edges to be rounded to give a less blocky look. Thank you for your help.
This is not as easy as you expect... Google for "marching cubes". Good luck!
Answer by bruce965 · Jan 07, 2013 at 02:52 PM
I just remembered that I had created a mesh smoothing script, you can create your voxel rendering engine with cubes, then make my simple script process your mesh.
Time complexity: O(n2)
This script has been projected to process meshes during preload, executing during runtime may slow down a lot; Anyway you can code better versions with ease. [1]: /storage/temp/6460-meshsmoother.zip
This is cool but very slow for my needs. Thank you though.
Answer by RazorCut · Jan 06, 2013 at 11:43 PM
An answer specific to the title only, just make a cube in your favorite 3D tool, round the edges, and export. Then use that model for your cubes.
So if I make a voxel engine it will adapt to the new mesh?
It's all up to you to write all the code. Let us know how it goes!
Your answer
![](https://koobas.hobune.stream/wayback/20220613090519im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Generating scalar field for a sphere 1 Answer
How to remove small & thin triangles from a marching cubes voxel engine? 2 Answers
How can I create and destroy objects in a Voxel game which are not square 0 Answers
Unity Voxel game,Cube voxel game 1 Answer
How can I smoothen my cubic mesh using marching cubes? 0 Answers