AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX

Paths to the interface inputs are not returned from code generation

Open
#1,385 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.3k
Forks
451
Avg merge
6d 6h
Merged PRs (30d)
5

Description

Currently code generation will return a path to a node input even if it's connected to an interface input.
This is being handled after the fact by patch code for instance in the Material Viewer.

It is thus possible to get / set the incorrect value and may miss colorspace or unit information.

Suggestion is to move patch this in code generation.

Adding @niklasharrysson and @jstone-lucasfilm for thoughts.

Contributor guide

Open the contributing guide

Research direction

The issue names code generation and patch code in the Material Viewer but no files or tests. Start by tracing how paths to node inputs are generated and how the Material Viewer patches interface inputs; done means generated paths resolve to the interface input and preserve colorspace and unit information.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.