Jump to content
ElemKlimov

random rotate top face of polygon?

Recommended Posts

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?

 

 

node_caps_006.PNG

node_caps_003.PNG

node_caps_004.PNG

node_caps_005.PNG

jSQpd3P.jpg

Share this post


Link to post
Share on other sites

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 :blink:..
Can't find now that link HM
 

14445.jpg

  • Thanks 1

Share this post


Link to post
Share on other sites
Posted (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 by flcc
  • Thanks 1

Share this post


Link to post
Share on other sites

@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

  • Like 1

Share this post


Link to post
Share on other sites

sorry, can't find the link .. I was on GitHub by some User (not the SidefX)

  • Like 1

Share this post


Link to post
Share on other sites
Posted (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!

odf_coom_001.PNG

Edited by ElemKlimov

Share this post


Link to post
Share on other sites
Posted (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 :D

Check the screenshot:

select_face_in_group.thumb.jpg.cf309d73e9d873d8aa5ba7a7dee551b2.jpg

and the scene file:
randomi_face_rotation_on_instances.hiplc

Edited by sant0s81

Share this post


Link to post
Share on other sites

c'mon...level up !!! :)

select by normal...try it.

  • Like 1

Share this post


Link to post
Share on other sites
1 minute ago, Noobini said:

select by normal...try it.

ah, even better :)
Thx.

Share this post


Link to post
Share on other sites
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?
 

Share this post


Link to post
Share on other sites
Posted (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?

odf_coom_005.PNG

Edited by ElemKlimov

Share this post


Link to post
Share on other sites
Posted (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 by sant0s81

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×