AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX

Handling of missing geomprops in GLSL backend

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

Description

When loading the following document:
```xml










```

MaterialXView displays an error:
"Geometry buffer could not be retrieved for binding: i_geomprop_missing. Index 0".

I don't think this is correct behaviour. The `` node has a `default` input which's value should be used instead.

Contributor guide

Open the contributing guide

Research direction

Start by loading the supplied MaterialX document in MaterialXView and reproduce the GLSL backend error for the missing geometry property. Trace how the geompropvalue node's default input is handled, then verify that the default color is used without the geometry-buffer error.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.