Entropy Posted January 28, 2018 Share Posted January 28, 2018 (edited) Hello is it possible to extract the silhouette of a flatten object? after flattening the object to the camera plane and inverse the object's transform matrix i have all the faces rest on the xy plane how to union - boolean all the intersected faces on the xy plane and extract the silhouette edges are there any 2d boolean operations on polygons - shapes ? thanks in advance ioannis. silhouette_edges.hipnc Edited January 28, 2018 by Entropy Quote Link to comment Share on other sites More sharing options...
Mark01 Posted January 28, 2018 Share Posted January 28, 2018 I haven't looked at the scene file, but perhaps this could be done in compositing in the Image Network? Quote Link to comment Share on other sites More sharing options...
Entropy Posted January 28, 2018 Author Share Posted January 28, 2018 (edited) Hi miles thank you yes it could be done in that way but what i am asking is do we have 2d boolean operations in houdini ? is there a way to do this with vex? best regards ioannis Edited January 28, 2018 by Entropy Quote Link to comment Share on other sites More sharing options...
f1480187 Posted January 28, 2018 Share Posted January 28, 2018 (edited) With some Triangulate 2D and Divide you can extract outlines like this: No need to do inverse transform, if you don't need it further, since Triangulate 2D will find best plane. silhouette_edges.hipnc Edited January 28, 2018 by f1480187 2 Quote Link to comment Share on other sites More sharing options...
Entropy Posted January 28, 2018 Author Share Posted January 28, 2018 Thank you this is so great! i did some test with VDB from polygons -> VDB Topology to SDF -> Convert to polygons -> Clip but my results were not as accurate your solution is perfect much appreciated ioannis Quote Link to comment Share on other sites More sharing options...
Noobini Posted January 28, 2018 Share Posted January 28, 2018 wait for me !!! here's my "hillbilly can't VEX my way out of a wet paperbag" approach... (errr...bit rough around the edges...but that's just how hillbillies like it...) silhouette_edges_approx.hipnc Quote Link to comment Share on other sites More sharing options...
Entropy Posted January 29, 2018 Author Share Posted January 29, 2018 (edited) Haha pixel perfect!!! even with 1000x1000 subdivisions its... rough at least these hillbillies are fast as long as you have some spare grid to divide... Edited January 29, 2018 by Entropy 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.