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

Move from the immediate mode paradigm #5

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

Move from the immediate mode paradigm #5

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

Comments

@optimus-code
Copy link
Owner

As modern graphics is all about vertex/index buffers, rich shaders and a more OO approach.

We should attempt to remove any immediate mode type rendering. This will also help when it comes to trying to integrate with other rendering libraries because Quake vanilla does a lot of trickery with runtime mesh generation, textures, lightmaps etc.

Changing paradigms has a knock-on effect, it's a can of worms

  • Dynamic brush model movement (code would need to use translation matrices instead of adjusting vertex positions per frame).
  • Alias models per frame animation, how to deal with interpolation when you're working vbos? Generate a fully interpolated set eagerly?
  • Lightmaps as they stand use multi-texturing and blend modes. This isn't ideal for modern rendering. Shaders are the way to go.
@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