Skip to content

transmission_scatter sets volume albedo directly - #286

Merged
AdrienHerubel merged 4 commits into
AcademySoftwareFoundation:dev_1.2from
portsmouth:transmission_scatter_improvements
Jan 20, 2026
Merged

transmission_scatter sets volume albedo directly#286
AdrienHerubel merged 4 commits into
AcademySoftwareFoundation:dev_1.2from
portsmouth:transmission_scatter_improvements

Conversation

@portsmouth

@portsmouth portsmouth commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

Changes as below. See #275 for the difference in appearance, which is clearly more intuitive.

This gets rid of the previous rather clumsy adjustment of the absorption and extinction to accommodate the arbitrarily high scattering coefficient. The MaterialX graph is correspondingly simplified.

As discussed in #275, this is now also more consistent with the existing parametrization since the transmission_scatter color is an albedo so the $[0,1]$ range of the components is correct (whereas before the $[0,1]$ range didn't make sense).

image

@portsmouth

Copy link
Copy Markdown
Contributor Author

It would be helpful if the reviewers can verify that the changes to the MaterialX graph are correct.

@AdrienHerubel

Copy link
Copy Markdown
Contributor

As discussed in the meeting, we are now considering this look breaking change for 1.2. @peterkutz can you please formally review ?

@fpsunflower fpsunflower left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Makes sense to me.

@peterkutz peterkutz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed and approved! I've been looking forward to this simplification. Thanks for officially updating the spec @portsmouth .

I have not carefully reviewed the .mtlx changes because I'm not particularly familiar with MaterialX syntax.

@AdrienHerubel
AdrienHerubel self-requested a review January 20, 2026 18:04

@AdrienHerubel AdrienHerubel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There is a consensus that this PR should be merged and has been reviewed and approved.

@AdrienHerubel
AdrienHerubel merged commit 0262ba0 into AcademySoftwareFoundation:dev_1.2 Jan 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants