Vol46 Posted May 31, 2020 Share Posted May 31, 2020 Hello all! Is there a way to stretch the texture non-linearly when the object is deformed? Let the texture be applied to the sphere (figure 1). As the sphere grows, the texture stretches uniformly. How to make so that only gray sections of the texture are stretched, and the red ones do not change (or stretch a little) ( as in figure 2 )? Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted June 1, 2020 Share Posted June 1, 2020 Hi, probably there are simpler ways, but here are some ideas: split your points using the uv coordinates convert uv to points (@P) isolate red color (delete rest) -> each square should be connected component calculate centroids for each connected component (here it is better to work on flat geometry (uv-space)) use nearpoint to get every point closest cluster center (from all points) set scale dependent float attribute (average distance to neighbour for example) rescale by this attribute towards center uv_scale_test.hipnc Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 1, 2020 Share Posted June 1, 2020 i don't quite know how to do it UVly....but geometricly/visually...not that hard. adjust uniform scale in transform1 vu_sphere.hiplc Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 2, 2020 Share Posted June 2, 2020 so i thought, instead of merge, why not boolean ? vu_sphere2.hiplc Quote Link to comment Share on other sites More sharing options...
Vol46 Posted June 5, 2020 Author Share Posted June 5, 2020 Thanks to all! 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.