Hey,
I'm trying to get my head around the SOP Solver (and VOPs)
Specifically I'd like to use the Attribute VOP to create a fade (or lag) on a colour change. E.g. It goes red with the Attribute Transfer then the red slowly fades off.
It's almost identical to what Danil does here https://vimeo.com/133310380 [vimeo.com] at
25.40 but with Att VOPs.
In the attached project I'm trying to simply get the VOP in the Solver to write down a trail of red. Ideally I'd like this to happen but the trail to fade.
Clearly I'm missing some important logic in all this and am a little befuddled. Any help would be appreciated.
Thanks,
Simon
Solver/Fade
6095 4 1-
- Simon Russell
- Member
- 166 posts
- Joined: Feb. 2014
- Online
-
- mestela
- Member
- 1850 posts
- Joined: May 2006
- Offline
You missed a couple of things;
The getattrib vop needs 3 things; the geometry to use, the attribute to find and a point number to lookup. You didn't connect the point number (@ptnum).
With that, the colour left a trail, but never faded. I added a multconstant to multiply the colour by 0.95, which will gradually fade it over time.
I also included a point wrangle, which I think is easier to use in this case (the @opinput1_Cd syntax automatically looks up from the 2nd input, using the same ptnum as the current point).
-matt
The getattrib vop needs 3 things; the geometry to use, the attribute to find and a point number to lookup. You didn't connect the point number (@ptnum).
With that, the colour left a trail, but never faded. I added a multconstant to multiply the colour by 0.95, which will gradually fade it over time.
I also included a point wrangle, which I think is easier to use in this case (the @opinput1_Cd syntax automatically looks up from the 2nd input, using the same ptnum as the current point).
-matt
-
- Simon Russell
- Member
- 166 posts
- Joined: Feb. 2014
- Online
Thanks Matt. Much appreciated.
And thanks for your website. It's a fantastic resource.
And thanks for your website. It's a fantastic resource.
mestela
You missed a couple of things;
The getattrib vop needs 3 things; the geometry to use, the attribute to find and a point number to lookup. You didn't connect the point number (@ptnum).
With that, the colour left a trail, but never faded. I added a multconstant to multiply the colour by 0.95, which will gradually fade it over time.
I also included a point wrangle, which I think is easier to use in this case (the @opinput1_Cd syntax automatically looks up from the 2nd input, using the same ptnum as the current point).
-matt
-
- mestela
- Member
- 1850 posts
- Joined: May 2006
- Offline
-
- Simon Russell
- Member
- 166 posts
- Joined: Feb. 2014
- Online
-
- Quick Links