Only the meshes are calculated. Material and light is later added using a raytracer.

You can find the source code here:

https://gitlab.com/metagrowing/voxel/-/blob/master/genuary2025/42-lines-of-code.vl?ref_type=heads

Lines 2 - 18: the elongated porcelain body.
Lines 19 - 28: the perforated glass shell.
Lines 29 - 41: the reflecting object is made up of Platonics cut by a sphere.

#OpenVDB #genuary2025 #genuary3 #genuary

genuary2025/42-lines-of-code.vl · master · Thomas Jourdan / voxel · GitLab

GitLab.com

GitLab

GENUARY 2025 DAY 3
Exactly 42 lines of code

A programming language to perform operations on volumes. 3D Noise / Constructive Solid Geometry / Isosurfaces. In these 42 lines 3 OpenVDB volumes are created and converted into very detailed wavefront obj meshes. Only the volumes and meshes, but not the coloring. These meshes can then be combined with material and light using Blender.

I had made this assembly language in 2018.

https://gitlab.com/metagrowing/voxel

#OpenVDB #genuary2025 #genuary3 #genuary

Thomas Jourdan / voxel · GitLab

GitLab.com

GitLab

Sing the docs https://www.youtube.com/watch?v=C1LP2gGSddA

#OpenVDB is https://www.openvdb.org/ and was one of the coolest projects presented by the #AcademySoftwareFoundation at the #UbuntuSummit last week. I wanted to share this earlier but I could not find the video.

VDB Hippie

YouTube
Anyone familiar with #Blender #development know whether its possible to access a volume’s #OpenVDB data in an export plugin written in #python? For instance, if I simply wanted to write out the bounding box of the vdb file? Even better: convert the OpenVDB file to #NanoVDB and write it out? Poking around python docs hasn’t yet been fruitful.

Before there were geometry nodes in Blender (2.8), I had developed external tools to place many objects in a scene. Or to create large irregular meshes. It's a combination of #Clojure for expanding the rules and #OpenVDB for mesh construction. Now 4 years later i have my tools up and running again.

Not all is in this public repository. The OpenVDB part is very unstable and not published.

https://gitlab.com/metagrowing/grow

#b3d

Thomas Jourdan / grow · GitLab

A generator for complex geometry. Used in conjunction with Blender or OpenVDB. Based on Clojure and Stringtemplate. Experimental code. Please do not use in production projects.

GitLab

@twilliability Here I created the geometry with OpenVDB. I never published the C source code.

Combine some Perlin Noise with a sphere in OpenVDB 3.2.
Calculate the boundary surface (ISO surface).
Export as mesh.
Rendering with Blender 2.8 and Cycles.

The light in the scene comes from an HDRI image.

Only works for still images. During an animation the texture and lightning would probably move independently of the geometry. Which would not look believable.

#b3d #cycles #OpenVDB

Login • Instagram

Welcome back to Instagram. Sign in to check out what your friends, family & interests have been capturing & sharing around the world.