RobynsVeil opened this issue on Oct 18, 2015 · 32 posts
RobynsVeil posted Sun, 18 October 2015 at 5:25 AM
One of the things I found most compelling about Poser was its extensibility, through Python. Indeed, it made making materials incredible fun, particularly when using Bagginsbill's Matmatic. Whilst there were several who understood the maths Bagginsbill was teaching along with his shaders and who created some pretty incredible shaders (like KobaltKween's Essential Materials, as a vivid, powerful example), I was never that clever. My Matmatic-generated skin shaders were pretty pedestrian, really. Seems almost a waste of a fine add-on tool, really, but what I used it for was more as an automation tool. Now I'm doing a lot in Blender these days, particularly importing scenes posed in Poser (well, the figures, anyway) and ... well, the time-sink is definitely assigning the materials. That's a huge time-involvement issue, particularly when you have to make a small change to a pose, then re-export/import the figure from Poser to Blender. There's no easy, quick way to assign shaders onto a multi-material figure in Blender.
So, I thought: hey, why not use Blender Python to automate this?
Well, this is not a trivial task, apparently. I've been struggling getting started just creating a new material with a glossy, diffuse and mix shader plugged into an output node on a cube.
But, finally got that working.
There's a long way to go. I'll work first with a figure I'm most familiar with, automating a fairly rudimentary shader for her. The paths and everything will be hard-coded at first as this is just a very basic script, for now.
If anyone is working along the same lines, I'd be happy to share where I am as well as the code and so forth. Hope to get an add-on out of this, even... who knows.
Monterey/Mint21.x/Win10 - Blender3.x - PP11.3(cm) - Musescore3.6.2
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[it is clear that humans have contempt for that which they do not understand]