Hey all,
been a long time since my last visit here. I need to create a 2d arrow in a single add SOP. pt0 and pt1 are the (changing) start/end points of the line, and now I wanna draw an “arrow head” at the start/end points.
I actually wanna do this in Houdini's little brother (touch), so I have no access to python expressions.
Any ideas how to do this
Thanks
Achm
Create an (axis independent) 2d arrow in a single add SOP?
5814 6 0- puma.snyder
- Member
- 121 posts
- Joined: 7月 2005
- Offline
- probbins
- Member
- 1145 posts
- Joined: 7月 2005
- Offline
I would suspect that a a careful arrangement of points would do at the trick.
Add a bunch of points with the Add sop, translate them into appropriate positions and then connect them.
Add a bunch of points with the Add sop, translate them into appropriate positions and then connect them.
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
“everything is coincident”
“Love; the state of suspended anticipation.”
- puma.snyder
- Member
- 121 posts
- Joined: 7月 2005
- Offline
thanks peter. Seems like I haven't made myself to clear. Sorry for that.
What I'm looking for is a way to draw that arrow independent of a fixed axis, i.e. I have two points (start and end) which are not aligned to any of the xyz axes, but are at some (usually animated) xy position. For example
pt0 .5 4 0
pt1 -10 1 0
What I can't figure out is how to position the points of the arrow head so that they take the current orientation of the line/arrow into account.
Hope that made it more clear
thanks again
What I'm looking for is a way to draw that arrow independent of a fixed axis, i.e. I have two points (start and end) which are not aligned to any of the xyz axes, but are at some (usually animated) xy position. For example
pt0 .5 4 0
pt1 -10 1 0
What I can't figure out is how to position the points of the arrow head so that they take the current orientation of the line/arrow into account.
Hope that made it more clear
thanks again
- kuba
- Member
- 345 posts
- Joined:
- Offline
- puma.snyder
- Member
- 121 posts
- Joined: 7月 2005
- Offline
- jesta
- Member
- 311 posts
- Joined: 7月 2005
- Offline
- puma.snyder
- Member
- 121 posts
- Joined: 7月 2005
- Offline
-
- Quick Links