This is related to my previous Travelling Attribute Wave post but it's getting a bit long and complicated so I thought it's better as a separate post.
I've got an object with a VOPSOP network and would like to move points along their normals (so that parts of the object could be shrunk or expanded according to the value of an attribute).
Do I need to create these normals first? In VOPSOPs, is the Global Variable P always in world space?
Moving Points Along Normals in VOPSOPs?
17968 3 0-
- Soothsayer
- Member
- 875 posts
- Joined: Oct. 2008
- Offline
-
- wolfwood
- Member
- 4348 posts
- Joined: July 2005
- Offline
First, the Peak SOP allows you to move points along normals.
As for VOPs, P is in the same space as your SOP network.
N, your point normal, is a global that you have access to.
To move a point along the normal its simply, P = P+N*scaling_factor.
Where scaling factor can be some attribute on the surface.
As for VOPs, P is in the same space as your SOP network.
N, your point normal, is a global that you have access to.
To move a point along the normal its simply, P = P+N*scaling_factor.
Where scaling factor can be some attribute on the surface.
if(coffees<2,round(float),float)
-
- Soothsayer
- Member
- 875 posts
- Joined: Oct. 2008
- Offline
-
- wolfwood
- Member
- 4348 posts
- Joined: July 2005
- Offline
-
- Quick Links

