Sweep SOP

   3277   4   0
User Avatar
Member
5 posts
Joined: May 2014
Offline
Hello Dear Artists
I have a small problem when I switched from H14 to H15 and in particularly with the Sweep Sop. In the file I attacked I made an example for you so that it is more clear. The idea is to create a procedural generated UV coordinates for a path (street, highway etc.). In Houdini 14 it worked very fine in Houdini 15 it does not copy the coordinates for every primitive at a time because the developers added new parameters to the Sweep Sop the Attribute from Path (ptattribs) that messed everything.
User Avatar
Member
5 posts
Joined: May 2014
Offline
Here is the attachment.

Attachments:
untitled.hip (67.0 KB)

User Avatar
Member
5 posts
Joined: May 2014
Offline
In Houdini 14 the Sweep was thinking by itself how to copy the u and v coordinates ant it worked very easy. In Houdini 15 or it is more sophisticated or it is just a bug.
User Avatar
Member
5 posts
Joined: May 2014
Offline
SOLVED…
Ok after taking a look at the H14 and H15 differences I noticed that the problem staid in the UVTexture node. In the old 14 version the UVTexture node the Attribute Class was by default to Auto Select option. In the H15 it is by default set to Vertex option. By changing it to Auto Select fixes the problem with the UVs.
So if you use One Primitive at a Time or Cycle Primitives in a Sweep Node with UVTexture node before it remember to switch in the UVTexture node the Attribute Class from Vertex to Auto Select or Point. This was you will copy the U from the backbone and the V from the cross-section for the UV attribute.
Hope it was useful. Cya
User Avatar
Member
2 posts
Joined: Sept. 2017
Offline


Thank you thank you thank you!
  • Quick Links