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 OpenXR demo project showing off local reference space #1012

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

Conversation

BastiaanOlij
Copy link
Contributor

@BastiaanOlij BastiaanOlij commented Jan 27, 2024

This demo shows off how to create a vehicle centric XR game using OpenXR.

The basic idea is a simple go-kart race game.
Important here is the use of the "local" reference space.

It also shows mixing traditional inputs (keyboard/gamepad/steering wheel) with XR input.

If the player uses their controllers and holds them near the steering wheel, they will snap into place and the player will be able to turn the wheel. The triggers on the controller are used to accelerate (right controller) and brake (left controller)

@BastiaanOlij
Copy link
Contributor Author

For those who are interested in this, recording of the stream in which I build the first part of this demo: https://youtube.com/live/eWpNwrPTiqw

@BastiaanOlij
Copy link
Contributor Author

I've added a Gokart model from sketchfab that is CC-BY-4.0, hopefully that is acceptable here, else I'll need to look into another one.

This also has a little display on the steering wheel that we've used to display FPS and velocity information. Nice little touch.

Also added a polyhaven skytexture.

@capnm
Copy link
Contributor

capnm commented Feb 11, 2024

xr/openxr_vehicle_movement/assets/uv.jpg

Maybe you could add a separate licences folder, e.g. this one states that the generated textures are of free use.
https://uvchecker.vinzi.xyz/EULA.html
https://uvchecker.vinzi.xyz/

@BastiaanOlij BastiaanOlij force-pushed the openxr_vehicle_demo branch 6 times, most recently from d6df5e8 to 98483a9 Compare March 13, 2024 06:09
@BastiaanOlij
Copy link
Contributor Author

xr/openxr_vehicle_movement/assets/uv.jpg

Maybe you could add a separate licences folder, e.g. this one states that the generated textures are of free use. https://uvchecker.vinzi.xyz/EULA.html https://uvchecker.vinzi.xyz/

I ended up removing it as I only used it temporarily.

@BastiaanOlij BastiaanOlij marked this pull request as ready for review March 13, 2024 06:10
@BastiaanOlij BastiaanOlij force-pushed the openxr_vehicle_demo branch 3 times, most recently from d77ba52 to 3a74158 Compare March 18, 2024 02:34
@BastiaanOlij BastiaanOlij force-pushed the openxr_vehicle_demo branch from 3a74158 to 670de95 Compare June 2, 2024 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants