is there a way to use a point passed in as uniform that is multiplied against?
For example if I wanted to get the distance of several particles to one particle I set a uniform in math combine and calculate against that but what if I wanted to access the first point always?
I feel as though this question was answered during that big talk on zoom a few months ago but i have sense forgotten. I think the answer may have been using the lookup attribute and copying it out to every point.
Or perhaps the interesting python way of accessing points show in that zoom which i can’t remember how to do
Hello,
For the math mix and math combine, if you have an input that’s a single point its attributes will be treated as a uniform (so it won’t trigger the warning regarding mismatch lengths between inputs)
Couldn’t remembered if it was documented so I made a toe, but then I saw in the wiki
“The inputs can include POPs that are a single point and are treated as constant values when combined with multi-point POPs.”
MathMixCombinePOPSinglePointUniform.toe (6.4 KB)
Let us know if that makes sense!
1 Like
amazing! glad to see the wiki is getting updated! I’ll start checking there first for simple questions