Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add intrinsic triangulation to CSG #4

Open
fire opened this issue Dec 7, 2024 · 2 comments
Open

Add intrinsic triangulation to CSG #4

fire opened this issue Dec 7, 2024 · 2 comments

Comments

@fire
Copy link

fire commented Dec 7, 2024

Make a program through godot-sandbox that takes existing CSG and transforms them so that the topology is better, and long, thin triangles become evenly distributed triangles.

I had this tooling for manifold meshes that can give the equal triangle size measure: https://github.com/V-Sekai/TOOL_intrinsic_triangulations

Initial

Image

Improved

Image

@fire fire changed the title CSGMesh Operator that'll turn long thing triangles to instrisic triangular meshes CSGMesh Operator that'll turn long thin triangles to instrisic triangular meshes Dec 7, 2024
@fire fire changed the title CSGMesh Operator that'll turn long thin triangles to instrisic triangular meshes CSGMesh Operator that'll turn long thin triangles to intrinsic triangular meshes Jan 18, 2025
@fire
Copy link
Author

fire commented Jan 18, 2025

We must first design the API to fit the 3d conversion use case.

@fire
Copy link
Author

fire commented Jan 18, 2025

class CSGIntrinsicTriangulation3D : public CSGShape3D {
	GDCLASS(CSGCombiner3D, CSGShape3D);

private:
	virtual CSGBrush *_build_brush() override;

public:
	CSGIntrinsicTriangulation3D();
};

@fire fire changed the title CSGMesh Operator that'll turn long thin triangles to intrinsic triangular meshes Add intrinsic triangulation to CSG Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant