Atom Posted July 26, 2015 Share Posted July 26, 2015 (edited) Hi All, I am still trying to figure out how to wrap a procdurally generated line along the surface of the tube. I was plying around with Peter Quint's ivy.hip example file. While his solution works, mine does not. But I don't really understand why? I have simply replaced his curves with my curves and run them both into a switch. My curve projects inside and doesn't always fall onto the surface as it should. ap_curve_project_on_trunk_1b.hipnc Edited July 26, 2015 by Atom Quote Link to comment Share on other sites More sharing options...
Atom Posted July 26, 2015 Author Share Posted July 26, 2015 I think I might have figured this one out. I was creating my line in the wrong direction. Also the generated line must not fall outside the width of the projection grid. ap_curve_project_on_trunk_1c.hipnc Quote Link to comment Share on other sites More sharing options...
Robert Posted July 28, 2015 Share Posted July 28, 2015 For general usability I'd suggest projecting the curve to the tube first and THEN adding a polywire to it. If you can somehow get the intersection normal from the curve to the collision you can peak the curve a certain amount so that any polywire tube appears to "rest" on the surface instead of penetrating it (which you are getting somewhat with the current setup). The method with the control grid resembles the creep method where you use the UV coordinates to project your curves on which then folds the curve around the geometry nicely (requires nurbs geo to project against though). 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.