Closed enzyme69 closed 2 years ago
If it can be done in python then it can be done in sverchok
Yes, I am trying to dig more into it. Bradley Animation is using AN version with some extra nodes from Kuldeep Singh to set custom attribute.
In the past, we have already Attribute "Col". But in recent Blender there is also "Geometry" etc which I hardly used. But probably related to Geometry Nodes instancing.
https://docs.blender.org/manual/en/latest/render/shader_nodes/input/attribute.html
Currently reading this: https://docs.blender.org/manual/en/dev/modeling/geometry_nodes/attributes_reference.html
This is looks like original code of the node.
So far, the most interesting bits of Geometry Nodes is the ability to separate Vertex Color data like "SvCol" XYZ, then inject it back into Geometry Nodes mesh.
Hey @Durman, I noticed an interesting tool in your screenshot. And quite useful. Is that a build-in tool or some utility you made yourself?
Do you mean spreadsheet editor? This is not what can be done with Python so it is build-in functionality. Now it's in 2.93 Blender version. It shows some attributes of selected mesh. Later more functionality will be added like filtering, editing values and etc. So it's on early development stage.
Now it's in 2.93 Blender version. It shows some attributes of selected mesh. Later more functionality will be added like filtering, editing values and etc. So it's on early development stage.
Oh! I see! It is great to know it's coming and thanks!
@enzyme69 or someone else, do you have any ideas in mind about usecases for the set mesh attribute
node?
It's probably for Geometry Nodes and instancing and things like Attribute Transfer node. If SV nodes can provide data like for example for index instance.
Set Mesh Atrribute ... maybe:
I think Kuldeep shows some Animation Nodes set and get custom attribute.
This idea would be pretty useful for use it with geonodes fields.
You can create attributes with Sverchok and GN can utilize them.
Snapshot:
As shown by Bradley Animation with Animation Nodes here: https://www.youtube.com/watch?v=EmMyxSRGhRc
I am wondering if SV can support the creation of Custom Attribute (Points) and fill it values so that Geometry Nodes can understand the value and using it for instancing.