Autodesk / Autodesk/arnold-usd
Subdivision iteration primvar not inherited on instances
- Dominant language
- Python
- Stars
- 284
- Forks
- 68
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 14
Description
**Describe the bug**
When we set the attribute primvars:arnold:subdiv_iterations on a prim, the children inherit this primvar and set the subdiv on the meshes. In Arnold it will only work if the scene in parts of the scene that are not instanced but not on the instanced one.
**To Reproduce**
Steps to reproduce the behavior:
1. Using the pixar kitchen set non instanced, add the attribute at the root prim with a value of 5 for example
2. render with arnold - we can see the subdivision
3. Using the pixar kitchen set instanced, add the attribute at the root prim with a value of 5 for example
4. we can't see the subdivision.
Contributor guide
Research direction
Reproduce the difference with the Pixar kitchen set in non-instanced and instanced forms, setting primvars:arnold:subdiv_iterations to 5 at the root and rendering with Arnold. Trace how inherited primvars are handled for instances; done when the instanced scene shows the same subdivision as the non-instanced scene.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100