midicon Posted January 9, 2017 Share Posted January 9, 2017 Does anyone know a way to get noise on a animated sphere that to offset in opposite directions from the center? I have attached an image of what I'm talking about. any help would be much appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
vtrvtr Posted January 9, 2017 Share Posted January 9, 2017 (edited) What about clipping the sphere in the middle and then using the mirror sop to mirror it? Like this Edited January 9, 2017 by vtrvtr Added image Quote Link to comment Share on other sites More sharing options...
MENOZ Posted January 9, 2017 Share Posted January 9, 2017 you could squash and translate it's "rest position" and feed it in the noise texture Quote Link to comment Share on other sites More sharing options...
woodenduck Posted January 10, 2017 Share Posted January 10, 2017 In an attribute vop, take a 'relative to bounding box' vop and run this through a 'compare' vop set to greater than 0.5. You can plug the result of the 'compare' in to a 'switch' vop with time and negated time as the 2nd and 3rd inputs. Plug that in to the x component of a 'float to vector' vop and plug the result in to the offset of your noise vop. You should see the noise on one half of the sphere moving in positive x and the other half in negative x. Quote Link to comment Share on other sites More sharing options...
mestela Posted January 10, 2017 Share Posted January 10, 2017 I love these sorts of challenges. Made some rotating uvs so the noise flows around the shape rather than just slides in a wrangle, then drive noise with those uvs. float t; matrix3 m = ident(); v@uv = @P; // set speed t= @Time*ch('speed'); // get coords that are centered and mirrored on x @uv = (0.5-relpointbbox(0,@uv)); @uv.x = abs(@uv.x); // rotate coords around the y axis rotate(m, t, {0,1,0}); @uv *= m; mirror_rotating_noise.hip 4 Quote Link to comment Share on other sites More sharing options...
midicon Posted January 11, 2017 Author Share Posted January 11, 2017 Both of these are great solution! thanks so much for getting back to me! Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted January 11, 2017 Share Posted January 11, 2017 Hi Rob, there is a VOP node to convert your position into polar coordinates. polar_noise.hipnc 1 Quote Link to comment Share on other sites More sharing options...
f1480187 Posted January 12, 2017 Share Posted January 12, 2017 I wonder, if it's possible to offset polar coordinates' radius with periodic forms of noise, so, the noise infinitely goes outwards without scaling. I had no luck with it. Quote Link to comment Share on other sites More sharing options...
mestela Posted January 13, 2017 Share Posted January 13, 2017 dur me, polar coords is a much neater solution. twiddled it so it gives clean 0-1 co-ords so you can map images and stuff too. rot_uvs_polar.hip 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.