3
$\begingroup$

I have a mesh line. On the left, you can see the x-values in the position attribute. I want to use those x-values and display them as text by using the text nodes. Without having to type out each number.

Or, is it possible to generate any sequence of numbers with text nodes?

$\endgroup$
3
  • $\begingroup$ AFAIK not in GN at the moment. But you can do this with Animation nodes if you are open for this add-on - which is just amazing by the way. $\endgroup$
    – Chris
    Commented Jan 24, 2022 at 6:48
  • $\begingroup$ Thank you Chris. Can you link animation nodes into a GN node tree? $\endgroup$ Commented Jan 24, 2022 at 7:01
  • $\begingroup$ no you can't. But AN puts the result in a collection, and this collection can be used by GN. So it is in fact connected (somehow). $\endgroup$
    – Chris
    Commented Jan 24, 2022 at 7:17

1 Answer 1

5
$\begingroup$

Node setup:

enter image description here

By changing the integer value you can decide how much numbers should be generated. The object transform output isn't really necessary. I just put it in that you can see the numbers.

result:

enter image description here

enter image description here

Note: Animation nodes is so friendly, it even puts the resulting texts in an own collection, which you can use in GN.


So here you see a combination of GN + AN.

Because AN is executed automatically, every change in AN will reflect in GN.

So i distributed the numbers on a cube randomly, and as you can see, if i change the number of numbers, it will be changed in GN too.

enter image description here

$\endgroup$
6
  • $\begingroup$ Thanks, Chris, you are a very knowledgeable person. $\endgroup$ Commented Jan 24, 2022 at 7:17
  • $\begingroup$ @MatheMatics: Thank you very much! If my answer helped you, please click on the checkmark left to my answer. i updated my answer with a simple GN + AN setup gif. $\endgroup$
    – Chris
    Commented Jan 24, 2022 at 7:20
  • $\begingroup$ Unfortunately these nodes don't seem to exist anymore in Blender 3.2. There is a Value to String node but that only takes a single value as an input - not a field, so can only create on integer at a time $\endgroup$ Commented Aug 3, 2022 at 8:39
  • $\begingroup$ @RajeshJAdvani: about what nodes are you talking? all these nodes are still available.... $\endgroup$
    – Chris
    Commented Aug 3, 2022 at 8:42
  • $\begingroup$ Most of the nodes in the first diagram - Loop Input, Convert to Text, Text Object Output - aren't there in Geonodes in Blender 3.2. Since nodes weren't removed after 3.0, I'm guessing you either have an add-on that provides these, or an older version of Blender? $\endgroup$ Commented Sep 15, 2022 at 7:37

You must log in to answer this question.

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