GithubHelp home page GithubHelp logo

nlsdvl / pyopenxr_examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmbruns/pyopenxr_examples

0.0 0.0 0.0 235 KB

Sample programs using the pyopenxr python AR/VR bindings

License: Apache License 2.0

Python 100.00%

pyopenxr_examples's Introduction

pyopenxr_examples

Sample programs using the pyopenxr python AR/VR bindings from https://github.com/cmbruns/pyopenxr

  1. hello_xr.py: This is a faithful translation into python of the hello_xr example from https://github.com/KhronosGroup/OpenXR-SDK-Source/tree/main/src/tests/hello_xr . Watch the colorful cubes attached to various spatial frames, and squeeze the controller triggers to experience an effect. This is a multi-source-file example, because the original C source also spans multiple files. hello_xr screen shot
  2. color_cube.py: This is a one-file example showing a large cube on the floor in the center of your VR space. This example uses a high-level xr.ContextObject instance to help keep the example compact. color_cube.py screen shot
  3. debug_all_the_things.py: Combines seven different ways to add logging messages to help debug pyopenxr programs.
  4. pink_world.py: The simplest opengl rendering example. The whole universe is a uniform pink.
  5. track_hmd2.py : Prints the location of the headset to the console.
  6. track_controller.py: Prints the location of the motion controllers to the console.
  7. vive_tracker.py : Print the locations of Vive Tracker devices. But not if they are assigned "handheld_object" role for some reason.

pyopenxr_examples's People

Contributors

cmbruns avatar nlsdvl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.