Autodesk / Autodesk/arnold-usd
Subdivision of string primvars
- Dominant language
- Python
- Stars
- 284
- Forks
- 68
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 14
Description
Hi,
Kick fails when subdividing a primvar of type string, but hydra does not complain.
Could they both have the same behavior, and probably fail ?
You can find attached a simple scene:
hydra render does not fail
Run kick -i invalid_data_type_string.usda -default_nodes all -v 6 Fails with
```
00:00:00 184MB WARNING | attempting to subdivide string data type!
00:00:00 184MB WARNING | attempting to subdivide string data type!
00:00:00 184MB ERROR | attempting to subdivide an invalid data type: STRING
00:00:00 184MB | [subdiv] /sopcreate1/mesh_0: regular subdivision interrupted
00:00:00 184MB WARNING | [kick] render aborted due to earlier errors
00:00:00 184MB WARNING | render terminating early: unknown reason
```
[invalid_data_type_string.usd_rop1.usd.zip](https://github.com/user-attachments/files/16265985/invalid_data_type_string.usd_rop1.usd.zip)
Contributor guide
Research direction
Start by reproducing the report with invalid_data_type_string.usd_rop1.usd.zip and compare the kick and hydra subdivision behavior for the string primvar. Review the reported subdivision warnings and errors; done means both paths consistently handle this invalid data type as agreed.
Written by the indexing model from the issue text.
Assessment
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100