BrendanParmer / NodeToPython

Convert Blender node groups to a Python add-on
MIT License
247 stars 23 forks source link

Shader Nodes #4

Closed BrendanParmer closed 1 year ago

BrendanParmer commented 2 years ago

Would be cool to do it with materials too

BrendanParmer commented 1 year ago

Working in branch material_update

Some items to complete before merging back into main

Given how the script is coming out so far, it's probably best if both the Geometry Nodes and Shader Nodes (and later Compositing Nodes) are combined into just one, but that'll happen after the material script is actually working on its own.

BrendanParmer commented 1 year ago

Scripts turned out similar, but materials ended up being more complicated to handle than just geometry nodes. Eventually, more logic currently shared between the two groups will go into the utils.py folder, though I think I'll wait until I get compositing nodes done to do that.

Images still coming

BrendanParmer commented 1 year ago

Single images seem pretty stable in both Geometry Nodes and Materials. More testing still needed

BrendanParmer commented 1 year ago

Single and generated images now stable. Will do image sequences and movies in a later update