ElemKlimov Posted July 18, 2020 Share Posted July 18, 2020 hello - attempting to recreate basalt columns. i have created the basic shape and then copied to points with random rotation. however - the next step would be to have random angles on the tops - subtle - not strong. unsure of how to do this. also - is there a way to create a gradient - so they stack from short to tall? Quote Link to comment Share on other sites More sharing options...
Librarian Posted July 18, 2020 Share Posted July 18, 2020 Hi @ElemKlimov if you do search on GitHub someone posted a Huge Work about Stones, Rock, etc.. absolutely everything about that.. almost 500 MB of resources ..just sorry that I cant use That.. huge amount of ram its needed( i HAve 8 .. Can't find now that link HM 1 Quote Link to comment Share on other sites More sharing options...
flcc Posted July 18, 2020 Share Posted July 18, 2020 (edited) For the random angles on the tops, in a for loop you can boolean substract randomly oriented cubes. For the gradient, before your copy to point make a more or less random @scale.y attribute from Z that you define in a wrangle. Or with the same wrangle add a transform in the for loop and use the scale.y attribute in the scale Y field. Edited July 18, 2020 by flcc 1 Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 18, 2020 Author Share Posted July 18, 2020 thanks @Librarian & @flcc. what a huge resource on github! will try the wrangle. Quote Link to comment Share on other sites More sharing options...
ryew Posted July 19, 2020 Share Posted July 19, 2020 @Librarian, I'm curious to check out the github file(s) you mention, but I've done a variety of searches on google and github and am unable to track down the rock/stone example repository on gitHub, just simple or irrelevant files - was it something released by a user or by side effects, or possibly linked through another site? Searching on odforce itself the only relevant result seems to be the mention in this thread 1 Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 19, 2020 Author Share Posted July 19, 2020 @Librarian & @ryew. was just about to post on that as well - managed to find nothing. Quote Link to comment Share on other sites More sharing options...
Librarian Posted July 19, 2020 Share Posted July 19, 2020 sorry, can't find the link .. I was on GitHub by some User (not the SidefX) 1 Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted July 19, 2020 Share Posted July 19, 2020 (edited) You could use the technique in that video: https://www.youtube.com/watch?v=5ja8yyj6_SQ (its the second part of the video) The group is the face on the top of the tube and than in transform select the group and use the script thats written in the video description on rotation. Edited July 19, 2020 by sant0s81 Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 20, 2020 Author Share Posted July 20, 2020 ah great @sant0s81 thanks for the link! 1 Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 20, 2020 Author Share Posted July 20, 2020 (edited) @sant0s81. so i've followed the tutorial and understand the workflow. in creating the group - how exactly do you specify the top face selection? sorry for the bother - i only started with H a month ago. i got this far! Edited July 20, 2020 by ElemKlimov Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 20, 2020 Author Share Posted July 20, 2020 i perused this page but unable to decipher. https://www.sidefx.com/docs/houdini/nodes/sop/groupcreate.html Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted July 20, 2020 Share Posted July 20, 2020 (edited) 24 minutes ago, ElemKlimov said: in creating the group - how exactly do you specify the top face selection? sorry for the bother - i only started with H a month ago. I am also a total b00n in H, so I get it Check the screenshot: and the scene file: randomi_face_rotation_on_instances.hiplc Edited July 20, 2020 by sant0s81 Quote Link to comment Share on other sites More sharing options...
Noobini Posted July 20, 2020 Share Posted July 20, 2020 c'mon...level up !!! select by normal...try it. 1 Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted July 20, 2020 Share Posted July 20, 2020 1 minute ago, Noobini said: select by normal...try it. ah, even better Thx. Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 20, 2020 Author Share Posted July 20, 2020 haha @Noobini need to sort this first - exercise. then normals next. Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 20, 2020 Author Share Posted July 20, 2020 5 minutes ago, sant0s81 said: I am also a total b00n in H, so I get it Check the screenshot: and the scene file: randomi_face_rotation_on_instances.hiplc so thanks so much for this - selected the face - but not getting the same result. Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted July 20, 2020 Share Posted July 20, 2020 Just now, ElemKlimov said: so thanks so much for this - selected the face - but not getting the same result. Did you press enter after selecting the face? Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 20, 2020 Author Share Posted July 20, 2020 (edited) 2 minutes ago, sant0s81 said: Did you press enter after selecting the face? yep. i'll try again. not happening - is it perhaps this expression? from the tutorial? Edited July 20, 2020 by ElemKlimov Quote Link to comment Share on other sites More sharing options...
ElemKlimov Posted July 20, 2020 Author Share Posted July 20, 2020 here is my basic setup. Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted July 20, 2020 Share Posted July 20, 2020 (edited) @ElemKlimov You have to check that the foreach nodes name is the same than in the expression Your for each begin is named 2, in the expression is 1. Edited July 20, 2020 by sant0s81 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.