chishbak Posted May 21, 2015 Share Posted May 21, 2015 (edited) Hi guys Does anybody knows a method to rotate separately each normal of a point from a curve ? I want to select 1 or X number of points and than to rotate their normal as desired. how to do that? Thx Edited May 21, 2015 by chishbak Quote Link to comment Share on other sites More sharing options...
pbarua Posted May 21, 2015 Share Posted May 21, 2015 Group those points and apply operation on that group. Quote Link to comment Share on other sites More sharing options...
Sierra62 Posted May 21, 2015 Share Posted May 21, 2015 Another option is to move each point in the direction that you want its normal to point. Then using a point sop, connect your original points into the first input and the edited points into the second. Then for the normal use: $TX2-$TX, $TY2-$TY, $TZ2-$TZ. This will set each normal to point to the position of the edited points. Quote Link to comment Share on other sites More sharing options...
chishbak Posted May 25, 2015 Author Share Posted May 25, 2015 (edited) Simple and nice ! thank you !! Edited May 25, 2015 by chishbak Quote Link to comment Share on other sites More sharing options...
gaurav Posted May 27, 2015 Share Posted May 27, 2015 Houdini world is divided into those who use quaternions and those who are going to use them Now say you want to rotate Normals for point num 0 1 and 2 by 45 degrees around X axis.Laydown attrib wrangle enter @ptnum == 0 1 2 in Group field and following in VEXpression field :float angle = radians(45);vector axis = set(1,0,0);vector4 myQuaternion = quaternion(angle,axis);@N = qrotate(myQuaternion,@N); 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.