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

Add XR demo for spectator view #1144

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BastiaanOlij
Copy link
Contributor

@BastiaanOlij BastiaanOlij commented Dec 4, 2024

This is a demo project that shows how to implement a spectator view when deploying a VR project to desktop, while ignoring the spectator view code from an export to a standalone headset.

The demo also has additional logic to show how to deal with a 3rd tracker to track a physical camera. While only the basics are shown, this could be used to create a mixed reality setup where we combine a 3rd person render result, with a physical camera recording the player in front of a green screen.

@BastiaanOlij BastiaanOlij added this to the 4.4 milestone Dec 4, 2024
@BastiaanOlij BastiaanOlij self-assigned this Dec 4, 2024
@BastiaanOlij BastiaanOlij force-pushed the openxr_spectator_view_demo branch from 11f92a5 to 7297f03 Compare December 4, 2024 03:02
@BastiaanOlij
Copy link
Contributor Author

Note, there is currently a bug around displaying the subviewport textures if we want to show the left or right eye results: godotengine/godot#100004

However that doesn't stop the main spectator camera from working, optionally showing the left/right eye output is a nice bonus here for this example.

@BastiaanOlij BastiaanOlij force-pushed the openxr_spectator_view_demo branch from 7297f03 to 40b4022 Compare December 4, 2024 03:28
@BastiaanOlij BastiaanOlij changed the title Add demo for spectator view Add XR demo for spectator view Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants