SamuKata
colortwist
colortwist

patreon


Random code stuff

And now for something completely different.

I'm still here and working on stuff. Rather than making a text only post (which I swore to myself I'd never do), here's something only marginally better- a screenshot of the text only code I'm currently working on for this project (left side).

Long story short, I needed some nodes in the Xpresso graph editor that C4D doesn't implement by default for whatever reason. Most of it has to do with the way I wanted to rig up the hands on my model, but there's also some stupendously obvious things that MAXON never got around to writing (like a min/max node, a node that can calculate pow(), an atan2 node, etc, etc). You can create your own nodes in Xpresso by using the Python scripting node, but then that means you've got 30 or so copies of the same thing lying around in a scene and if you ever need to update one of those, you have to go through and find them all by hand then pray you didn't miss any.

So I finally bit the bullet and decided I should figure out the GvOperatorData() class and pull together my own Xpresso node kit. Not exactly how I'd like to be spending my days (as I'd rather be staring at inflated curves), but thankfully this is one of those things you only have to do once and then it's pretty much done forever. Likewise, by doing things this way, any nodes I write are basically shared between all scenes so updating the code is as simple as making the required changes and recompiling- no need to run around trying to hunt down every last copy of a Python node instead.

Random code stuff

More Creators