4
$\begingroup$

In Blender 3.0, using Geometry Mode, is there a way to create a list like [0,1,2...] and apply various operations on it (math, zip,...) ? For instance I could use it to put 100 objects whose coordinate follows some functions, say x^2 and whose size follows another function, say 2x? (I may also be interested to add some randomness)

EDIT

For now, I encode lists into geometry generated using Mesh line, and I fake the Map operation using Set Position, but it sounds a bit weird to me.

It would also be cool to encode tuples or dictionnaires, and allow inputs from the user, for instance to accept and parse a kind of list like [{kind='cube', color='red', spiral_pos=0.5}, {kind='monster', color='purple', spiral_pos=0.8}]

enter image description here

EDIT

Since this question is containing two questions (lists and custom attributes), I created a new question for custom attributes here.

$\endgroup$
12
  • $\begingroup$ Yes it is a very easy basic setup. Maybe you search here or watch some beginner geometry nodes tutorials. $\endgroup$
    – Chris
    Commented Mar 7, 2022 at 17:50
  • 1
    $\begingroup$ Just a hint: you can plug your value directly in scale - you don’t have to use combine vectors - if the value for xyz is the same anyway. $\endgroup$
    – Chris
    Commented Mar 7, 2022 at 18:21
  • 2
    $\begingroup$ well...it is not a programming language. It is a "visual" composing "thing". And it is still under heavy development. So even more great things will come ;) If you really want to work with lists, i would recommend using animation nodes or Sverchok. They really can handle lists. GN cannot do this right now. $\endgroup$
    – Chris
    Commented Mar 7, 2022 at 18:34
  • 2
    $\begingroup$ the spreadsheet until now is just a "debugging" help for us. You cannot change there anything up to now. $\endgroup$
    – Chris
    Commented Mar 7, 2022 at 18:43
  • 1
    $\begingroup$ But the example you wrote in the question: I don’t think that is possible right now. But it is for sure possible with animation nodes. $\endgroup$
    – Chris
    Commented Mar 7, 2022 at 18:51

0

You must log in to answer this question.

Browse other questions tagged .