GlennimusPrime Posted March 11 Share Posted March 11 I'm using a Solver SOP to transfer colour over time from a single point to a grid: When the coloured point moves back over previous positions, the colour is additive. What method can I use to 'paint' the current point colour to the grid non additively? The issue is obviously my current vex inside the solver, because it uses additive math: vector prev_col = point(1, "Cd", @ptnum); v@Cd += prev_col; I just can't wrap my head around an alternate technique to "paint" these colours over top of itself. .hip file attached. transfer_colour.hiplc Quote Link to comment Share on other sites More sharing options...
fencer Posted March 11 Share Posted March 11 (edited) max might be cheap method v@Cd = max(prev_col, v@Cd); vop colormix or lerp seems more correct but requires a bit different approach of mixing with masking or so Edited March 11 by fencer Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.