r/godot•
Wareya

I made a tool for sculpting CSG geometry

Posted Oct 17, 2023, 4:12 AM UTC

535
WareyaOPsolo dev•

Here's the project if you want to try it out: https://github.com/wareya/CSGDeformTest

As-is, there are some limitations. For example, it can't affect the built-in CSG collision, because it's not exposed to gdscript editor plugins. And it's slow, because it's written entirely in gdscript. But it's MIT licensed, so if someone's making a godot-based level editor, they can pull it in and adapt it without problems, maybe port it to C# or C++.

I opened a proposal to add something like this to the core engine, but it'll probably stall indefinitely, because CSG improvements are low-priority: https://github.com/godotengine/godot-proposals/issues/8149

1
-sash-Programmer•

Looks interesting as demo or as a learning resource, but I doubt it's very practical, as you can't even approach to Blender with its modelling capabilities. And I doubt you should: dedicated tool for each task works much better.

Instead, efforts should be put on what is really missing in Godot, like terrains, 3d level-design improvements, like better GridMap of some form or like better TrenchBroom or similar tool integration/implementation.

1
Gatreh•

Didn't they basically solve terrains with Terrain3D?

Honestly I haven't played with it but from what I've seen in videos it's good enough that they should just implement it into the actual editor tbh since terrain is such a huge part of making games.

2
WareyaOPsolo dev•

The main application for this is prototyping without having to tab out to another program, just like the CSG system generally speaking. It can be used for primitive terrain if you give it a subdivided quad mesh, though there's no "stitching" system so it's still only good for prototyping.

1
-sash-Programmer•

prototyping without having to tab out to another program

Alas, this is not practical. First, if you'll use Blender there are way less chances you'll hit in a limitation of implemented features. Second, especially for prototyping: when you decide your prototype is good enough for production, you don't have to repeat all the work in another app.

And no surprise, Blender's built-in game engine is kinda failed. There are better game engines, like Godot. Blender (or something else) is better as modelling tool. Professionals prefer dedicated (better) tools.

For exact the same reasons, all attempts to make built-in raster editor "to make sprites right in Godot" aren't met warm welcome. Although there are interesting standalone applications like Pixelorama and others.

1