Jump to content
ElemKlimov

random rotate top face of polygon?

Recommended Posts

26 minutes ago, sant0s81 said:

@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.

haha - i am soooo close. however, the top face are leaning. how to fix?

odf_coom_009.PNG

odf_coom_010.PNG

Share this post


Link to post
Share on other sites
45 minutes ago, sant0s81 said:

@ElemKlimov

I guess your pivot (expression) is not correct.
Pivot has to be on the top face, not below.

i'm not sure - i copied your settings from previous. does this not match?

ch("../tube3/height")

odf_coom_011.PNG

Share this post


Link to post
Share on other sites

maybe it would be more easy if you upload the scene - difficult to see whats wrong.

Share this post


Link to post
Share on other sites

You are missing / 2 

ch("../tube3/height")/2

 

  • Like 1

Share this post


Link to post
Share on other sites

I think boolean solution is a better option, because the rotation forces a tightening on the top facet.

 

columns01_F.hip

columns.jpg

  • Like 1

Share this post


Link to post
Share on other sites

@flcc

yes, was wondering how to avoid that tightening...
Maybe combining the expression in the transform with something like ray?
Isnt boolean more heavy?
Anyway, thanks for the example hip! :)

Share this post


Link to post
Share on other sites

footprint left by a Giant, thousands of years ago...

(not that many nodes)

 

Rock_Footprint.jpg

Share this post


Link to post
Share on other sites

Many solution here :)

@eikonoklastes, @dleonhardt
nice tricks
@petz
Don' really understand how it works. Not a rotation, a projection ?
could you explain a bit ?

Share this post


Link to post
Share on other sites

@ElemKlimov  @ryew I Found

Z_HOUDINI

collection of houdini hda's focused on procedural modelling and game dev .
many of these are WIP and may not work , all tools are unlocked open source ,
feel free to edit \ redistribute ! credit and thanks to gamedev sidefxlab ,
 qL , and others , using lots of their hda within these .


https://github.com/CorvaeOboro/zhoudini

Nice to Have :wub:

  • Thanks 1

Share this post


Link to post
Share on other sites
On 22.7.2020 at 11:37 PM, flcc said:

@petz

Don' really understand how it works. Not a rotation, a projection ?
could you explain a bit ?

 

hey, sorry for my late reply, i didn't check the forum for quite a while …
you're right, instead of rotating the prim i did project its points onto the plane given by P (prim centroid) and N (prim normal). this way you don’t have to worry about adjusting size due to the rotation.

hth. petz

 

  • Like 1
  • Thanks 1

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

×