Can polygons be textured based on their intrinsic uvw?
1047 4 1- probiner
- Member
- 339 posts
- Joined: June 2013
- Online
This image shows a lines grid being mapped to 3 polygons using it's 0-1 coordinates with primuv().
What I would like to know is if I could use that same uvw used in primuv() to texture geo and get a visual cue of that uvw.
I don't see this intrinsic uv available in the material context, so one could just pass a stripes images, like the one at the bottom, to a Texture VOP. I guess I'm missing a source of the intrinsic uvs in the matnet SOP. Can they be sourced?
Scene attached.
Cheers
Edited by probiner - Dec. 15, 2022 09:16:33
- probiner
- Member
- 339 posts
- Joined: June 2013
- Online
- jsmack
- Member
- 7771 posts
- Joined: Sept. 2011
- Offline
- probiner
- Member
- 339 posts
- Joined: June 2013
- Online
jsmackprobiner
Mantra test with uv coords VOP with mode set to Primitive Coordinates.
Not what expected for both tris and ngons.
mantra converts tris and ngons into quads. the intrinsic uv of a triangle is the uv of a quad with two of the vertices collapsed to a point.
Gotcha, I was going for a visualizer of the geo's intrinsic UVs, and trying to use texturing to have them displayed on the viewport. The Material setup was an attempt. Not sure how I would do otherwise.
- tamte
- Member
- 8555 posts
- Joined: July 2007
- Online
-
- Quick Links