Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can I un-voxelize voxel terrain?

Asked by 5 years ago

So I made this script that manages to generate some pretty natural terrain in chunks. I want to make it look more natural by making the blocks less "blocky". I know marching cubes might work with that kind of stuff but it limits terrain generation. Is there any other way to "flatten" the terrain?

Script:

01chunks = 20
02csize = 30
03platform = 4
04scale = 150
05amplitude = 7
06 
07seed = math.random(0, 10e5)
08print(seed)
09 
10fold = Instance.new("Folder")
11fold.Name = "PT"
12fold.Parent = game.Workspace
13 
14part = Instance.new("Part")
15part.Anchored = true
View all 85 lines...

Image of example terrain: Image_1

Answer this question