Autodesk / Autodesk/arnold-usd

Use `HdRenderPassAovBinding::clearValue` when clearing the render buffer

Open
#451 2 comments 0 reactions 1 assignee Claimed by @sirpalee View on GitHub
enhancement render delegate
Dominant language
Python
Stars
284
Forks
68
Avg merge
2d 19h
Merged PRs (30d)
14

Description

**Describe the feature you'd like**
Use `HdRenderPassAovBinding::clearValue` to set the default value in the render buffer.

While this is not a strict requirement when the format of the `HdRenderBuffer` and the Arnold AOV matches in component counts, when there is a discrepancy (like rendering to a float4 buffer from an RGB AOV) the lack of the proper default value can cause issues, like the alpha channel being zero.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.