Hacker News new | ask | show | jobs
by hrnnnnnn 1635 days ago
I intend to use the prompts to learn python scripting in blender. Geometry nodes are great and I love the instant feedback, but for anything requiring iteration or recursion it can be quite cumbersome as there is no loop node yet.

Alex Martinelli does some really cool stuff with cellular automata and I'd love to be able to get similar results in blender.

https://twitter.com/5agado/status/1476121617415745536

1 comments

Can you write geometry nodes in Python? I've found that "nodes plus an escape hatch to real code" is a nice balance.
Do you mean can you add your own nodes? You can but you have to do it in the core code which is C++.

An addon that existed before geo nodes and did similar things, animation nodes, does actually let you write free-form python in the node tree since it was written as an addon. It is very slow compared to geometry nodes though, especially when dealing with lots of objects.

> Do you mean can you add your own nodes? You can but you have to do it in the core code which is C++.

Ouch. I really hope that changes.

> An addon that existed before geo nodes and did similar things, animation nodes, does actually let you write free-form python in the node tree since it was written as an addon. It is very slow compared to geometry nodes though, especially when dealing with lots of objects.

I would like a situation where I can choose to trade speed for easy customization without switching to an entirely different system. I really hope they add scriptable geometry nodes. I just know for a fact that a node system without an escape hatch will be too limiting (and writing C++ is less than ideal and not viable at all if it requires a full recompilation of the app)