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

Separating rendering and logic/physics #6

Open
optimus-code opened this issue May 11, 2022 · 0 comments
Open

Separating rendering and logic/physics #6

optimus-code opened this issue May 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@optimus-code
Copy link
Owner

As Quake is a very old engine, of course it was designed to be a single-threaded app. The way it was designed means physics is tied directly to framerate. (Increased frame rate means you run faster). Because of the nature of the app everything is tightly-coupled and we cannot benefit from multi-threading as much as would be ideal.

Granted, performance isn't a worry with Quake but my goal is to modernise it completely. This means separating physics/cpu heavy code from the rendering layer and allowing as many frames as you want.

Currently the game does not function as developers intended if you try to run it on a 144hz monitor with VSync for example. Anything above 70 frames throws off calculations for physics etc.

@optimus-code optimus-code added the enhancement New feature or request label May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant