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

Set up OpenXR display #21

Open
marceline-cramer opened this issue Jul 7, 2021 · 2 comments
Open

Set up OpenXR display #21

marceline-cramer opened this issue Jul 7, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@marceline-cramer
Copy link
Contributor

marceline-cramer commented Jul 7, 2021

Dependent on #19

There are several steps that need to be figured out as we go along:

  • link OpenXR loader library
  • set up OpenXR system and session
  • initialize in cli/main.c
  • initialize camera and viewports
  • wait, begin, submit, and end frames
@MilesLitteral
Copy link
Contributor

Camera is initialized in cli/main.c?

@marceline-cramer
Copy link
Contributor Author

No, openxr_display is initialized, and the display creates the camera, which is retrieved by cli/main.c to get the initial render pass to feed to the renderer.

This is temporary, in the future, the renderer will dynamically consume displays at frame time instead of initialization time.

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

3 participants