Autodesk / Autodesk/arnold-usd

Warning reading USD shader parameters of type unsigned int in the reader

Open
#888 3 comments 0 reactions 0 assignees View on GitHub
bug procedural
Dominant language
Python
Stars
284
Forks
68
Avg merge
2d 19h
Merged PRs (30d)
14

Description

Shader parameters of type unsigned int are represented by integer parameters in Houdini, and these are currently translated as integer primitives attributes in usd.

The best way to fix this is to tag the houdini parameters with their usd type using the sidefx::shader_parmtype tag since this will result in the correctly translated usd types. But the Houdini material translation python scripts don't support the Sdf.ValueTypeNames.UInt type (see HTOA-1841) so there is an exception setting the scalar values.

This has been fixed in Houidini after version 18.5.707

Contributor guide

Open the contributing guide

Research direction

Start with the Houdini material translation Python scripts and trace handling of Sdf.ValueTypeNames.UInt, noting the exception described in the issue. Confirm the behavior against Houdini versions after 18.5.707; done means unsigned int shader parameters translate to the correct USD type without an exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.