uv texture seems to generate zigzag textures

   1149   2   2
User Avatar
Member
4 posts
Joined: 6月 2017
オフライン
Hi, everyone,

I am working on a case, where I have to project photographs on a given mesh as textures and unwrap the projected textures. I am coming up with two issues, hopefully someone could help.
1. UV Texutre sop seems to give a map that generates zigzag textures on a plane with a quickshade or a basic principle material.
2. After I get all the textures, how can I unwrap and get(render?) the texture image. Is there a formal tutorial on this procedure?

Thanks a lot!

Bridget
Edited by yzhucg - 2023年11月7日 08:50:29

Attachments:
uvtexture.png (1.0 MB)
uvtexture1.png (486.5 KB)
uvtexture.hipnc (336.4 KB)
uvtexture.hipnc (336.4 KB)

User Avatar
Member
8186 posts
Joined: 9月 2011
オフライン
Unfortunately, this is the result of barycentric interpolation (triangle blending). UVs are not good at conveying non-linear projective spaces, since they are inherently linear. There's nothing you can do to improve it but increase mesh density considerably. The other option, which is the better one if you can do it, is to do the projection at the pixel level--in the shader using a perspective transformation. If you are using Karma, there are some tools for creating a named coordinate system on a primitive from a camera perspective and then referencing that space with a transform in the shader.
User Avatar
Member
4 posts
Joined: 6月 2017
オフライン
Thanks a lot for your explanation. I found this thread related:
https://www.sidefx.com/forum/topic/82870/ [www.sidefx.com]
https://www.sidefx.com/docs/houdini/nodes/lop/coordsys.html [www.sidefx.com]

Best,

Yong
  • Quick Links