jersmi's picture

Is there currently a more elegant way to create expressions for Make Parametric Grid Mesh (et al.) besides using Append Text?

Comments

For this particular math,

jersmi's picture
Submitted by

For this particular math, maybe the hot-off-the-press Make Supershape 3D Object node would help? Available for testing in the 1.2.7 alpha version.

Awesome, Jaymie! Well, mine was a "wonder if I can get this to work" moment, and it does, pretty much, still working on getting the formula in order as I'm still not 100% on the proper way to approach the expected formulas for the parametric nodes. And one advantage of using Make Parametric Grid, of course, is plugging in numbers where they weren't meant to be plugged in....

Would it be too much to ask what the proper supershape formulas would be for X, Y, Z on Make Parametric Grid? Relying a little too much on trial and error.... Just looking to learn about the node!

The formulas are in the

jstrecker's picture
Submitted by

The formulas are in the source code, which you can get from https://vuo.org/releases . Both Make Parametric Grid Mesh and Make Supershape call the same function to generate their mesh, VuoMeshParametric_generate. In node/vuo.scene/vuo.scene.make.supershape.c, search for VuoMeshParametric_generate and you'll see the formulas. You can compare them to node/vuo.scene/vuo.mesh.make.parametric.c.