Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NME: Add a rgb output to the ImageProcessing block #13328

Merged
merged 4 commits into from
Dec 8, 2022
Merged

NME: Add a rgb output to the ImageProcessing block #13328

merged 4 commits into from
Dec 8, 2022

Conversation

Popov72
Copy link
Contributor

@Popov72 Popov72 commented Dec 7, 2022

The PR also changes the color input type to AutoDetect to make it clear that it accepts multiple types.

While I was at it, I also updated some inputs in some blocks to AutoDetect for the same reason as above.

Closes BabylonJS/ThePirateCove#296

Note:

The test fix is due to the fact that this test is quite old and the node material generated code used the old way of connecting blocks together: we didn't use the name of the source output or the name of the input to be connected, the system selected them automagically. But this could fail in a number of ways, and we switched to a more robust system where we explicitely name the output of the source block and the input of the connecting block. The changes took place in October 2019.

@Popov72 Popov72 added enhancement nme Node Material Editor labels Dec 7, 2022
@azure-pipelines
Copy link

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@azure-pipelines
Copy link

@azure-pipelines
Copy link

Visualization tests for webgl1 have failed. If some tests failed because the snapshots do not match, the report can be found at

https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13328/merge/testResults/webgl1/index.html

If tests were successful afterwards, this report might not be available anymore.

@azure-pipelines
Copy link

Visualization tests for webgl2 have failed. If some tests failed because the snapshots do not match, the report can be found at

https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13328/merge/testResults/webgl2/index.html

If tests were successful afterwards, this report might not be available anymore.

Copy link
Member

@RaananW RaananW left a comment

Choose a reason for hiding this comment

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

I am not familiar with this area that well, so this is just a code-review :-)
I will let someone else merge that.

@sebavan sebavan merged commit e9f3682 into BabylonJS:master Dec 8, 2022
RaananW pushed a commit that referenced this pull request Dec 9, 2022
NME: Add a rgb output to the ImageProcessing block
Former-commit-id: c91258f2be027a1f4233a803d6d182d8822a0f38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement nme Node Material Editor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants