Hi
Is it possible to control the scale of the Sweep SOP with expression? I'd like to create roots, and the longer the curve, the thicker the scale. Apparently I cannot add expression to the Scale parameter.
Sweep with expression controlled scale
4180 5 2- szmatefy
- Member
- 141 posts
- Joined: Dec. 2015
- Offline
- Aizatulin
- Member
- 495 posts
- Joined: July 2005
- Offline
- szmatefy
- Member
- 141 posts
- Joined: Dec. 2015
- Offline
- CarloB
- Member
- 20 posts
- Joined: April 2015
- Offline
- AnimGraphLab
- Member
- 66 posts
- Joined: May 2019
- Offline
CarloB
i'm tryng to add a pscale on the backbone with a point wrangle, but nothing happend
Try to add backticks
`@pscale`
However, you'll get a warning Local variable 'pscale' not found. I guess it's because Sweep SOP doesn't support local variables?
To fix this warning, use
detail(opinputpath('.', 0), 'pscale', 0)
or a short version: detail(0, 'pscale', 0)
. This
detail()
expression will access incoming attributes from the upstream node(s).Edited by AnimGraphLab - Oct. 12, 2024 07:44:07
Generalist. Transforming still images to 3D animation 🔮
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
- Mike_A
- Member
- 280 posts
- Joined: Aug. 2018
- Offline
-
- Quick Links