Re:Blender 3.4
by whatswrong on Thursday December 08, 2022 @05:14AM
(#33906291)
It's been a while since I played with GN, but aren't "drivers" merely python scripts that outputs values that can been used as input fields?
You can use scripted expressions in drivers, and if the expression is complex it uses the Python interpreter, but drivers are an entirely separate system than GN. They always (afaik) put out a single value, so while you can use them to control a value of a socket or channel inside GN, they wouldn't be evaluated dynamically for every element of a geometry so they wouldn't be a "field".
I was rather disappointed to learn geometry nodes weren't scriptable. Writing short Python snippets for geometry transformations would have been of great interest. It seems not only do you have to use C++, you have to compile the whole of Blender to add your own nodes!
Re:Blender 3.4
by johnofthesea on Saturday December 17, 2022 @09:05AM
(#34027834)
Maybe this will come one day. Revit and Rhinoceros do have python-scriptable 'nodes'.
There's no Python (like the add-ons), all nodes are C/C++.
I looked into what "variables" are, it says stuff like "position", "current animation frame" etc. Those would be called "input fields" in GN. In addition to default attributes like position, normal, rotation etc you can also capture, store and recall custom attributes, either anonymously or as named ones (always written on geometry in a particular domain--point, edge, face corner etc).
Taking a look at an Entagma video on GN would be much more helpful I'm sure (they also have a course).