Jump to content
Malak1000

Viewing Additional UV Maps

Recommended Posts

I'm trying to view an additional UV map. uv (a 3flt) views just fine. However uvWind (also a 3flt) refused to appear in the UV Viewport dropdown.

I created a third with the UV Texture node - uvWind1 - and that show up just fine.

image.png.3888dd49c6edd2063f9b5f7d47bc0729.png

Though I notice that as well as being a 3 channel float like the others Houdini has tagged it a Tex.

image.png.406429be220b80f078e12a4c17d72537.png

How can you tag an attribute as a Tex so Houdini treats it as a UV channel in the viewport?

Thanks!

Share this post


Link to post
Share on other sites
5 minutes ago, Malak1000 said:

 

image.png.406429be220b80f078e12a4c17d72537.png

How can you tag an attribute as a Tex so Houdini treats it as a UV channel in the viewport?

The VEX function you are looking for is 'setattribtypeinfo'. In your case to set the attribute type of uvWind to texture coordinates you'd need to create a Vertex Wrangle with the line:

setattribtypeinfo(0, "vertex", "uvWind", "texturecoord");

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×