point sop functionality replication

   2401   4   2
User Avatar
Member
143 posts
Joined: July 2015
Offline
hello

I'm trying to avoid using point sop a lot because of speed issue and other stuff and trying to do it in Attribute wrangler and A vop.
(there was rumors about the making point sop multi threaded in H15, but I don't see any difference)

to replicate the adding edge force, I'm using a standard subtracting the next point from previous point and to feed into the N parameter.
I always get the unwanted twisted normal for the last point, so I use delete sop to delete the last point and I get a clean edge normal flow.

I wonder If I'm doing it efficiently or there is better way to do force things in wranglers or vops?!

thank you
User Avatar
Member
702 posts
Joined:
Offline
Use the Poly Frame Sop… this will give you the tangentu which is what you are looking for and without the funky normal at the end point
User Avatar
Member
143 posts
Joined: July 2015
Offline
I think polyframe sop doesn't give the desired normal as the way I described.
I gives tangent U and V and normal perpendicular at the joint.
User Avatar
Member
702 posts
Joined:
Offline
if you want exactly along the curve, you can account for the end point with an if statement

Attachments:
wrangle_flow_curve.hip (62.9 KB)

User Avatar
Member
51 posts
Joined: Nov. 2015
Offline
PolyFrame does a better job than Point edge force. Just in polyframe you should toggle off Normal Name and put N in Tangent Name.
2 x Xeon E5-2670 - 64 GB DDR3 RAM - Nvidia GTX 960 - Win 10 64x
  • Quick Links