Is it possible to pass a custom point attribute into the “Scale” property of the sweep sop? In other words, each point on my backbone curve has a ‘myScale’ attribute and I want each cross section geometry to be uniquely scaled according to myScale. Sample hip is attached.
Thanks for any help.
-Greg
sweep sop and custom point attrs
3734 3 3-
- grhart
- Member
- 21 posts
- Joined: Nov. 2010
- Offline
-
- grayOlorin
- Member
- 1807 posts
- Joined: Oct. 2010
- Offline
that is because $MYSCALE is not available as a local variable since circle1 is the mesh you are feeding as the main input of the sweep SOP. $MYSCALE is only available as a local variable for operators that use create_scale_attr as their main input (like the ray SOP I added to your example)
You can however use point() to actually get the value, like this:
point(“../create_scale_attr”, $PT, “myScale”, 0)
You can however use point() to actually get the value, like this:
point(“../create_scale_attr”, $PT, “myScale”, 0)
-G
-
- rafaels
- Member
- 700 posts
- Joined: March 2009
- Online
You can by using the “point” expression.
cheers
cheers
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
-
- grhart
- Member
- 21 posts
- Joined: Nov. 2010
- Offline
-
- Quick Links


