-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic Scene API support (SceneModelProvider)
- Loading branch information
Showing
14 changed files
with
895 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
scons target=template_debug -j4 | ||
scons target=template_release -j4 | ||
./gradlew build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
f24721a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied in basic Scene API support from my private repo for reference, will break this down into more reasonable chunks, adapt to this repo's style, and address a few gaps in functionality. Notably:
Will probably work on this in the coming weeks
f24721a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh just remembered another open question... do we have a pattern for stubbing these interfaces to test on mac / linux without a full OpenXR runtime? See xr_scene_provider_fake.h - on mac and linux that gives me sample data so I can iterate quickly without deploying to the headset.
I could fake this at the monado layer on Linux, but not an option on mac...
cc @m4gr3d for this question and the ones in previous comment
f24721a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this, keep an eye on #61. That PR is migrating the export logic from gdscript to c++ via gdextension, so I'd wait until it's submitted before making those changes, or rebase on top of it.
We don't have a defined pattern but your approach looks good, and we may make this the norm going forward!
We're planning to integrate the Meta XR simulator so that would be another option as well.