extruding in direction of point normals
9819 13 1- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
Attribute transfer seems to work ok from points to points
Use a attribute promote then ! prim > point
I had a brief look at your scene. I don't understand what you are trying to do at all with it . but please look at my attached fixed scene where I attached tubes to points without the need of a foreach sop.
Rob
Use a attribute promote then ! prim > point
I had a brief look at your scene. I don't understand what you are trying to do at all with it . but please look at my attached fixed scene where I attached tubes to points without the need of a foreach sop.
Rob
Gone fishing
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
Thanks for the response rob - I discovered a few new tricks.
The attached file shows 4 different ways of achieving what I was trying to do - using 2, 3, 4 and 8 nodes. The key as always is knowing what all the nodes can do:
- the facet SOP: can unique points and calculate normals
- the polyextrude SOP: can scale and consolidate points
The attached file shows 4 different ways of achieving what I was trying to do - using 2, 3, 4 and 8 nodes. The key as always is knowing what all the nodes can do:
- the facet SOP: can unique points and calculate normals
- the polyextrude SOP: can scale and consolidate points
Patrick
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
Patrick wrote:
> Attribute transfer seems to work ok from points to points
Rob wrote:
> Use a attribute promote then ! prim > point
This bit I still don't get… See attached file.
I seem to have trouble directly accessing the primitive normal. The only thing that seems to give me access to it are the local variable in the Primitive SOP (NX, NY, NZ)
How do I use attribPromote to get the primitive normal? Is seems to have no name - i tried N but it does not seem to work.
That only way seems to be to transfer the normals to the points (using the Point SOP, or other SOPs that do the same, lice facet), and then to access the normals in the points instead. Maybe this is OK… is there a better way?
> Attribute transfer seems to work ok from points to points
Rob wrote:
> Use a attribute promote then ! prim > point
This bit I still don't get… See attached file.
I seem to have trouble directly accessing the primitive normal. The only thing that seems to give me access to it are the local variable in the Primitive SOP (NX, NY, NZ)
How do I use attribPromote to get the primitive normal? Is seems to have no name - i tried N but it does not seem to work.
That only way seems to be to transfer the normals to the points (using the Point SOP, or other SOPs that do the same, lice facet), and then to access the normals in the points instead. Maybe this is OK… is there a better way?
Patrick
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
Better do this with VOPs and “op:” expression.
NOTE: Sometimes you don't need null but when you find that something don't work while it should try placing null. In my case It didn't wan't pickup normal directly from sphere1 so I used null. It started to work directly after restarting Houdini, but you don't wanna restart program all the time, right . One null more is not a big deal.
NOTE: Sometimes you don't need null but when you find that something don't work while it should try placing null. In my case It didn't wan't pickup normal directly from sphere1 so I used null. It started to work directly after restarting Houdini, but you don't wanna restart program all the time, right . One null more is not a big deal.
Edited by - Feb. 25, 2010 12:58:39
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
I have hit a problem similar to my previous question about normals and copying. I am copying some primitives onto the centre point of some other primitives, orientated to their normals. All works, except…
the objects being copied are rotating around the normal in unpredictable and seemingly random ways - how do I get them to be rotated in the same way? See attached…
the objects being copied are rotating around the normal in unpredictable and seemingly random ways - how do I get them to be rotated in the same way? See attached…
Patrick
- probbins
- Member
- 1145 posts
- Joined: July 2005
- Offline
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
-
- Quick Links