Vertex uvs in vop sop?

   8567   4   0
User Avatar
Member
243 posts
Joined: Oct. 2007
Offline
Hello!
I have another quick question concerning vop sop.
I'm using a color map node in the vop sop to use an image as a displacement.
I import my uv using a parameter node and it only seem to work when my uvs are point attributes which makes sense since vop sop seems to work with point. However the problem is that uvs on point give bad seams…

Does anybody knows if there is a way to have uvs on points and get rid of the bad seam…or another way to deal with vertex uv attibutes within the vop sop?

Thanks alot!
JR Gauthier
Character Animation & Design
www.turboatomic.com
http://www.vimeo.com/user2847970 [vimeo.com]
User Avatar
Staff
327 posts
Joined: July 2005
Offline
jrgauthier
Does anybody knows if there is a way to have uvs on points and get rid of the bad seam…or another way to deal with vertex uv attibutes within the vop sop?

Consider using an Attribute Promote SOP with the “Promotion Method” set to “First Match” immediately before the VOP SOP. This will pick just one of the vertex UV values for promotion at each point.
User Avatar
Member
243 posts
Joined: Oct. 2007
Offline
Still doesn't work for me, here's an exemple scene.
There's a bad seam showing up when I convert to point using the promote attrib…maybe I'm doing something wrong…

Attachments:
vertexuv_to_point.hipnc (103.7 KB)

JR Gauthier
Character Animation & Design
www.turboatomic.com
http://www.vimeo.com/user2847970 [vimeo.com]
User Avatar
Staff
327 posts
Joined: July 2005
Offline
jrgauthier
Still doesn't work for me, here's an exemple scene.
There's a bad seam showing up when I convert to point using the promote attrib…maybe I'm doing something wrong…

Point UVs will always have problems around seams when interpolating them across primitives (what UV Quick Shade SOP needs to do). However, your original question was asking about using UVs with a VOP SOP. With the VOP SOP, you are working with values at the points and not doing any interpolation across primitives. See the attached file. Also, notice what the behaviour at the seams would be if you used the default “Promotion Method” (default was “Average”).

Attachments:
vertexuv_to_point-2.hipnc (117.2 KB)

User Avatar
Member
243 posts
Joined: Oct. 2007
Offline
Nice, it works perfectly!
Thanks very very much!!
JR Gauthier
Character Animation & Design
www.turboatomic.com
http://www.vimeo.com/user2847970 [vimeo.com]
  • Quick Links