Autodesk / Autodesk/arnold-usd
Camera projection shader does not work
- Dominant language
- Python
- Stars
- 284
- Forks
- 68
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 14
Description
**Describe the bug**
In the Solaris viewport, the camera projection shader always uses the render camera. An exported USD file has the wrong camera name for the projection shader ("/stage/projection_camera" instead of "/cameras/projection_camera"). An HDARNOLD_DEBUG_SCENE ass file has no an empty camera_projection.camera parameter.
**To Reproduce**
Steps to reproduce the behavior:
1. You can load the attached Houdini scene. Or kick the attached usd file.
[camera_projection_test.zip](https://github.com/user-attachments/files/15788720/camera_projection_test.zip)
**Used Software Versions**
- Houdini 20.0.688 with latest HtoA
Contributor guide
Research direction
Start by loading the attached Houdini scene or kicking the attached USD file to reproduce the Solaris viewport behavior. Compare the projection shader camera name in the exported USD with the camera_projection.camera parameter in the HDARNOLD_DEBUG_SCENE ass file; done means the shader uses the intended camera consistently.
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
- Needs clarification
- Newbie friendliness
- 28/100