ohai.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A cozy, fast and secure Mastodon server where everyone is welcome. Run by the folks at ohai.is.

Administered by:

Server stats:

1.8K
active users

#geometrynodes

4 posts4 participants1 post today
"Summer on a Stick, No. 2: Candy Apple"

In Calgary, summer is associated with Stampede and the fairground. As we start to warm up, I wanted to create a series of quick fair food renders in Blender, a series I call “Summer on a Stick”.

This is the second one, a candy apple. I found the candy apple shader particularly hard to get right; in the end, I used a combination of approaches I've previously used for car and oil paint, although I'm still less than perfectly pleased with the result.

#fediart #mastoart #artistsonmastodon #b3d #blender #Blender3D #geometrynodes #candy #blendercycles #fairground #cyclesrender #blendercommunity #geonodes #3dartwork #3dart #digitalart #fair #fairground #summer #food #candy #sweet #illustration #digitalillustration

Geometry Nodes. Wireframe.
Start with a Cube. Add a Loop Cut, and pull one edge out.
Head to Geo Nodes.

We need 3 parts:
Original Mesh
Wireframe
Corners (as the way I'm doing it doesn't add corners)
so lets add a Join Geometry to plug them all into.
Corners are the easy bit. Instance on Points: Sphere. I've set the radius to 0.1m
For edges, I convert to Curve, and back! Add a Curve-Circle as Profile, with the same radius as Sphere.

Cont...

  • This is my first post on Mastodon, so for an #introduction post I'm going to present a puzzle related to my interests, as I have an issue and could use the Fediverse's help! Specifically, the material falls within the intersection of those interested in #blender3d as well as playing #guitar

I'm making a guitar fretboard visualizer with #geometrynodes as part of a bigger project, and am struggling with vertex selection for specific points fed by user input (think like how notes are numbered per string in guitar tablature)

  • Alt text for the images describe the issue i'm currently tackling:

    • A grid that represents a guitar fretboard, with a numbered index starting from 0 that increases along the X-axis. Upon reaching the last fret, the index number continues at the original X location and up one on the Y-axis. This repeats across all strings for all frets.

    Below the grid is a Geometry Node setup that shows how the grid changes shape to reflect the number of frets and strings on the user guitar, with rotation and flipping for left-handedness, as well as a Sort Elements node that arranges the aforementioned index of the grid vertices.

    • In addition to the grid, small circles are instanced at every vertex of the grid with matching rotation via an Instance on Points node.
    • In the Geometry Nodes space, we can see the Player controls with an integer for each fretted string. Using Integer Math nodes, we can get the value for each fretted note.
    • Using a Viewer node, we can see the values that correspond to each fretted note (i.e. on a 25-fret, 6-string guitar: [string 1, fret 3] = 3; [string 2, fret 5] = 30, etc.)
  • With the current Player input, the expected result is to have only circle instances show up in the shape of a G Major barre chord. The idea is that the grid maintains its index that starts with 0 and increments by 1 (image 1), and circle instances are placed at the vertices corresponding to the values shown in image 4 (3, 30, 55, 79, 103, 128, all higher values won't appear on the fretboard).

  • The actual result is that nothing appears to happen; no circles are instanced to the grid. I'm currently stumped, so I'm hoping a friendly noder out there might have the solution I seek. Thanks in advance!