Jump to content
Sign in to follow this  
yujiyuji

Copy stamp

Recommended Posts

Hello.
I am trying to copy an elongated box onto a curved road.
I want to copy it along the road, but the box is copied as in sample1.
Please tell me how I can copy the box like sample2.
The road is in the XZ plane.

Thank you.60103cf53335d_sample1(2).thumb.jpg.930b6c11111c3434a3d3fc41a5034499.jpgsample2.thumb.jpg.36a5ddda3c44b71eb38918351a4e31f6.jpg

Share this post


Link to post
Share on other sites

Hi,

if you have a guide curve, you can capture the orientation attribute from the curve. For the calculation of orientation (on the curve) you can use the "orientation along curve node" on a (resampled) curve. There are surely many other ways depending on the situation.

copy_orientation.hipnc

Edited by Aizatulin
  • Like 1

Share this post


Link to post
Share on other sites

Create orient attribute per point and use copy to point SOP. 

Share this post


Link to post
Share on other sites
8 hours ago, Aizatulin said:

Hi,

if you have a guide curve, you can capture the orientation attribute from the curve. For the calculation of orientation (on the curve) you can use the "orientation along curve node" on a (resampled) curve. There are surely many other ways depending on the situation.

copy_orientation.hipnc

Thank you!

I'm sorry for my lack of explanation.

As per the attached hip here, there are multiple points in the scatter that can't be controlled with your advice.

sample.hiplc

Share this post


Link to post
Share on other sites

@yujiyuji Play with this setup , in resample SOP ,adjust only steps that You Like ,or I think its Best to Just Explain in Words What Type of Effect or Installation (model) You planning to do. Houdini have million approaches to handle some "problems" I think .
Have Fun


 

sampleFix.hiplc

play.jpg

Edited by Librarian
  • 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
Sign in to follow this  

×