Open zeffii opened 8 years ago
Seems sensible as basics.
Norm. All vectorized? I see that as vectorized and + separated flag as mode in cube and sphere. types of sphere can be much different. bmesh generator for cube? sections again? Or can i finish my scripted node of ordered cube? My script is slooow. how to solve?
Sometimes we don't need complicated generators. It will definitely help people trying to make their own generator nodes to have a few simpler examples which help them understand the more complicated generators too.
The idea is to make vectorization easier to declare as a feature of the input sockets, so we only write code which concentrates on what to do when all sockets have data - and rarely need to write the vectorization explicitely in the node.
@nortikin , yeah I really do want simple generator nodes that use bmesh.ops to generate their base meshes. But I think it makes sense for certain generators to be easily hot-swappable with more advanced versions ( basic-node -> get connections / parameters / location -> delete node -> add advanced version -> set location / parameters / reconnect )
regarding speed there are options:
I've thought about this for a while and want to suggest some strategies and see how you guys look at it.
I propose a set of Basic Geometry generators