Commit graph

21 commits

Author SHA1 Message Date
6e0779a4e5
//sculpt: Fix undefined default brush 2022-06-11 18:53:54 +01:00
bc1ded787c
wea.sculpt.apply: Comment debug logging 2022-01-02 17:19:53 +00:00
1310dae884
Refactor: Split up terrain.lua, make subtable wea.terrain
This is just the start, if my plans work out.

The eventual aim here is to implement a generic Heightmap2D class, just 
like Vector3.

This will make interacting with heightmaps much easier.
2021-12-31 02:42:32 +00:00
9df5ba6fe5
//sculpt, //sculptlist: fix naming of static brushes; prettify output 2021-12-31 01:43:53 +00:00
227265db72
//sculpt: fix importing static brushes 2021-12-31 01:39:04 +00:00
f19b22e906
//sculpt: add simple test ellipse static brush 2021-12-31 01:04:27 +00:00
ec04cc58be
Add support for autoloading static brushes on server start 2021-12-31 01:03:56 +00:00
ef2dbc1806
Reorder brushes
circle_soft1 is now the default brush, as it's awesome
2021-12-28 19:07:02 +00:00
b0e0b83c0d
//sculpt: Add buffer to catch height variations in terrain 2021-12-28 19:04:13 +00:00
ca6f1e7cea
//sculpt: sort pos{1,2}_compute 2021-12-28 18:38:10 +00:00
1de037c341
//sculpt brushes: __smooth → __gaussian 2021-12-28 18:35:16 +00:00
3e2687f82d
Add soft circle brush 2021-12-28 18:32:40 +00:00
1cad9f4064
Minor layout tweaks 2021-12-28 18:32:10 +00:00
17cc91ba1c
//sculpt: implement circle brush 2021-12-28 17:45:20 +00:00
2da0f2dcc2
Add circle brush, but it isn't working right just yet. 2021-12-28 17:22:18 +00:00
a2a9108d36
//sculpt: fix a bunch of bugs
including, but certainly not limited to, wea.make_heightmap now returns 
a Vector3 instance for heightmap_size
2021-12-28 15:22:51 +00:00
bbafca2020
apply: use wea.sculpt.apply_heightmap() 2021-12-28 02:20:47 +00:00
b0c3d34dd0
Implement apply function for VoxelManipulators 2021-12-28 02:17:26 +00:00
58d3c1e43b
Add optional frame to brush previews
This way, it's easiere to see where the edges are of the preview
2021-12-27 19:45:13 +00:00
d657ce1abe
//sculptlist: fix bugs. It works! 2021-12-27 19:36:57 +00:00
10c9d6f886
Start implementing a //sculpt command, but it's not finished or tested yet.
First up: test that our initial basic dynamic brushes work as intended 
with the //sculptlist [preview] command.

Also on the todo list: document it in the chat command reference!
2021-12-27 03:11:52 +00:00