guache Posted December 25, 2011 Share Posted December 25, 2011 I have a cam looking at an object. The cam is stationary, but it's rotated (not aligned to XYZ axes). The object has no xform. It has a part at the SOP level, part A. How can I slice part A in cam space like an egg slicer: ie. add parallel divisions/edges across it at regular intervals? One idea would be to xform the part by the inverse of the cam matrix, SOP Divide (Bricker), then put the part back in place. If anyone has better ideas (either for cam space xform or the slicing method), I'd love to hear them. Quote Link to comment Share on other sites More sharing options...
3dbeing Posted December 25, 2011 Share Posted December 25, 2011 I have a cam looking at an object. The cam is stationary, but it's rotated (not aligned to XYZ axes). The object has no xform. It has a part at the SOP level, part A. How can I slice part A in cam space like an egg slicer: ie. add parallel divisions/edges across it at regular intervals? One idea would be to xform the part by the inverse of the cam matrix, SOP Divide (Bricker), then put the part back in place. If anyone has better ideas (either for cam space xform or the slicing method), I'd love to hear them. one option would be to use a knife sop projected from the camera position whose orientation is the cross of the cam z and up.. Quote Link to comment Share on other sites More sharing options...
3dbeing Posted December 26, 2011 Share Posted December 26, 2011 (edited) Ok this was a little more complicated than I first thought, I thought it would be easy enough to project multiple knife instances but no... Tried using copy but that didn't quite work, because we want each successive cut to operate on the geometry created by the previous cut. So it only makes sense to take it into dops and use the sop solver. If you haven't used the sop solver before it can be tricky sometimes to get it to give you the right feedback.. let me know if you have any questions... knife.hipnc Edited December 26, 2011 by 3dbeing Quote Link to comment Share on other sites More sharing options...
edward Posted December 26, 2011 Share Posted December 26, 2011 Probably easier to use the ForEach SOP in this case. Quote Link to comment Share on other sites More sharing options...
3dbeing Posted December 27, 2011 Share Posted December 27, 2011 It seems that for each operates much like a copy sop... meaning it's creating new geo for each loop rather than operating on the existing geo. If you display the forEach node and turn on point numbers you will see what i mean. Whereas the sop solver is working on the existing geo. Unless I'm not understand the for each and I'm doing something wrong in which case I'd love to know how to do it right! knife_forEach.hipnc Quote Link to comment Share on other sites More sharing options...
edward Posted December 27, 2011 Share Posted December 27, 2011 Sorry, don't have Houdini handy. Make sure you have "Merged Results" turned OFF. Quote Link to comment Share on other sites More sharing options...
3dbeing Posted December 27, 2011 Share Posted December 27, 2011 Sorry, don't have Houdini handy. Make sure you have "Merged Results" turned OFF. I didn't even notice that check box, indeed, works like a charm and is more intuitive in this context. Nice! Quote Link to comment Share on other sites More sharing options...
vi_rus Posted December 27, 2011 Share Posted December 27, 2011 Maybe my tool will helps you... 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.