Hexagonal mesh

Recommended Posts

What's the quickest way to generate a surface divided into poly hexagons in Houdini? The edges between hexagons should be shared, not duplicated.

Share on other sites

Thanks. To be more clear: I don't need to divide an arbitrary 3D shape into hexagons, I just need a flat, roughly square surface made of hexagons. I can always use a Copy SOP, but I thought there could be a "smarter" way.

EDIT: Never mind, I got it: start with a tri grid, then blast away the centers of hexagonal areas.

Edited by guache
Share on other sites

You can use voronoi fracture to split a grid into hexes... although the only problem with this is you end up with bits on the edges that aren't hexes.

...

I think using a copy is a good way to do it

Share on other sites

You can use voronoi fracture to split a grid into hexes... although the only problem with this is you end up with bits on the edges that aren't hexes.

...

I think using a copy is a good way to do it

annnd here is the file

but I don't think the hexes are right ...

hexGrid.hip

Share on other sites

Thanks. The Voronoi hexes are a bit uneven. In Copy, a Z offset of 0.56 (rather than 0.5) gives better results. I'll try to fix the hexes by snapping to tri grid.

Share on other sites

On a closed surface of genus 0, faces other than hexagons

must be used, provided that all the vertices are of degree 3 (for example,

see Figure 2). Assuming that only hexagons and pentagons are allowed,

it is easy to show that there have to be exactly 12 pentagons. A typical

soccer ball is an example of such a tiling of a surface of genus 0, which has

12 pentagons and 20 hexagons.

Share on other sites

Interesting paper, thanks

Share on other sites

If you start with something with all triangles and use the Divide SOP with "Compute Dual" on, you can get some cool stuff.

Give this a try...

Grid SOP,

then PolyBevel SOP, with "Relative Inset" set to 1

then Divide SOP, with "Compute Dual"

Also take a look inside the Platonic Solid SOP and see how they created the Soccer Ball.

hexagonMesh_odforce.hip

Edited by Ryan
Share on other sites

You can not use copy SOP, but move the second row of plane

Share on other sites

Also take a look inside the Platonic Solid SOP and see how they created the Soccer Ball.

Yes, except it's not really a "soccer" ball. A real soccer ball is a bucky ball, which I made an HDA for it awhile back:

http://www.sidefx.co....php?fileid=262

Share on other sites

• 2 weeks later...

Grid SOP,

then PolyBevel SOP, with "Relative Inset" set to 1

then Divide SOP, with "Compute Dual"

Very clean hexes, thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×