The new Field pop + Spec POP looks amazing! I’m wondering if there would be a way to combine params from the field or output an array of contributions from points.
I edited the old glsl examples from the forums to put this together for some of my work. Might be specific use case but I think something like per point colors on the fields would be awesome, but obviously figuring out how exactly to combine params could get tricky.
fieldpopVOLUMES.toe (602.1 KB)
You could get a rudimentary version of a sort of sdf id by specifying torange1 and torange2 if those were modulatabke. Then you could do a lookup tex
Hello @davispolito
Thanks for the suggestion. We have a task in our backlog to output the fields to an array of weighs or SDFs. Every field would have its own array index. Would that be useful for you?
So like a Weight Array?
As in if I had 1 point at (0,0,0) on the first input and 2 points at (0,0,0) representing my fields I would get an out put Weight array that had Weight[0] = 1 and Weight[1] =1 ?
That sounds like a great idea!
1 Like
also to update this in case anyone is interested. you can modulate the torange it just has to be a vec2 lol. don’t know how I didn’t notice that. maybe a warning if you type torange1 as an attribute to spec pop is overkill but just popping that idea out. there’s already good type warnings for when you use An attribute that has the wrong type
torangecolorlut.toe (9.3 KB)
here is a sample of using the range to look up into a color. It’s limited to single color values without ramps but I think I can probably figure out some sort of way to get color ranges in there. I was goofing around with being able to use the transition range to do gradients. you’ll notice that the lookup table has black interleaved into it. This worked when only one field was visible at any given time but when fields add together then the whole grid ends up just flashing some color