Hi,
I was recently checking out the USD Mesh specs and found one spec I had missed.
According to this, it seems to be possible to specify normals by “primvars:normals” in Mesh.
Reference : Please allow indexing of all primvars, including the normals · Issue #563 · Autodesk/maya-usd · GitHub
In usda, it can be written as follows.
normal3f[] primvars:normals = [(0, 0, 1), (1, 0, 0), ...] (
interpolation = "faceVarying"
)
int[] primvars:normals:indices = [6, 9, 3, 0, ...]
Omniverse Create 2022.3 and USDView 22.11 do not reflect this and are treated as having no normals.
I have created a sample usda file.
primvars_normals.usda (6.4 KB)
Confirmation environment
OS : Windows 10
Omniverse Create 2022.3.0
USDView 22.11
Verification Procedure
- “primvars_normals.usda” is opened in Omniverse Create.
primvars_normals.usda (6.4 KB)
Omniverse Create displayed the following.
USDView displayed the following.