Skip to content

Conversation

@kwokcb
Copy link
Contributor

@kwokcb kwokcb commented Nov 13, 2025

Change

  • Turn on headless rendering on Mac for MaterialXView
  • Added to the MacOS_Xcode_16_Python313 workflow as that already does shader validation testing.

Results:

Viewer_BrassAverage Viewer_CarpaintTranslated

Notes:

  • MaterialxGraphEditor rendering not enabled as it's using OpenGL which has issues running headless. (A new issue has been logged to support Metal rendering here. If / when it is available then it can be turned on)
  • The Metal environment set up here is the same pre-requisite as for this PR for full test suite enabling.

@kwokcb kwokcb requested review from jstone-lucasfilm, ld-kerley and lfl-eholthouser and removed request for lfl-eholthouser November 13, 2025 17:07
Copy link
Member

@jstone-lucasfilm jstone-lucasfilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really promising, @kwokcb, and I had just one initial recommendation for improving clarity.

python python/Scripts/baketextures.py resources/Materials/Examples/StandardSurface/standard_surface_brass_tiled.mtlx build/render/brass_average_baked.mtlx --average
python python/Scripts/translateshader.py resources/Materials/Examples/StandardSurface/standard_surface_carpaint.mtlx build/render/usd_preview_surface_carpaint.mtlx UsdPreviewSurface --hdr
- name: Render Application Tests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you've split the steps for the Viewer and Graph Editor, I'd say we can go further and call this step "Viewer Tests", and call the next step "Graph Editor Tests (Linux)".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.

Copy link
Member

@jstone-lucasfilm jstone-lucasfilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thanks @kwokcb! This should make a significant difference in validating MacOS rendering changes going forward.

@jstone-lucasfilm jstone-lucasfilm merged commit fbb6100 into AcademySoftwareFoundation:main Nov 14, 2025
32 checks passed
@kwokcb kwokcb deleted the mac_ci_rendering branch November 15, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants