Jump to content
SteveNi

Can't create normals on straight poly line

Recommended Posts

Hi

I have a straigth line, created by the line sop, and I want to create some Normals for its points.

I tried by typing:

v@N = @N

in a wrangle node, or by using the poly frame sop, now this would normally work, but it seems like the normals cant be created if the curve is completly straigth, those methods works only if the curve has some kind of curvature (not straigth).

 

Why?

Share this post


Link to post
Share on other sites

you can set them by typing

v@N = set(1,0,0);

or in polyFrame use "Tangent name"=N instead of "Normal name"

Share this post


Link to post
Share on other sites

Thanks

I solved by writing:

v@N = @N;

if(@N == {0,0,0})
{
	@N = {1,0,0};
}

This way the if statements executes only when I have a straigth curve.

Share this post


Link to post
Share on other sites

sometimes it is also simply a display issue, often you have to move the render flag around once, when you enable point normal visualization.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×