Drive position from UV. What am I doing wrong here?

   2103   2   0
User Avatar
Member
118 posts
Joined: Feb. 2016
Offline
I need to add new points on a curve using some arbitrary UV values.

I convert the curve to nurbs, and use the “UV texture” node set to points and type “arc length Spline”
The points are so lined up straight from 0 to 1 and they seem to keep their relative distance from each other.

The problem arises when I try to use the “primuv” function in a wrangle to retrieve the world position of an arbitrary UV value.

You can clearly see it in the attached file: even if I feed the primuv function with the UV value of specific point of the curve, the returned position doesn't match the position of the point used.

What am I missing?
Any help much appreciated!
cheers

Attachments:
position_from_UV.hiplc (81.7 KB)

User Avatar
Member
7835 posts
Joined: Sept. 2011
Online
primuv uses the implicit parametric coordinates of the surface or curve. The uv attribute cannot be used to retrieve a position in this way.
User Avatar
Member
118 posts
Joined: Feb. 2016
Offline
ah thanks for the info, I wasn't aware about it…
then I'm going to use these implicit uvs, although it's less elegant (in my case)



but still, I would love to learn how to do that with texture UVs.
Anybody has any hint?
  • Quick Links