As part of BlenderSciViz it's going to be useful to generate materials automatically.
This is going to be fun. or not.
Given whatever kind of mesh, i want to be able to run a function that checks the mesh data and makes a shader automatically. Let's try some basic stuff first, like add nodes and connect sockets via a script.
As you can imagine, this much repitition is going to get on my nerves. So it will be useful to write a mini
This is going to be fun. or not.
Given whatever kind of mesh, i want to be able to run a function that checks the mesh data and makes a shader automatically. Let's try some basic stuff first, like add nodes and connect sockets via a script.
- allow to easily define custom color ramps
- allow easy floor and ceiling for ramp
- arrange neatly
- hide unused sockets
As you can imagine, this much repitition is going to get on my nerves. So it will be useful to write a mini
node connecting
grammar. Something like: