jumper Posted March 23, 2012 Share Posted March 23, 2012 Hi, I have two meshes - one has normals. I would like to transfer and reorient the normals from this mesh to the other - based on the underlying geometry - I guess I need to use the tangents of the poly mesh (using polyframe sop?) and the attributerorient sop - but I am not sure how to do this.... Any help/ example file would be much appreciated. Thanks Stephen normals_v002.hip Quote Link to comment Share on other sites More sharing options...
kare Posted March 23, 2012 Share Posted March 23, 2012 (edited) Hi, I have two meshes - one has normals. I would like to transfer and reorient the normals from this mesh to the other - based on the underlying geometry - I guess I need to use the tangents of the poly mesh (using polyframe sop?) and the attributerorient sop - but I am not sure how to do this.... Any help/ example file would be much appreciated. Thanks Stephen use attribute transfer sop have a look at the attached file normals_v002.hip Edited March 23, 2012 by kare Quote Link to comment Share on other sites More sharing options...
ben Posted March 23, 2012 Share Posted March 23, 2012 Since your 2 meshes are the same you can just use a point SOP. Plug the mesh without normal in input1 and the one with normals in input 2. Check "add Normal" and use $NX2 / $NY2 / $NZ2 as values. Quote Link to comment Share on other sites More sharing options...
jumper Posted March 23, 2012 Author Share Posted March 23, 2012 Since your 2 meshes are the same you can just use a point SOP. Plug the mesh without normal in input1 and the one with normals in input 2. Check "add Normal" and use $NX2 / $NY2 / $NZ2 as values. thanks but neither of these options are re-orientating the normals relative to the orientation of the mesh.... Quote Link to comment Share on other sites More sharing options...
symek Posted March 23, 2012 Share Posted March 23, 2012 You don't need PolyFrameSOP to compute tangent space, because AttribReorientSOP is doing it for you internally. Make sure vectors you want to align are on both geometries, and there are no overlapping points, edges. hth, skk. normals_v002_skk.hipnc 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted March 23, 2012 Share Posted March 23, 2012 AttribReorient seems amazing. I was reorienting normals manually in vops using matrices Quote Link to comment Share on other sites More sharing options...
jumper Posted March 23, 2012 Author Share Posted March 23, 2012 thanks skk! that's exactly what I was after. s 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.