art3mis Posted June 22, 2017 Share Posted June 22, 2017 (edited) Using a scatter and new copytopoints SOP to try and wrap tiles or shingles around a sphere. The issue is that the tiles all have the same orientation. (see attached) They need to wrap the surface. I've tried adding a new points SOP with Class = points and Attribute = Normal with the VEXpression self + value and can change the direction of the tiles but only globally. Can anyone have a look at the attached .hip and tell me what I am missing? tiles_wrap_sphere.hiplc Edited June 22, 2017 by art3mis Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 22, 2017 Share Posted June 22, 2017 (edited) after the sphere simply do attribwrangle, @N = @N; then scatter, then copytopoints (or in terms of the new Points, just self instead of + value, then scatter, then copytopoints) Edited June 22, 2017 by Noobini Quote Link to comment Share on other sites More sharing options...
art3mis Posted June 22, 2017 Author Share Posted June 22, 2017 (edited) Thanks! Tried both suggestions but...nope. Again orientation is changed but all tiles have the same orientation. Something missing I think... I think I need to modify self + value in my Points sop so that the normals are all tangential to the sphere surface. Edited June 22, 2017 by art3mis Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 22, 2017 Share Posted June 22, 2017 (edited) 01) your sphere is still a primitive, I've set it to polygon 02) your 'plane' must be Z facing...because Z is the axis that is used to line up with the normal....if it is a ''pointy' object...like the pig head...naturally you want the top of the head to line up with the normal...so in the file I included the pig head turned 90deg. Plug this in and see...much easier than to see with a plane. tiles_aligned.hipnc tiles_aligned_randomrot.hipnc Edited June 22, 2017 by Noobini Quote Link to comment Share on other sites More sharing options...
art3mis Posted June 23, 2017 Author Share Posted June 23, 2017 Thanks! Appreciated. Also another thing that was confusing me is that a default Sphere only contains a single point. 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.