Having curve normals affect the "curve to mesh" output

Hi all,

the curve to mesh node doesn’t care about curve normals, right ? seems like it only obeys the curve tilt attribute. Here’s my test file :
geonodes_curve_to_mesh_normals.blend (1.2 MB)

Is this a limitation of the node ? how can I convert the curve normal into curve tilt so that the ribbon follows the underlying surface ?

Cheers,

Hadrien

Hello Hadriscus, how it’s going ?

I ran in similar problem and that was solved by some @zeroskilz’s magic :
geonodes_curve_to_mesh_normals_2.blend (1.7 MB)

I’ve added the precious nodegroup to your test scene.

Basically you need to calculate the angle between Tilt and normal, for that you need to use ArcTan2, and obviously to know how it works !

Hey this is great thank you ! I really needed to not have to figure this out by myself right now. Appreciate it. Equally grateful to @zeroskilz

It makes for a lighter hair mesh

https://twitter.com/Baliverbes/status/1590847372766199810?t=Ert8FklSsSiwWkoLW28F1w&s=19

Well done !

Do you make use of the new sample UV node to place curves along the scalp ?

Thanks ! No, it’s a very naive mesh-to-hair method, using shortest paths. It’s supposed to be cartoony, I think it’ll get there with a few tweaks.