B3dsdf Versions Save

🛠️ A toolkit of 2D/3D distance functions, sdf/vector ops and various utility shader nodegroups (160+) for Blender 2.83+. Also available as an addon which adds a menu in the shader editor.

v0.2.0

2 years ago

Now over 65+ nodes! (66 as of this writing) This is mostly a minor update with cosmetic changes here and there, menu reordering(SDF operators) and a couple more nodes.

Changes 💄

  • Exposed SDF value fields for operators
  • 282b6e8469ccfb6d206e3849c614afa0509d16f1 Names the Control Point socket for sdBezierover just Point on all sockets
  • 44c275d9808f495d00d8a4610da990fccdbf7733 Renamed Subtraction to Difference
  • 2cd8cde3e8a29159899cfd6cc46470a22f2e70bb Shorten Intersection to Intersect
  • e111eab859c37dea6c1c6447b831078b1d547bd4 Minor cosmetic changes in menu (adds separators via json)

image

New ✨

  • 77be6de74412a83a734974f2c6306560f14f2c30 new sdEllipseNewton node (Contributed By @GelamiSalami)
  • e58386b70cb8c33ea777dc13bcd804af91a432d1 new opPolar node (Follows D6464)

image

  • a0356a3f36c65c811b3707cc4fdf5ea3bd1a8ed7 c84f941dd50f50ddd9ea7758f0f51f78e1513d6a new SDF operators: opUnionSoft opIntersectRound opDifferenceRound more details on these operators (originally adapted from fOpUnionSoft, fOpIntersectionRound and fOpDifferenceRound) can be found here

Nodes 🍜

image

v0.1.1

2 years ago

Changes

  • cf1121abe0363b49f751e77aaf7010708e1c6465 Fixes the glitch from the sdEllipse nodegroup by adapting code from this shadertoy (originally adapted from the sdf_2d_ellipse function in D6464 patch). The new nodegroup also outputs a line segment instead when width or depth is < 0.01
  • No other changes other than this nodegroup

Installing

You might have to restart Blender for changes to take effect

Before/After

The glitch was most notable when used for displacement (details)

Artboard

asd

v0.1.0

2 years ago

First release! 🌠

The add-on should work on Blender version 2.83 or above (tested with 2.83.19 and 3.2)

Installing the addon

Just grab the zip file below and install from Blender's preferences as with any other add-ons (no need to unzip)

installeg

Nodegroups

This currently features 61 nodegroups (full list):

  • 39 SDF primitives
  • 12 SDF operators
  • 9 Vector/UV operators
  • 1 SDF viewer

The groups are mostly adapted from IQ's 2D sdf page and the D6464 sdf nodes patch for some of the vector operators / sdf primitives. These will be noted in the wiki / commits where possible. Check out the links under references for more details.

Examples (with images) were already up in the wiki. Samples for most of SDF primitives should already be there, with the rest being added in the coming week or so. The .blend file included with the add-on will be uploaded to the repo shortly after the release.