Hi there! i’m trying to add raised bumps to a geometries vertices like in the picture above,
Does anyone know what kind of math formula could do this? I know earlier we figured out how to add spirals and waves by using Math.Sine(). is there a math.function that could do bumps? It’d be cool to tweak the spacing, size, and sharpness with parameters
I wonder what this thing represents
Sure you can do this with plain math, even render it entirely in screenspace with discrete functions. A quick inbuilt solution is using a displacement map which will displaces the vertices along their normal by the brightness of the texture, but you might not want to deal with uv coordinate distortion, if that might become an issue for this shape.
Thanks Fyrestar, but what do you mean by discrete functions? Also the bumps have to be applied to an unknown shape generated by a users input.
So far I’ve tried iterating the vertices and then dropping a sphere geometry every X vertices. Then i planned on using spheres vertices to influence my shapes, then delete all the spheres.
I came up with this approach:
No wonder the cylinder needed to be ribbed, twisted, and bumpy! It all makes sense now.
Next up: “Can you help me make the geometry vibrate in Three.js”?
Damn! I’ve burst with laughter
@Tintinabulator_Zea I think it’s ok to post a link to the main project, if you’re free to share it.
These poor guys are just gonna die from curiosity otherwise
Okay looeee is right, here is the current progress, https://sextoycollective.com/sculptor/ it’s a tool for sculpting and 3D-printing dongs. Thanks for all the help so far, I couldn’t have done it without you: )
Who could’ve thought it! Nice project!