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

testqgs3drendering: Add a unit test for phong textured material #58188

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

ptitjano
Copy link
Contributor

@ptitjano ptitjano commented Jul 19, 2024

Description

The qt6 version works. The qt5 version works on my machine. It fails on the CI with a wrong color. I don't know what happens here.

cc @nyalldawson

qt5 expected image

image

qt5 ci result

image

@ptitjano ptitjano marked this pull request as draft July 19, 2024 13:23
@github-actions github-actions bot added this to the 3.40.0 milestone Jul 19, 2024
Copy link

github-actions bot commented Jul 19, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 8f378bf)

Copy link

github-actions bot commented Jul 19, 2024

Tests failed for Qt 5

One or more tests failed using the build from commit 426997a

polygon3d_extrusion_textured_phong (testExtrudedPolygonsTexturedPhong)

polygon3d_extrusion_textured_phong

Test failed at testExtrudedPolygonsTexturedPhong at tests/src/3d/testqgs3drendering.cpp:535

The full test report (included comparison of rendered vs expected images) can be found here.

Further documentation on the QGIS test infrastructure can be found in the Developer's Guide.

Copy link

Tests failed for Qt 6

One or more tests failed using the build from commit 5e71c6e

polygon3d_extrusion_textured_phong (testExtrudedPolygonsTexturedPhong)

polygon3d_extrusion_textured_phong

Test failed at testExtrudedPolygonsTexturedPhong at tests/src/3d/testqgs3drendering.cpp:532

Rendered image did not match tests/testdata/control_images/3d/expected_polygon3d_extrusion_textured_phong/expected_polygon3d_extrusion_textured_phong.png (found 4816 pixels different)

The full test report (included comparison of rendered vs expected images) can be found here.

Further documentation on the QGIS test infrastructure can be found in the Developer's Guide.

@ptitjano ptitjano force-pushed the texture-unit-test branch from 5e71c6e to 3ca28df Compare July 19, 2024 14:39
@ptitjano ptitjano self-assigned this Jul 19, 2024
@ptitjano ptitjano added the 3D Relates to QGIS' 3D engine or rendering label Jul 19, 2024
@nyalldawson
Copy link
Collaborator

I can't explain that! Maybe just skip it on ci for qt5 builds.... A test which works on qt6 alone (and locally) is still better than no test at all 🙃

Copy link

github-actions bot commented Aug 3, 2024

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Aug 3, 2024
@ptitjano ptitjano removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Aug 5, 2024
Copy link

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Aug 20, 2024
@ptitjano ptitjano removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Aug 20, 2024
Copy link

github-actions bot commented Sep 4, 2024

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Sep 4, 2024
@ptitjano ptitjano added testsuite Issue related to testsuite and removed stale Uh oh! Seems this work is abandoned, and the PR is about to close. labels Sep 4, 2024
@ptitjano ptitjano marked this pull request as ready for review September 4, 2024 17:53
@ptitjano
Copy link
Contributor Author

ptitjano commented Sep 4, 2024

I can't explain that! Maybe just skip it on ci for qt5 builds.... A test which works on qt6 alone (and locally) is still better than no test at all 🙃

Done. The test is now skipped on CI for Qt5.

Copy link

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Sep 19, 2024
@ptitjano ptitjano removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Sep 19, 2024
@nyalldawson nyalldawson merged commit b07bcca into qgis:master Oct 1, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3D Relates to QGIS' 3D engine or rendering testsuite Issue related to testsuite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants