GlennimusPrime By the way, what is the 3rd uv attribute for?
Why would a single vertex need more than two coordinates? I assume it only needs a u value and a v value.
What does the 3rd one even do?
It's just one attribute, you can't delete a component. The attribute can be replaced with a size 2 attribute using attribute create if needed, but most uv tools in houdini expect 3 coordinates.
UV uses three coordinates for the same reason it's useful to use 4 coordinates to represent 3 dimensions. The third being 'w' which can be used to represent an imaginary axis. It allows for rotations uv coordinates on arbitrary axes to be reversible. A matrix could be used to represent the mapping from one space to another, such as for projective spaces. The third dimension stores the projective z axis.
GlennimusPrime By the way, what is the 3rd uv attribute for?
Why would a single vertex need more than two coordinates? I assume it only needs a u value and a v value.
What does the 3rd one even do?
It's just one attribute, you can't delete a component. The attribute can be replaced with a size 2 attribute using attribute create if needed, but most uv tools in houdini expect 3 coordinates.
UV uses three coordinates for the same reason it's useful to use 4 coordinates to represent 3 dimensions. The third being 'w' which can be used to represent an imaginary axis. It allows for rotations uv coordinates on arbitrary axes to be reversible. A matrix could be used to represent the mapping from one space to another, such as for projective spaces. The third dimension stores the projective z axis.
Hi thanks for the replies. This clears things up and explains a few things for me.
My original issue was importing Houdini geometry into Maya, which was messing up the UVs. I initially thought the 3rd UV channel was breaking things, but later found out Maya will only read point UV attributes, not vertex uv attributes.
Unfortunately converting uvs from vertex to point messes up the uvs on the object. They don't transfer cleanly.
Anyway, thanks for clearing up the other stuff for me.
GlennimusPrime later found out Maya will only read point UV attributes, not vertex uv attributes.
I assume you are using alembic
MAya can read vertex uvs, as that's the most commonly used ones in traditional CG workflows the problem may be that your geo has some polygons with multiple vertices attached to the same point, Maya importer doesnt like that
Hi Tamte, yes I was exporting from Houdini as an Alembic to bring into Maya.
I'm just testing this again now and you're correct, maya is reading the uv vertex attribute. I don't know what was going wrong for me before.
Although I no longer need to export the geo with a uv point attribute, I have also found a solution to the uvs being messed up when attribute promoting the vertex uvs to a point attribute - The problem was the vertices were still attached, so when promoting to point, they would cross over each other. The fix was to use a 'uv split seams' sop before the attribute promote.
GlennimusPrime The fix was to use a 'us split seams' sop before the attribute promote.
In most cases I wouldn't call this a fix as it actually splits the geo at those seams which can have undesired effects down the line if that was not the intention If it's intended though, there is a checkbox to promote to point on split uv seams directly