Macha Posted July 8, 2010 Share Posted July 8, 2010 I want to use the clip sop in such a way that it clips and mirrors the object along the clip plane. It's trivial for orthogonal axes, but what if they are arbitrary. It's a bit of a math&expression problem. Anyone know how to do it? clip.hipnc Quote Link to comment Share on other sites More sharing options...
graham Posted July 8, 2010 Share Posted July 8, 2010 Can't you follow it up with a Mirror SOP? It has the exact same controls as the Clip SOP so if you just channel reference the origin, distance and direction parms to the Clip it will mirror your geometry properly. Quote Link to comment Share on other sites More sharing options...
Macha Posted July 8, 2010 Author Share Posted July 8, 2010 (edited) Thank you Graham! I was already deep in vopsland there. Didn't know of the mirror sop. Definitely not my sharpest day. (evidence: just realized I didn't save my work of last 3 hours and selected exit without save..argh...) Edited July 8, 2010 by Macha Quote Link to comment Share on other sites More sharing options...
edward Posted July 8, 2010 Share Posted July 8, 2010 FWIW, the math is equation 7 from here: http://mathworld.wol...neDistance.html (which can be conveniently calculated using dot products if you normalize first) ... You already know the normal N (it's the normalized direction vector), once you know the distance D, then you just need to do P' = P + 2*D*N for appropriate sign of D. But then, I personally prefer the Mirror SOP. Quote Link to comment Share on other sites More sharing options...
kumpa Posted July 8, 2010 Share Posted July 8, 2010 (evidence: just realized I didn't save my work of last 3 hours and selected exit without save..argh...) i dumped so many nice renders when i closed mplay...any good solutions for that ? i used unix(time) in output file field but it looks ugly 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.