Before I put in a bug report, is it me or is a normal sop node deleting any preexisting N attributes even when it's applying normals to another class?
1) add a 'normal' node to some geometry, set it so it adds normals to points.
2) check geoSpreadsheet to assert we have point normals
3) add another 'normal' node below the previous one, set it to add normals to 'prims'
4) check geoSpreadsheet to see prims now do have normals but the point normals are gone.
Easy to workaround, but I don't remember running into this before in the first place?
Changed Normal SOP behaviour?
1168 5 2- Jonathan de Blok
- Member
- 274 posts
- Joined: July 2013
- Offline
- CYTE
- Member
- 709 posts
- Joined: Feb. 2017
- Offline
- jsmack
- Member
- 8046 posts
- Joined: Sept. 2011
- Offline
- Tanto
- Member
- 463 posts
- Joined: Nov. 2016
- Offline
- Jonathan de Blok
- Member
- 274 posts
- Joined: July 2013
- Offline
I can't find any documentation about this, only:
When two components in the same geometry have an attribute with the same name, the attribute on the “lower level” of geometry is used:
Vertex attributes override:
Point attributes, which override:
Primitive attributes, which override:
Detail (whole geometry) attributes
No mention about P or N being special? It's also not very Houdini style to have special cases like this.. strange!
When two components in the same geometry have an attribute with the same name, the attribute on the “lower level” of geometry is used:
Vertex attributes override:
Point attributes, which override:
Primitive attributes, which override:
Detail (whole geometry) attributes
No mention about P or N being special? It's also not very Houdini style to have special cases like this.. strange!
Edited by Jonathan de Blok - April 24, 2024 13:49:21
More code, less clicks.
- lewis_T
- Member
- 250 posts
- Joined: March 2013
- Offline
-
- Quick Links