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

Software renderer #363

Merged
merged 26 commits into from
Jun 14, 2024
Merged

Software renderer #363

merged 26 commits into from
Jun 14, 2024

Conversation

dethrace-labs
Copy link
Owner

@dethrace-labs dethrace-labs commented Jun 12, 2024

  • BRender-v1.3.2 pulled in via submodule
  • Multiple FIXME/HACKs resolved by using the 'real' BRender instead of the reverse engineered one
  • Removed all opengl bits and minified a decent amount of harness
  • Rearview mirror enabled
  • Adds linux-arm64 build
Screenshot 2024-05-30 at 9 55 02 PM Screenshot 2024-05-27 at 8 04 16 PM

Fixes #354, #350, #209,

@madebr
Copy link
Collaborator

madebr commented Jun 12, 2024

I get a build error in src\harness\os\windows.c when targeting arm64 on Windows.
See this log.

@madebr
Copy link
Collaborator

madebr commented Jun 12, 2024

Badly damaging (until it burns) and repairing the yellow eagle causes corruption of the repaired parts.
Screenshot from 2024-06-12 20-04-31

@dethrace-labs
Copy link
Owner Author

thanks! That reminds me I saw something similar on Val Hella. I'll take a look

@dethrace-labs
Copy link
Owner Author

dethrace-labs commented Jun 13, 2024

Fixed the incorrect rendering on the yellow eagle. The issue was caused by an incorrect line in the arbitrary width lit triangle path. The reason it only appears in the hires yellow eagle is the other colors use power-of-two textures which go through a different path.

Screenshot 2024-06-13 at 9 51 14 PM

Copy link
Collaborator

@madebr madebr left a comment

Choose a reason for hiding this comment

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

I'm testing the network code on top of this branch and can see no regressions.
The game runs fine in Debug mode.
So let's merge this and fix bugs as we encounter them.

@madebr
Copy link
Collaborator

madebr commented Jun 13, 2024

About the BRender-v1.3.2 fork, are we supposed to open issues here?
Through rec2, I think I found a few bugs/typos in the brender code on which I'd like your feedback.

@dethrace-labs dethrace-labs marked this pull request as ready for review June 13, 2024 19:29
@dethrace-labs
Copy link
Owner Author

Yep, I think that makes sense. BRender-specific issues should go in that repo

@xcom169
Copy link

xcom169 commented Jun 14, 2024

Which hardware renderer can we expect along with the cpu-renderer? Glide?

@dethrace-labs
Copy link
Owner Author

As of this commit, we will only have the software renderer. Then, I'll add back the hardware renderer, implementing the original 3dfx code paths

@dethrace-labs dethrace-labs merged commit 6222f69 into main Jun 14, 2024
6 checks passed
@dethrace-labs dethrace-labs deleted the software_renderer branch June 14, 2024 07:52
@dethrace-labs dethrace-labs restored the software_renderer branch June 14, 2024 07:52
@dethrace-labs dethrace-labs deleted the software_renderer branch June 14, 2024 07:52
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.

Rear view mirror in cockpit mode is not implemented
3 participants