7on7on Posted November 19, 2016 Share Posted November 19, 2016 Hello, I have a problem to render a spiral in a cylinder. I just put the Stripes pattern in a constant shader and rotate the uv. Why i get this offset within the seam of the cylinder ? I upload my simple scene. Thx for your help. tiling.hipnc Quote Link to comment Share on other sites More sharing options...
Atom Posted November 19, 2016 Share Posted November 19, 2016 I think your spiral rotation is just slightly out of synch with the SHOP rotation value on the z-axis. You have 40, try 45.56. You may have to dial in this number each time you change the radius of the tube. Quote Link to comment Share on other sites More sharing options...
7on7on Posted November 19, 2016 Author Share Posted November 19, 2016 Thanks Atom, you're right The cylinder uv are exactly unfold between 0 to 1 in u and 0 to 1 in u, which is similar to a simple grid. But when i put the pattern on a grid, i can repeat the pattern with any angle and is work. Why ? For the effect i want to achieve i need to vary the angle... i can't use a fixe angle as 45.56 Quote Link to comment Share on other sites More sharing options...
7on7on Posted November 20, 2016 Author Share Posted November 20, 2016 Ok, sometimes you just need to sleep. I put a twist after the uvprojet at sop level. And now, i can animate the twist to vary the spiral angle.This is not the same because the spiral is a mask which drive other shaders. And these shaders must be in the undeformed cylinder. But i can live with that. Thx 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.