3
$\begingroup$

How do I change the number of segments for each ring on a UV Sphere in Geometry Nodes?

enter image description here

The top and bottom rings should have fewer segments so that the letters don't overlay each other.

Here's my setup:

enter image description here

Thanks in advance :)

$\endgroup$
1
  • $\begingroup$ I have made an accepted answer to this question: How can I use geometry nodes to shape this structure into a pyramid? including file to download where I am basically doing what you need, I guess, just with a square shape instead of a circle... so maybe take a look into the file if you can modify it for your needs (in the end, if you create a circle with just four vertices it's a square, too). $\endgroup$ May 4, 2023 at 12:26

2 Answers 2

5
$\begingroup$

You could extract the latitudes of your UV Sphere and convert those to curves:

enter image description here

.. which can be sampled by length in Curve to Points.

That means you can space your letters out evenly:

enter image description here

$\endgroup$
1
  • $\begingroup$ Thank you! This worked perfectly. $\endgroup$ May 5, 2023 at 9:04
4
$\begingroup$

Instead of using a UV Sphere, you could just use maths, by converting between plane and spherical coordinate systems:

I wouldn't be surprised if it actually was slower, plus it introduces a problem of having to divide the text into lines by yourself. The advantage is, you can get proper letter spacing (not sure if that's even something you're interested in), and the precision of sampling is as if you sampled on infinitely subdivided curve. This precision thing is subtle and really only visible if instead of positioning entire instances you're realizing them and maybe even subdividing them to make the letter shape conform to the sphere completely… So that's what I show in the example, quite far from the request.

To combat the squeeze, I think you would need to divide the x by calculated radius.

$\endgroup$
2
  • $\begingroup$ Actually proper letter spacing is the matter not of manually calculating sphere positions, rather spawning the text on a plane first, and then using its x, which can be used as a factor on the curve, so you could still spawn just a single line and sample the factor of all joined curves from uv sphere. $\endgroup$ May 5, 2023 at 9:14
  • $\begingroup$ Makes mine look clunky and simplistic :) $\endgroup$
    – Robin Betts
    May 5, 2023 at 9:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .