Jump to content

random rotate top face of polygon?


ElemKlimov

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

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

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

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.

random_top_face.thumb.jpg.dc783f89223a07d91e44d212c534f3b6.jpg

Edited by sant0s81
Link to comment
Share on other sites

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...