noizfactory
I'm trying out a setup that requires me to pass subdivided points into a group node but currently I'm restricted to 8 divisions in U/V and I don't want to use too many subdFace nodes and group nodes to do this.

So I was thinking maybe I could try writing a custom node that allows unlimited U/V divisions using Python API as my initial foray into the same. Any pointers on where I should be looking? Or am I stupidly overlooking something obvious before delving into this?
Reply 0 0
pshipkov
If you use "exponential" method the limit is 4 divisions.
If you use linear - you have 4 levels + divisions_per_edge that can be set to big values.

Python scripted "subdivide" node is going to be slow.
Constructing/manipulating mesh data requires plenty of loops and numbers crunching - Python is pretty useless for this kind of stuff. There are some third party c-libraries that have python bindings that may help you speed things up a bit but then the dependency chain gets messy and deployment of tools becomes problematic.

Reply 0 0
noizfactory
Thanks for your insights Peter. I should probably choose a less complex Python API exercise for now and continue with my current method of daisy chaining multiple subd and group nodes. Its just a minor irritant for now.
Reply 0 0
Reply