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

Clip-filter all BSP faces early #1881

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

yoctozepto
Copy link
Collaborator

Cull-filtering was weak and late. We can do better by clip-filtering all faces early. This reduces the number of faces that other code needs to process.

Similarly, move the face orientation check early too.

Cull-filtering was weak and late. We can do better by clip-filtering
all faces early. This reduces the number of faces that other
code needs to process.

Similarly, move the face orientation check early too.
@yoctozepto yoctozepto requested a review from pskelton November 12, 2024 21:32
Copy link
Collaborator

@pskelton pskelton left a comment

Choose a reason for hiding this comment

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

Nice

src/Engine/Graphics/BspRenderer.cpp Show resolved Hide resolved
@yoctozepto yoctozepto marked this pull request as ready for review November 13, 2024 07:27
@yoctozepto
Copy link
Collaborator Author

I must have misclicked. This was supposed to be a regular PR, not a draft. :-)

@pskelton pskelton added the 👍Approved PR approved label Nov 13, 2024
@pskelton pskelton merged commit 96c6e93 into OpenEnroth:master Nov 13, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍Approved PR approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants