Dizfoo Posted October 20, 2015 Share Posted October 20, 2015 Hi, I'm creating a procedural Igloo. The result is ok for what my intentions are (also because on igloos you don't need to see bricks, as inuits tends to press the snow on it), BUT during the process of creation I faced this challenge, that I can't solve by myself: I would like to understand how it is possible to rotate different levels of primitives based on their height, due to obtain the typical shapes of igloo, with rotated layers of bricks. I built the bricks starting from the primitives of a sphere, and basically I'd like to rotate each face loop of the original sphere. Here I attach my hip file, and of course, if you have critiques or suggestions about the whole process that I adopted to build the igloo, they're super welcome. Thank you in advance, R Igloo.hipnc Quote Link to comment Share on other sites More sharing options...
Maurits Posted October 29, 2015 Share Posted October 29, 2015 It might be my Houdini but could you also provide the HDA or embed it in the scene. Quote Link to comment Share on other sites More sharing options...
Maurits Posted October 29, 2015 Share Posted October 29, 2015 What you could try is first to isolate each polygon with a facet node set to "cusp polygon" and a value of 0 Then in a for each loop that loopsa set number of times (the amount of layers) use a transform to select a layer of polygons each iteration and rotate them. Assuming you use a normal sphere set to polygon mesh you can use something like this to select each layer in the group field you can use a similar expression as this. `ch("../sphere1/cols")*(detail("../foreach_begin1_metadata1", "iteration", 0))`-`ch("../sphere1/cols")*(detail("../foreach_begin1_metadata1", "iteration", 0)+1)` what it comes down to for the first polygon is the number of polygons a row has X the forloop iteration number. for the last of the selection the the same but the iteration value is increased by 1. Don't forget to use the ` before and after an expression Then just apply a rotation you want for each layer. Igloo posible fix.hipnc 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.