X Tutup
Skip to content

TINYGL: Implement scissor test#6575

Merged
lephilousophe merged 7 commits intoscummvm:masterfrom
lephilousophe:tgl-scissor
Apr 28, 2025
Merged

TINYGL: Implement scissor test#6575
lephilousophe merged 7 commits intoscummvm:masterfrom
lephilousophe:tgl-scissor

Conversation

@lephilousophe
Copy link
Member

This is a followup of #6412.

I implemented a test case in Playground3D (after enabling the keymapper for all tests) and, then, I managed to merge the already in-place clipping with the missing pieces to have a working scissor test.

Finally, a bug is fixed in the various pixel writing function where the update of the z, fog and color was not done.

@neuromancer you may want to test this with Freescape.

This avoids keeping it enabled when switching tests.
Also setup a keymapper for the engine.
When a test fails we still have to update the different parameters for
the following points.
Instead of returning, jump to the end of the function where the updates
take place.
This should also fix graphical issues with stencils.
@lephilousophe
Copy link
Member Author

Merging as it seems to work with Freescape.

@lephilousophe lephilousophe merged commit 39e41a4 into scummvm:master Apr 28, 2025
8 checks passed
@lephilousophe lephilousophe deleted the tgl-scissor branch April 28, 2025 18:44
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.

2 participants

X Tutup