Can a RealityKit ShaderGraph read a custom-named USD primvar?

In Reality Composer Pro I try to read it with a Primvar Reader / Geometric Property node (type float), setting the name field to AttributeTest and also to primvars:AttributeTest. In both cases the node only returns its fallback value never the actual per-vertex data. No error or warning.

If I instead author the data as a vertex Color Attribute so it exports as primvars:displayColor, the Geometry Color node reads it correctly. So the data pipeline works for the color slot, but not for a custom-named primvar.

I actually verified in RCP 3 too i have the same issue, but at least you can see in RCP 3 that the attribute does actually live on the mesh when selecting it.

Thanks.

Answered by Vision Pro Engineer in 895911022

Hi @Blueliti,

RealityKit doesn't currently support primvars of type float. In Reality Composer Pro 3, you may see an error message along the lines of Error configuring primvar mappings when you import a mesh with unsupported primvars. You can still use primvars of other types, however, and you can always store data in the UV channels of your mesh as well.

If you'd like us to consider adding the necessary functionality to support this capability, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.

If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

Thanks!

Hi @Blueliti,

RealityKit doesn't currently support primvars of type float. In Reality Composer Pro 3, you may see an error message along the lines of Error configuring primvar mappings when you import a mesh with unsupported primvars. You can still use primvars of other types, however, and you can always store data in the UV channels of your mesh as well.

If you'd like us to consider adding the necessary functionality to support this capability, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.

If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

Thanks!

Can a RealityKit ShaderGraph read a custom-named USD primvar?
 
 
Q