Hello guys,
I was wondering if there's any chance I can change the ptnum of my points ?
I'm still a beginner in Houdini and I'm trying to copy points planks to these points. I'm not 100% sure, but I've got a normals problem and I think it comes from the ptnum.
My points are in this order
(screen1), which makes the normal looks like this (screen2)
And this is how my planks look like when I'm copying them.
As I said, I think it's a problem coming from the normals, and that this problem is because of the ptnum. So if there's any way to change the points in a better way than the sort node, which didn't have what I was looking for, I'm all ears.
I'm working on a procedural balcony and trying to reproduce this variant ;
Thanks for your help!
change the order of points
559 6 1- tq_stn
- Member
- 4 posts
- Joined: Sept. 2022
- Offline
- Mike_A
- Member
- 255 posts
- Joined: Aug. 2018
- Offline
Your planks are being copied to your points. Your points are not evenly spaced - hence the spaces and overlaps.
There is quite a bit you need to understand to use copy to points like this: how the Resample SOP works, normal and up attributes etc. It really is well worth your time to study those.
For a simple straight line situation like this you'd be better off just using the 'Copy And Transform' SOP for each of the three sides and doing a merge.
There is quite a bit you need to understand to use copy to points like this: how the Resample SOP works, normal and up attributes etc. It really is well worth your time to study those.
For a simple straight line situation like this you'd be better off just using the 'Copy And Transform' SOP for each of the three sides and doing a merge.
Edited by Mike_A - July 29, 2024 12:49:33
- tq_stn
- Member
- 4 posts
- Joined: Sept. 2022
- Offline
Mike_AHello, thanks for your answer. I'll do it for the three sides and merge them then, thank you. Does this mean that there isn't a way to change the point order ?
Your planks are being copied to your points. Your points are not evenly spaced - hence the spaces and overlaps.
There is quite a bit you need to understand to use copy to points like this: how the Resample SOP works, normal and up attributes etc. It really is well worth your time to study those.
For a simple straight line situation like this you'd be better off just using the 'Copy And Transform' SOP for each of the three sides and doing a merge.
- raincole
- Member
- 529 posts
- Joined: Aug. 2019
- Offline
- Ivan L
- Member
- 199 posts
- Joined: Jan. 2014
- Offline
I contribute to the beauty of this world
https://houdininotes.ivanlarinin.com/ [houdininotes.ivanlarinin.com]
https://houdininotes.ivanlarinin.com/ [houdininotes.ivanlarinin.com]
- Mike_A
- Member
- 255 posts
- Joined: Aug. 2018
- Offline
As raincole says. One thing to note about this: it's the vertex order that controls curve connectivity, not the point order, hence raincole's guide to sort 'by vertex order'. If you're uncertain about the difference between points and vertices, that's another thing to add to your learning list. Have fun : )
- tq_stn
- Member
- 4 posts
- Joined: Sept. 2022
- Offline
-
- Quick Links