dayvbrown Posted March 21, 2012 Share Posted March 21, 2012 Hey hey, So i'm sure at one point I had an answer for this but is there a simple way to get a surface made up of tris (in this case after a cookie) back into quads? I've attached a file so you can see what i mean. The grid going in to the cookie is quads but comes out as nasty tris and for various reasons that is not what we want! Cheers, Dave. untriangulate.hip Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted March 21, 2012 Share Posted March 21, 2012 Turn off "Pre-Convex Geometry" on your Cookie SOP and save it as default preset. This option makes those ugly triangles. Quote Link to comment Share on other sites More sharing options...
dayvbrown Posted March 21, 2012 Author Share Posted March 21, 2012 Turn off "Pre-Convex Geometry" on your Cookie SOP and save it as default preset. This option makes those ugly triangles. nice one thanks, but was thinking it as more of a general question outside of the use of cookies (this was just an example of a tri mesh I happened to have had lying around....) Thanks again, Dave. Quote Link to comment Share on other sites More sharing options...
dpap Posted April 11, 2014 Share Posted April 11, 2014 Does anyone have an answer on this one? Not cookie specific but generic triangulated geo into quads. Both Maya and Softimage have a " Quadrangulate" command that most of times fixes things like that. Is there something equivalent in Houdini? Quote Link to comment Share on other sites More sharing options...
freaq Posted April 11, 2014 Share Posted April 11, 2014 as far as I know there is no built in functionality, and I must say it is hard to do, I did some test trying to find the hypotheneuse of every triangle, seeing if they aling and if se deleting the edge between those triangles resulting in a quad. but it's not perfect by any stretch. if anyone finds a proper quadrangulation method I'd be most interested. Quote Link to comment Share on other sites More sharing options...
Popular Post petz Posted April 12, 2014 Popular Post Share Posted April 12, 2014 if you have a fairly simple geometry you could use the old tristrip-trick or just remove edges between pairs of triangles like freaq said. quads.hip 8 3 Quote Link to comment Share on other sites More sharing options...
whodini Posted April 18, 2014 Share Posted April 18, 2014 if you subdivide triangulated geo with just 1 iteration, all faces will become quads. It's an old trick that modelers use. Quote Link to comment Share on other sites More sharing options...
dpap Posted April 24, 2014 Share Posted April 24, 2014 (edited) Thank you for answer Petz ! Cool post as always! if you have a fairly simple geometry yeeah... when the geo is complicated things get ugly... @Ryan hmmm... yes but you get really weird topology after that .It works in some cases but raises the polycount. Anyway.. Houdini definitely needs a Quadrangulate tool . Until then.. Softimage to the rescue. Or maybe when the Remesh node gets more mature, it will transform into Zbrush's Zremesher Edited April 25, 2014 by dpap Quote Link to comment Share on other sites More sharing options...
JuriBryan Posted April 27, 2014 Share Posted April 27, 2014 you can run a loop over each face and check how many points it has.If its less then 4 you can subdivide only that face.that way you dont increase the poly count to mush and you get rid of all the triangles.just fuse them all back together afterwards Quote Link to comment Share on other sites More sharing options...
ikoon Posted May 29, 2017 Share Posted May 29, 2017 @petz thank you for your script, helped me a lot. Please why is there 1.f in your code? I have never seen it: angle_max = 1.f; Quote Link to comment Share on other sites More sharing options...
petz Posted June 1, 2017 Share Posted June 1, 2017 it's just to make sure the number is float. doesn't make much sense in vex tbh. and you should probably use 1.0 instead. but well, old habits die hard ... 1 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.