Hi all, I’m brand new to blender, but relatively seasoned generative graphics coder. I’m now trying out blender. Loving it so far.
i’m wondering if it 's possible to create a python modifier. I.e. i want to write a script, that runs on an attached object every frame, taking time as a parameter, and any custom parameters the object might have (ideally the script would expose custom parameters).
i have a number of applications in mind:
-
to act as a parametric mesh deformer. i.e. act on every vertex of the mesh, and move to a new position, f(x, y, z, time). E.g. like a very bespoke ‘warp’ modifier.
-
take the object it’s attached to, and duplicate it around the scene, with custom transformations, animating over time (kind of like the mograph plugin for C4D).
It’s very hard to google this because all search results for any combinations of the words “python modifier blender” always return “how to add a modifier in python in blender” which is not what I’m after.
is this possible? Do I need to write a plugin for this kind of behaviour? Or do I use the game engine? Ultimately I’m not bothered about this running realtime. I want to render it through blender, not opengl.