Skip to content

Add emission_weight - #231

Merged
jstone-lucasfilm merged 9 commits into
AcademySoftwareFoundation:dev_1.2from
jamportz:emission_weight
Oct 17, 2024
Merged

jstone-lucasfilm merged 9 commits into
AcademySoftwareFoundation:dev_1.2from
jamportz:emission_weight

Conversation

@jamportz

@jamportz jamportz commented Aug 16, 2024 •

Copy link
Copy Markdown
Contributor

Implements the change described in #229.

image

image

@jamportz
jamportz marked this pull request as draft August 22, 2024 20:21
@jamportz jamportz mentioned this pull request Aug 29, 2024

@ZapAndersson ZapAndersson 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.

I approve.

Comment thread index.html Resolved
@jamportz
jamportz changed the base branch from main to dev_1.2 September 16, 2024 14:54
@jamportz
jamportz marked this pull request as ready for review September 16, 2024 14:54
@jamportz

jamportz commented Sep 17, 2024 •

Copy link
Copy Markdown
Contributor Author

emission_weight luminance emission_luminance needs to default to 1000 in both the text and the parametrization table.

@virtualzavie

Copy link
Copy Markdown
Contributor

emission_weight luminance needs to default to 1000 in both the text and the parametrization table.

Ah right, I see the parameter list still has a luminance default value of 0 (assuming you meant emission_luminance, not emission_weight).
If we have two parameters, indeed, one of them must have a default value different from 0.

The default value 1000 sounds reasonable to me since it's the order of magnitude of the maximum luminance of typical displays screens (smartphones and TVs).

jamportz and others added 3 commits September 23, 2024 16:32
Co-authored-by: Julien Guertault <9511025+virtualzavie@users.noreply.github.com>
Signed-off-by: Jamie Portsmouth <jamports@mac.com>
@jstone-lucasfilm

Copy link
Copy Markdown
Member

This looks fine to me, though it would be ideal to update the reference implementation in sync with this change, so that we don't accidentally create divergence between them.

@jamportz

jamportz commented Oct 5, 2024 •

Copy link
Copy Markdown
Contributor Author

This looks fine to me, though it would be ideal to update the reference implementation in sync with this change, so that we don't accidentally create divergence between them.

Done in eed5022

@jamportz

Copy link
Copy Markdown
Contributor Author

@jstone-lucasfilm can be merged?

@jstone-lucasfilm

Copy link
Copy Markdown
Member

@portsmouth This looks very close to the mark, but we should update Anton's open_pbr_lightbulb.mtlx example so that it remains an emissive material in OpenPBR 1.2!

https://github.com/AcademySoftwareFoundation/OpenPBR/blob/main/examples/open_pbr_lightbulb.mtlx

@jamportz

Copy link
Copy Markdown
Contributor Author

@portsmouth This looks very close to the mark, but we should update Anton's open_pbr_lightbulb.mtlx example so that it remains an emissive material in OpenPBR 1.2!

https://github.com/AcademySoftwareFoundation/OpenPBR/blob/main/examples/open_pbr_lightbulb.mtlx

Done in 203103e. Hopefully there aren't a lot of existing assets out there that will be bitten by this (I assume not, yet..).

@jstone-lucasfilm jstone-lucasfilm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good to me, thanks @portsmouth!

@jstone-lucasfilm
jstone-lucasfilm merged commit 297d447 into AcademySoftwareFoundation:dev_1.2 Oct 17, 2024
jamportz added a commit to jamportz/OpenPBR that referenced this pull request Jun 10, 2025
jamportz added a commit to jamportz/OpenPBR that referenced this pull request Jun 10, 2025
Implements the change described in AcademySoftwareFoundation#229.
# Conflicts:
#	index.html
#	parametrization.md.html
@jamportz jamportz mentioned this pull request Oct 28, 2026
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.

4 participants