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

Wall rendering bug with portal at specific position #30

Open
Deconimus opened this issue Mar 4, 2024 · 3 comments
Open

Wall rendering bug with portal at specific position #30

Deconimus opened this issue Mar 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Deconimus
Copy link
Contributor

Version of the game

  • latest
  • (tested it with previous versions, also happens at e.g. c90b8ba)

Original Hardware or Emulator?

Emulator. Both Project64 3.0.1 and RMG 0.5.7

What is the bug?

Placing portals at specific locations at the very edge of a surface can cause rendering bugs for the surface. It almost looks like the surface is being re-triangulated around the portal with some faces becoming invisible/removed.

Steps to reproduce the behavior:

  1. In test chamber04
  2. Shoot Portal at right wall near the pit, right on the edge of the wall
  3. See through the wall
hole_in_the_wall.mp4
@mwpenny mwpenny added the bug Something isn't working label Mar 7, 2024
@mwpenny
Copy link
Owner

mwpenny commented Mar 7, 2024

Test chamber 4 is really proving to be a good map for finding issues.

I suspect the culprit here is the hole cutting logic for portal placement. The criteria seems rather specific - I tried in a few other chambers and couldn't reproduce there.

I won't be looking at this one right away given the low severity. In the mean time, feel free. Otherwise, there are some other enhancements I want to do to portal placement and I'll investigate then.

@Deconimus
Copy link
Contributor Author

Test chamber 4 is really proving to be a good map for finding issues.

True. Here's another similar phenomenon I accidentally stumbled accross. Not sure if it's same issue, but looks like the inverse of the problem.

wall_in_the_hole.mp4

@mwpenny
Copy link
Owner

mwpenny commented Mar 7, 2024

Yes, looks related. It's also a good idea to try on a more accurate emulator like Ares, but likely these are both real.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants