JeremyR
Hi Peter,

Is there a way you can add some inputs into this node lets say inVectorPP and inScalarPP? And if this input array is larger than the createArray length then the extra indices get pruned off and I guess if its smaller then the last value gets repeated for example. 
My thoughts are to  be able to use the createArray node to 'match point count' when 2 objects have different sized arrays.
Reply 0 0
JeremyR
Come to think of it could you add some sort of 'slicing' functionality like python lists?
Reply 0 0
pshipkov
Sure. Can you clarify which array should be pruned - the input one or the one generated from within the node ?
Reply 0 0
JeremyR
Im not sure. The data still needs to be live because I want the input to affect the output dynamically - that makes it harder right? If that is manageable how manageable would implementing a slicing routine in there? This is not actually required in my case but I just like the idea. We could create a 7 index array and specify say inArray[3:10] for those values, otherwise just default it to inArray[:7].

Reply 0 0
noizfactory
Nice idea Jeremy.
Reply 0 0
pshipkov
Got it, let me think a bit and if time allows will implement. Should be pretty easy.
Right now i am having a lot of fun trying to figure out something with scatter and animated textures, also there is some new stuff coming where i am having "fun" moments with clunky API stuff.
Reply 0 0
noizfactory
Will the scatter stuff also include the much requested uniform scattering feature? Sorry to bug you about this all the time ;)
Reply 0 0
JeremyR
pshipkov wrote:
Got it, let me think a bit and if time allows will implement. Should be pretty easy.
Right now i am having a lot of fun trying to figure out something with scatter and animated textures, also there is some new stuff coming where i am having "fun" moments with clunky API stuff.


Cool look forward to it.
Reply 0 0
pshipkov
i have uniformscatter high in the todo list.
i think i will release new version with two new nodes and 2 new scripts in it also a lot of fixed bugs that you guys reported here, will try to include jeremys request about creatte array.
next release will be wire deformer and uniform scatter.
also, i  have to move to win7 and that is another time consuming task. finally people ask for gcc4.1.2 vuild ...



Reply 0 0
pshipkov
I am in the middle of implementing your request, but will ask one more time just to make sure i understand you right:

if i connect array on the input of the createArray node then what you want:

1. the input array to be passed to the output but with different length according to the createArray.length attribute. In this case all other settings are ignored.

2. the output array has the length of the input one, and the values in it are generated by the settings in the create array node.

I am thinking that if #1 we are better off with new "setArrayLength" node.

Let me know.
Reply 0 0
JeremyR
I think number one is more appropriate with the added functionality of being able to choose which slice of the input array you are after. 
This last bit is only added, Im starting to thing I can achieve the same thing using a group node now.
Reply 0 0
pshipkov
Ok, here is what i am going to do:
instead of complicating the createArray node i will make new node that trims/extends the array length. That way things will be simpler in general.
Reply 0 0
JeremyR
Will it still preserve a dynamic data transfer from the inputArray? So as input value changes, output value will update?

Also I guess it has to handle single float/double and vector.
Reply 0 0
pshipkov
yes.

Reply 0 0
JeremyR
Love your work as always.
Reply 0 0
Reply