MENOZ Posted June 3, 2011 Share Posted June 3, 2011 http://www.procedural.com:9099/help/topic/com.procedural.cityengine.help/html/cgareference/op_convexify.html http://www.procedural.com:9099/help/topic/com.procedural.cityengine.help/html/cgareference/op_innerRect.html Hi, is there anybody that knows how to do these operations in houdini? Quote Link to comment Share on other sites More sharing options...
kubabuk Posted June 3, 2011 Share Posted June 3, 2011 Hi Andrea, This is just to give you some inspiration and answers partially to your second question - the Inner Rectangle.. Actually you can easily build most of the cityengine's tools pretty quickly in houdini. Play with the HUD slider to rebuild the shape. Starting from this point you need to put this into a loop (foreach/hscript or python) and check which rectangle with the largest area. There's no need to loop over every edge and build rectangles for each one, unless you want to get super accurate results. To gain some speed you can actually build shape starting from single edge only - but this approach can fail inside very stretchy polys. Looking forward to some creative results kuba Quote Link to comment Share on other sites More sharing options...
kubabuk Posted June 3, 2011 Share Posted June 3, 2011 ...and the file. innerRect.hip 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.