I made a lot of changes in the internal structure today. The work goes faster than expected. :)
Right now I rewrite all nodes for using numarrays as input data. It will take couple of days.
Wait for the new version next week.
> Right now I rewrite all nodes for using numarrays as input data.
Well...which means most likely I have to rewrite some portions of my utility nodes.
I'll wait and see :)
Ciao!
P.S. One last question Max.
Some times ago, when you developed the excellent SubDiv scripts, if I remember correctly,
you said that one day you'd add the ability to accept surfaces with more then 4 edges.
Do you think to upgrade SubDiv script in order to give it that feature ?
> Today evening I rewrote all nodes except arrays.
Does it mean that you are not going to add any new features to PointArray ?
For example : programmatic ways to specify the iteration order, or parameters to specify start,end,step,
or the possibility to map every array element to a generic tag object (IMHO this would be a very powerful feature, for example link an array element with a
GeometryFactory Subclasses).
>Some times ago, when you developed the excellent SubDiv scripts, if I remember correctly, you said that one day you'd add the ability to accept surfaces with more then 4 edges. Do you think to upgrade SubDiv script in order to give it that feature ?
Hi Marco,
I have no plans to continue developing of the Subdiv script this year. Maybe later.
>Does it mean that you are not going to add any new features to PointArray ?
I will add a new features, but not now.
Yes! I did it! :)
In this version I replaced "number" type with "numarray". Nodeeditor now uses only three types of data: objectlist (built-in moi type, in fact it's object array), point/frame array, number array.
Now you can send multiple values to each node input.
For example, you can create Circle node and set radius "10,15,33", and you will get three circles(use "," as array separator and "." as decimal separator).
Or create Point node and set X "0,2,4", Y "0,3,6", Z "0,5,10". In this case nodeeditor will process all arrays simultaneously. You will get three points(x,y,z): (0,0,0) (2,3,5) (4,6,9)
Also you can set arrays with a different lengths. In this case the arrays can be processed with different methods. Right now I implemented two methods "Long" and "Short"
This picture will help you to understand how it works.
Later I'll add Cross and Interpolation modes. But first I need to make "resize/interpolation" node.
Also I need to make Range slider node because some nodes uses arrays as range settings.
thanks for sharing this great work. I've started to study your changes and saw there are a lot. I think it will take a while, until I understand all the improvements. I've tested also some of my old nodes without number inputs and they all seems to work:-) Only the pushFrame has still the rad/deg conversion problem?