Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Mesh Slicing

An asset by timo5034
The page banner background of a mountain and forest
Mesh Slicing hero image

Quick Information

0 ratings
Mesh Slicing icon image
timo5034
Mesh Slicing

This GDExtension lets you slice meshes.If your Godot version or platform is not supported, you can compile the extension yourself.More information can be found at https://github.com/timo-eberl/mesh-slicing-gdextension/blob/main/README.md .

Supported Engine Version
4.2
Version String
v1.0.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Mesh Slicing GDExtension

This GDExtension implements Mesh Slicing. For usage see the demo project.

Mesh Slicing Animation

Limitations

  • Slicing non-convex meshes will produce unexpected results.
  • Supported Mesh Types are: ArrayMesh, PrimitiveMesh
  • Only Triangle Meshes are supported (PRIMITIVE_TRIANGLES)
  • Only UVs and Normals are transferred from the original mesh.
  • The created surface does not have UVs.

Compatibility

Godot 4.2

Cloning

git clone --recurse-submodules link-to-this-repo

If you already cloned and forgot --recurse-submodules :

git submodule update --init --recursive

Building

See also GDExtension Example from Godot Docs

Requirements: C++ Compiler, SCons as a build tool

scons

Run Demo Project

godot --path ./demo --editor

Use it in your project

After building, copy the contents of demo/bin/ into your project.

Editing with Visual Studio Code

Add the includePath from the following code snippet to your .vscode/c_cpp_properties.json

{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "${workspaceFolder}/**",
                "${workspaceFolder}/godot-cpp/gen/include",
                "${workspaceFolder}/src"
            ],
// ...

This GDExtension lets you slice meshes.

If your Godot version or platform is not supported, you can compile the extension yourself.

More information can be found at https://github.com/timo-eberl/mesh-slicing-gdextension/blob/main/README.md .

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Mesh Slicing icon image
timo5034
Mesh Slicing

This GDExtension lets you slice meshes.If your Godot version or platform is not supported, you can compile the extension yourself.More information can be found at https://github.com/timo-eberl/mesh-slicing-gdextension/blob/main/README.md .

Supported Engine Version
4.2
Version String
v1.0.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers