Autodesk / Autodesk/arnold-usd

Unsupported array parameter error when reading RectLights

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

Description

**Describe the bug**
When opening an usda file in Hydra, with a rect light and a filters parameter, we get an error that aborts rendering.

**To Reproduce**
Steps to reproduce the behavior:
1. Open the usda file in [internal.zip](https://github.com/Autodesk/arnold-usd/files/6968786/internal.zip).
2. The render delegate triggers an error message: `Unsupported array parameter /aiAreaLight1/aiAreaLightShape1.filters`

**Expected behavior**
There should be no error message and the light converter should not try to use HdArnoldSetParameter to convert the `filters` parameter on a light. We have other code paths for that.

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.