Skip to content

Remove MDF choice, disable tonemapping EDF - #2699

Open
luisbarrancos wants to merge 1 commit into
appleseedhq:masterfrom
luisbarrancos:minor_osltweaks
Open

Remove MDF choice, disable tonemapping EDF#2699
luisbarrancos wants to merge 1 commit into
appleseedhq:masterfrom
luisbarrancos:minor_osltweaks

Conversation

@luisbarrancos

Copy link
Copy Markdown
Member

Addressing #2688 and #2680

Distribution was deprecated, GGX by default for every closure.
Disable tonemapping by default, so EDF values will be bigger than 1.
Remove deprecated (and unused) parameter specular spread (used in
student-T MDF).
int gafferNoduleLayoutVisible = 0,
int divider = 1
]],
string in_distribution = "ggx"

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.

To be honest, I hadn't noticed that these parameters were marked as deprecated. That makes them less of a problem than I initially thought.

return;
}

string distribution;

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.

That's clearly code that we can remove without breaking anything, regardless of our decision of what to do with the deprecated parameters.

@dictoon

dictoon commented Sep 22, 2019

Copy link
Copy Markdown
Member

In #2688 I've asked what happens to existing Blender scenes. If removing deprecated params don't break them then we can merge this PR as is. Otherwise we'll need to restore the deprecated params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants