Git Product home page Git Product logo

poolvr.py's Introduction

poolvr.py

VR pool simulator written in Python (using pyopenvr)

screenshot

REQUIREMENTS:

Optional dependencies:

Developer dependencies:

INSTALLING poolvr.py:

  1. Install the required dependencies. You can probably install most of the required packages via pip with the following exceptions:

    ode: If pip install ode fails, you may try building the package yourself::

    1. Clone and generate a Visual Studio solution (.sln) for building the library:
    git clone https://github.com/jzitelli/ode.git
    cd ode/build
    premake4.exe --only-shared --only-double --platform=x64 vs2010
    
    1. Open the generated solution in Visual Studio and follow any upgrade suggestions that your version of Visual Studio makes.

    2. Compile a Release build for your target architecture (I believe this should match your version of Python, e.g. x64 or x86).

    3. Copy the built library ode.dll to a location in your PATH.

    4. Build the Python bindings by running from the Visual Studio Native Tools command-line:

    cd <ode root directory>/bindings/python
    python setup.py build_ext install
    
  2. Build and install the poolvr package:

cd <poolvr.py root dir>
python setup.py install

STARTING poolvr.py:

To start poolvr in VR-mode, run from command-line:

poolvr

To run without VR:

poolvr --novr

To see all available command-line options:

poolvr -h

RUNNING THE TESTS:

cd <poolvr.py root dir>/test
pytest

To see all available test command-line options:

pytest -h

poolvr.py's People

Contributors

jzitelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.