An open API service indexing awesome lists of open source software.

https://github.com/tlabaltoh/mesh_from_sdf

Add-on for mesh modeling with SDF in Blender.
https://github.com/tlabaltoh/mesh_from_sdf

Last synced: about 1 year ago
JSON representation

Add-on for mesh modeling with SDF in Blender.

Awesome Lists containing this project

README

          

# Mesh from SDF
Add-on for mesh modeling with SDF in Blender.

## Features

- Primitives
- [x] Box
- [x] Sphere
- [x] Cylinder
- [x] Torus
- [x] Cone
- [x] Pyramid
- [x] Truncated Pyramid
- [x] Hexagonal Prism
- [x] Triangular Prism
- [ ] Spline
- [x] Distance Function (External files written in GLSL format)
- [x] SDF to Mesh Conversion (Based on Marching Cube)
- Boolean Operations
- [x] Union
- [x] Diffrence
- [x] Intersection
- Blend Types
- [x] No Blending
- [x] Smooth
- [x] Champfer
- [x] Steps
- [x] Round
- [ ] Mirror
- [ ] Repeat

## Requirements
- Blender 4.x (Development and testing is being done with this Blender version)
- Windows 10 / 11 (Not tested on MacOS and Linux)

## Dependent packages
- [moderngl](https://github.com/moderngl/moderngl)

## Installation
1. Drag and drop the zip file downloaded from the repository release page into Blender to install.
2. Activate the installed add-on (mesh_from_sdf) in `Edit/Preference/Add-ons`.

## Start up
1. Select `SDF2Mesh` from the toolbar to open the add-on hierarchy panel.
2. Changed `RenderEngine` to `MeshFromSDF`
3. Switch the 3D View render mode to `Render` or `Material`.
4. Pressing the reload button displays the SDF objects registered in the hierarchy (Do this the first time you start Blender or activate this add-on).

## Known Issue
- Undo processing is not implemented for Gizmo operations on SDF primitives.
- While it is possible to always invoke Undo while dragging Gizmo, ideally, Undo should be executed only when the drag ends.
- After changing the type of the SDF primitive once, the previous Gizmo operation is reset when it is changed back again.