basic isometric mesh surfacing

   283   2   0
User Avatar
Member
36 posts
Joined: Feb. 2016
Offline
Ello,
Does anyone have any tips on how to get this simple meshing style, based on a grid of points / grid aligned volume as input?


I've tried isooffset, convert, and different variations, its something I check google every year or so, the closest info i've found so far has been this artstation project ( artstation.com blogs aschei marching-cubes ), where the artist is using python with a lookup table, which seems completely extreme for such a basic effect, but maybe it is the only way to really get that specific look in houdini?

The closest I came was to generate an isosurface after tweaking loads of settings, then to quantize the @P attribute, then compute dual surface, but its sort of glitchy, meshing at certain edge cases its impossible to know where to generate an edge automatically but I think Im clost, I really wanted to get more opinions and views on the approach.
My technique doesnt produce a mesh that exactly generates polygon faces respective exactly in the center of where they should be for the cells.

Edited by NNNenov - April 17, 2024 18:16:10
User Avatar
Member
475 posts
Joined: July 2005
Offline
It looks like, that in your example the density value of the marching-cubes-grid is either zero or one. If you have a guide geometry, the inner points are candidates to be zero. It seems, that the number of neighbours, which are also inside the geometry has influence on this density value. There are 6 neighbours of a grid point (adding this to the point (+X, -X, +Y, -Y, +Z, -Z) scaled by the grid size). If there are 5 or more neighbours also inside the geo, the point itself should have zero density and one if not.
Here is an experimental file using Marching Cubes in VEX.

Attachments:
marching_cube_VEX_expiriments.hipnc (222.3 KB)

User Avatar
Member
36 posts
Joined: Feb. 2016
Offline
Aizatulin
Aizatulin
I didnt think about the density values of the points, I will take time to think about your answer.
The example file you provided is beyond my understanding, and completely fascinating, it must have taken you some time to create / implement! Its just amazing. Thank you so much for taking the time to reply.
  • Quick Links