Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hooyuser/blender_sdf_node_addon
Blender SDF Node System Addon
https://github.com/hooyuser/blender_sdf_node_addon
blender blender-addon python sdf signed-distance-field taichi
Last synced: 4 days ago
JSON representation
Blender SDF Node System Addon
- Host: GitHub
- URL: https://github.com/hooyuser/blender_sdf_node_addon
- Owner: hooyuser
- License: gpl-3.0
- Created: 2020-11-30T16:06:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-23T12:05:12.000Z (5 months ago)
- Last Synced: 2024-08-02T11:23:21.670Z (3 months ago)
- Topics: blender, blender-addon, python, sdf, signed-distance-field, taichi
- Language: Python
- Homepage:
- Size: 19.4 MB
- Stars: 45
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-taichi - Blender SDF Node Addon - An add-on to provide an SDF node system for SDF rendering and SDF collisions for physics simulation. (Applications / **Simulation**)
- awesome-taichi - Blender SDF Node Addon - This add-on provides SDF Node System for SDF Rendering and Physics Simulation with SDF Collision. (**Simulation**)
README
# Blender SDF Node Addon
![Code size](https://img.shields.io/github/languages/code-size/hooyuser/blender_sdf_node_addon)
![Repo size](https://img.shields.io/github/repo-size/hooyuser/blender_sdf_node_addon)
![Lines of code](https://tokei.rs/b1/github/hooyuser/blender_sdf_node_addon)This addon provides **SDF Node System** for **SDF Rendering** and physics simulation with **SDF Collision**.
SDF refers to signed distance field. You may find lots of impressive content to do with SDF on this website https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm.
This addon is still work-in-progress. Though the SDF rendering node system is relatively stable, physics simulation may crash your Blender. Since the release version of this addon is targeted on Blender 4.1, I'm not sure whether it can function correctly on Blender 3.x.
## Download
- Addons for Blender 4.1
- Download the [master branch](https://github.com/hooyuser/blender_sdf_node_addon/archive/refs/heads/master.zip) and then copy the `sdf_node_addon` folder to your Blender's `/scripts/addons/` folder directly.
- Download the [pre-release](https://github.com/hooyuser/blender_sdf_node_addon/releases/download/0.0.3/sdf_node_beta_0_0_3.zip) and install it like any other addons for Blender.
- Addons for Blender 2.92
- Download the [blender2.92 branch](https://github.com/hooyuser/blender_sdf_node_addon/archive/refs/heads/blender2.92.zip). This branch will not get updated anymore.## Features
- SDF Rendering
- Node system which allows real-time viewport update
- Support combination of SDF primitives, including *Union*, *Subtraction*, *Intersection*, *Blend shape*
- Support a lot of SDF operations, including *Transform*, *Twist*, *Round*, *Solidify*, *Elongate*, *Mirror*, etc.
- FBM noise displacement
- Basic PBR rendering
- CPU/GPU Physics Simulation (redesign needed)
- PBD Cloth simulation which allows real-time interaction and caching
- Analytical SDF collider generated by node system
- 3 gradient algorithms are implemented for SDF collider: automatic, numerical, analytical
- Support backends on different platforms, including CPU, CUDA, OpenGL, Metal
- Powered by [taichi-blend](https://github.com/taichi-dev/taichi_blend), a project aiming at integrating [Taichi](https://github.com/taichi-dev/taichi) into blender for physics simulation and animation## To-Do List
* Preview and Rendering
- [ ] More shaders, such as volume shader, Matcap shader
- [ ] Image-based lighting and more complete light system
- [x] Material assignment for each part of a contructive SDF
- [x] Image Output
* Physics Simulation
- [ ] SDF collision with simple primitives and analytical gradient
- [ ] VDB SDF collision
- [ ] Improve the stability and performance of the Cloth PBD solver
- [ ] More PBD solvers
* Node System
- [x] Animation system
- [x] Support more input types, such as *Object Info Input*
- [x] Support math operations
- [ ] Support creating node groups
* Other Functions
- [ ] Convert mesh to VDB SDF
- [ ] Generate mesh from analytical SDF
- [ ] Generate mesh from VDB SDF