Experimenting with generating meshes from implicit surfaces.

High and low resolution meshes from the same surface.

3D trig defines a surface. Marching cubes to convert to a mesh. Rendered in #PBRT. Orchestrated in #RStats

#RStats #PBRT #MarchingCubes

#Blog day! This week we’ll talk about the marching cubes algorithm, but we will start from marching squares to get a strong intuition. Please give it a read if you are interested!

https://blog.42yeah.is/algorithm/2023/07/15/marching-cubes.html

#MarchingCubes #MarchingSquares #Graphics

Marching Cubes, Explained Using Marching Squares | Of Shaders & Triangles

Still toying with #webgpu ... Not sure what I was trying to accomplish with this example, or what I was expecting exactly.

I suppose it is a hybrid of #raycasting / #raymarching (not with a signed distance field, but with scalar field gradients) and #marchingcubes (minus the polygonization). Maybe there is a proper name for it in the graphics circles?

I am using a #compute #shader to create a 3D texture with scalar field values and gradients, and sampling it in the fragment shader (the thing that shoots it with rays 🙂 )

Assuming the compression did not kill it, I kinda liked the quality more than using the conventional marching cubes/tetrahedra. Still, it might be a waste of GPU power on something simple. Also there are some undesirable artefacts that I could not get rid of.

The toy could be found here: https://ghadeeras.github.io/pages/scalar-field-tracing

Scalar Field Ray Casting

I used compute shaders for the first time ever in #unity
Even with me not 100% knowing what i'm doing im getting such crazy performance improvements over the single threaded CPU!
#MarchingCubes with:
125'000 verts 90 times faster
1'000'000 verts 160 times faster
New blog post for my #procedural planet generation project in #unity
Describing how I implemented the #marchingCubes algorithm.
https://symetry.itch.io/planet-generation/devlog/504639/implementing-marching-cubes
Implementing Marching Cubes - Planet Generation by Symetry

Overview I started the week off by implementing the Marching Cubes Algorithm . Once that was up and running, I started refactoring the code, so that I can now have chunks (small parts of a bigger volu...

itch.io
topology of futility

#marchingcubes #mesh #3drender
https://www.youtube.com/watch?v=Pi96vMb2r4M# #LGM2020 : The #MarchingCubes Algorithm for Isosurface Generation mentioned at #LGM20
Visualization Lecture 10: The Marching Cubes Algorithm for Isosurface Generation

YouTube