AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX

One node output driving multiple inputs updates only one

Open
#1,415 9 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

See video below, using LookdevX (old version), MaterialX Viewer and Graph Editor, all loading the same attached MtlX file.

The Radius1 node drives the thickness of a few Lines. In LookdevX all works as expected.
In Viewer and Graph Editor only one line updates when changing the Radius1 value.
At load times and when a shader compilation is triggered all nodes are updated correctly. Something that can be done in the Editor but not the Viewer.

https://github.com/AcademySoftwareFoundation/MaterialX/assets/7254958/0a81bcc9-ee4d-4b51-8f97-335c94fc3756

Note that this file requires [PR1411](https://github.com/AcademySoftwareFoundation/MaterialX/pull/1411)
When you open the file in Graph Editor the graph is in the upper-right corner, and you need to Zoom in. There are some disconnected nodes that are far away (other bug reported for that issue)
[pat_herringbone2x6_test_GE01.zip]
(https://github.com/AcademySoftwareFoundation/MaterialX/files/12074256/pat_herringbone2x6_test_GE01.zip)

Contributor guide

Open the contributing guide

Research direction

Open the attached pat_herringbone2x6_test_GE01.zip in the Graph Editor and Viewer after applying PR1411, then reproduce the Radius1 update with several Lines connected to it. Compare behavior with LookdevX and with updates triggered by loading or shader compilation. Done means changing Radius1 updates every connected line in both Viewer and Graph Editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.