AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX

Web Viewer: Add support for drag-and-drop of materials with image references

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

Description

## Issue

If you drag-drop a MTLX file with image dependencies the image dependencies cannot be found to be bound.
Seems to be the case for

1. Image files in same folder as MTLX file
2. Image files in sub-folders of MTLX file
3. Image files in sibling or parent folders

Perhaps this is due to the usage of relative file paths, though would think that 1 would work.

## Diagnosis

Found while loading and examining the console log in a browser.

Contributor guide

Open the contributing guide

Research direction

Reproduce the drag-and-drop flow in the Web Viewer with an MTLX file and image references in the same, child, sibling, and parent folders. Start by examining the browser console log and trace how relative image paths are resolved; done means all listed dependency locations bind successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.