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

Increase max faces FacePrioritySorter #98

Open
wants to merge 2 commits into
base: gpu-zbuf
Choose a base branch
from

Conversation

OpaqueReptile
Copy link

Explorer Ring teleport animation has 693 faces, 512 isn't enough and causes a crash due to index OOB.

Explorer Ring tele animation has 693 faces, 512 isn't enough and cased index oob.
@Adam-
Copy link
Owner

Adam- commented Oct 30, 2024

I've looked into this. This happens on normal GPU too, and is a result of project() using a more precise floating point projection than what vanilla uses. The difference is the exception is caught and eaten by the client there. I will probably add a similar try/catch here, but I may also raise the face limit due to this. I don't know if cpu-sorting players like this will be the final approach for rendering players. This plugin is synced off of a local branch I have with other changes and so it is hard to take prs directly to it.

@Adam-
Copy link
Owner

Adam- commented Nov 2, 2024

I threw a try/catch around this for now 54af55e

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