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

Problems when migrating PyOpenGL code to ModernGL #697

Open
LanFear-Li opened this issue May 20, 2024 · 1 comment
Open

Problems when migrating PyOpenGL code to ModernGL #697

LanFear-Li opened this issue May 20, 2024 · 1 comment

Comments

@LanFear-Li
Copy link

Problems

  1. ModernGL code can't debug with RenderDoc. (RenderDoc could't detect the OpenGL API)
  2. ModernGL shader in/out variables and uniforms are strictly acquired being used after defined in CPU.

I would like to know if these are the problems and if so how to fix them, thank you very much.

@szabolcsdombi
Copy link
Member

  1. can just use pygame and request a core context. I use renderdoc very often.

  2. not sure if i understand it right. yes you supposed to define vaos init time. make multiple vaos do not update them frame by frame.

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

No branches or pull requests

2 participants