SteveNi Posted November 17, 2016 Share Posted November 17, 2016 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? Quote Link to comment Share on other sites More sharing options...
Sepu Posted November 17, 2016 Share Posted November 17, 2016 The polyframe works just fine, here a least. Quote Link to comment Share on other sites More sharing options...
SteveNi Posted November 17, 2016 Author Share Posted November 17, 2016 Quote The polyframe works just fine, here a least. Did I did something wrong? Quote Link to comment Share on other sites More sharing options...
dimovfx Posted November 17, 2016 Share Posted November 17, 2016 you can set them by typing v@N = set(1,0,0); or in polyFrame use "Tangent name"=N instead of "Normal name" Quote Link to comment Share on other sites More sharing options...
SteveNi Posted November 17, 2016 Author Share Posted November 17, 2016 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. Quote Link to comment Share on other sites More sharing options...
acey195 Posted November 17, 2016 Share Posted November 17, 2016 sometimes it is also simply a display issue, often you have to move the render flag around once, when you enable point normal visualization. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.