varomix Posted July 22, 2008 Share Posted July 22, 2008 HI guys I'm working on a pipes system based of a curve, the problem I have is that when a pipe changes plane, the corner joint won't follow, here's a pic. I oriented the normals to follow the curve but one the curve goes up, it needs and extra twist. thanks guys Quote Link to comment Share on other sites More sharing options...
kubabuk Posted July 22, 2008 Share Posted July 22, 2008 I am guessing, you are using sweep SOP, aren't you? Try stamping - gives you more accurate control over the position of the normals. Quote Link to comment Share on other sites More sharing options...
varomix Posted July 22, 2008 Author Share Posted July 22, 2008 hey well I'm actually just copying each corner joint to the points, using the curve normals Quote Link to comment Share on other sites More sharing options...
pclaes Posted July 22, 2008 Share Posted July 22, 2008 you can use the cross product of the current normal and the previous normal as an up vector for the copy operation. - this does imply you don't have two point on the same line next to each other without a change of direction, as that will screw up the result of the cross product. I added color to the cornerpieces to make it visible in which direction they are pointing. goodluck copy_cornerpieces_on_curve.hip Quote Link to comment Share on other sites More sharing options...
kumpa Posted July 22, 2008 Share Posted July 22, 2008 Why dont u use lsystem and replace line with pipe geo? Quote Link to comment Share on other sites More sharing options...
varomix Posted July 22, 2008 Author Share Posted July 22, 2008 wow Peter, that works just as I need, thanks a lot I'll study it tonight. kumpa, I didn't understand your method, can you elaborate on that please?, that might be cool also, using lsystems thanks a lot guys 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.