pingo

pingo

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Applying gravity on only one object in Vellum simulation Dec. 9, 2022, 5:04 a.m.

beautiful tomas

rotate point normals around tangents in vex Aug. 16, 2017, 3:02 p.m.

@moogtastic, thanks!

It wasn't even the assignment of tangents that was off. It was the syntax in my vex.

This worked:

___________

float twist = chf('twist');

matrix m = ident();

rotate(m, twist, v@tangentu);

@N *= m;

rotate point normals around tangents in vex Aug. 15, 2017, 4:46 p.m.

I know this has been asked before, but I simple can't get this to work correctly.

I got a curve with a lot of points. I put N and Tangentu on the points with a polyframe and in a Pointwrangle I have the following:

___

float twist = chf('twist');

vector tnorm = normalize(@tangentu);

matrix3 m = ident();
rotate(m, twist, tnorm);

@N *= m;
___

- twist is a float slider.

The Normals rotate, but on some weird axis. I obviously need them to rotate around Tangentu

Hip file attached