Autodesk / Autodesk/arnold-usd

Displacement does not work with GeomSubsets

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

Description

**Describe the bug**
If you use kick or, in Houdini, Direct USD Render, displacement applied to a GeomSubset does not work. There is no displacement in the rendered image. In the Arnold log, you get an Ill-formed SdfPath error that looks like this:

`Warning: in SdfPath at line 151 of S:\gocd\pipelines\kook\kook\usd\build\usd-22.11_windows-x86_64_static_vc-14.3_cxx14\pxr\usd\sdf\path.cpp -- Ill-formed SdfPath : syntax error`

or

`Warning: in SdfPath at line 151 of S:\gocd\pipelines\kook\kook\usd\build\usd-22.11_windows-x86_64_static_vc-14.3_cxx14\pxr\usd\sdf\path.cpp -- Ill-formed SdfPath : syntax error
`

![usd_GeomSubset_disp](https://user-images.githubusercontent.com/6383425/233664911-90257773-0269-476f-8c84-e74e12dffc49.jpg)

**To Reproduce**
- Here's a usda file with displacement on one half of a sphere:
[Displacement_Test.zip](https://github.com/Autodesk/arnold-usd/files/11296752/Displacement_Test.zip)

**Used Software Versions**
- Arnold 7.2.1
- Houdini

Contributor guide

Open the contributing guide

Research direction

Start by opening Displacement_Test.zip and reproducing the GeomSubset displacement case with kick or Houdini Direct USD Render, then inspect the Arnold log for the ill-formed SdfPath warnings. Done means displacement renders correctly for the supplied sphere without those warnings.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.