[Sidefx-houdini-list] uv's along a nurbs spline

Phillip P Prahl pprahl20 at student.scad.edu
Mon Jan 30 15:30:59 EST 2006


Hey,

I'm trying to map a U value along a NURBS spline.

Imagine a spline that has 4 points:
1. 0,0,0
2. 0,0.25,0
3. 0,0.60,0
4. 0,1.00,0

Now all I need is the uv's to reflect the distance
between these points so that the u value would be:

1. 0.00
2. 0.25
3. 0.60
4. 1.00

This could obviously be done by merely mapping $TY to $MAPU.
However, now imagine a nurbs curve that twists and turns -
I need the u value to reflect the length along the curve
to any given point (the arc-length or chord-length).

Hope someone has an answer ...
Thanks for your time,
Phillip

PS Maya does this automatically :)





More information about the Sidefx-houdini-list mailing list