Vertex attributes are removed by point attribute

   1743   4   0
User Avatar
Member
289 posts
Joined: July 2005
Offline
Hi

I noticed recently that if you have a vertex attribute with a given name and after you add a point attribute with the same name, the vertex attribute is removed.

Is this expected behavior? If so, why?
A computer is almost human - except that it does not blame its mistakes on another computer.
User Avatar
Member
8045 posts
Joined: Sept. 2011
Offline
kgoossens
Hi

I noticed recently that if you have a vertex attribute with a given name and after you add a point attribute with the same name, the vertex attribute is removed.

Is this expected behavior? If so, why?

I think that's to eliminate ambiguity. You should only have one attribute of a given name for any class.
User Avatar
Member
8836 posts
Joined: July 2007
Offline
I was questioning this several times, never got satisfying answer
since there is no ambiguity, as Houdini tools usually prefer more granular attributes so vertex > point > prim > detail
and you can definitely for example still have point name and prim name and detail name at the same time, so not sure why vertices are treated differently and fight with points
Edited by tamte - Nov. 17, 2022 12:16:25
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
313 posts
Joined: Oct. 2016
Offline
tamte
not sure why vertices are treated differently and fight with points

In an attempt to get started with Solaris this sentence got my attention 'And Vertex interpolation is (confusingly) equivalent to a Houdini point attribute. The interpolation method is stored as metadata on the primvar attribute.'

USD [www.sidefx.com]

One quess, if you are dealing with Solaris, is that there is at least to some degree a conflict due to USD's naming convention or standard? Houdini's legacy is obviously not an exact match to USD.
Interested in character concepts, modeling, rigging, and animation. Related tool dev with Py and VEX.
User Avatar
Member
8836 posts
Joined: July 2007
Offline
SWest
In an attempt to get started with Solaris this sentence got my attention 'And Vertex interpolation is (confusingly) equivalent to a Houdini point attribute. The interpolation method is stored as metadata on the primvar attribute.'
this is just a confusion between USD naming and Houdini naming
Houdini | USD
vertex | FaceVarying
point | Vertex
prim | Uniform
detail | Constant

however the actual issue with point and vertex Houdini attributes clashing if named the same is older than LOPs or Solaris so it has nothing to do with it
I even think it didnt used to be that way and both vertex N and point N, vertex uv and point uv used to be allowed on the same geo at the same time, and that would make a lot of sense from the clear attribute priority rules, but someone at some point thought that only one should exist
So I'm curious what is the reason since its inconsistent as described above
Edited by tamte - Nov. 17, 2022 15:40:53
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links