GithubHelp home page GithubHelp logo

ariesw / flintvr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ericflo/flintvr

0.0 2.0 0.0 28.68 MB

An experimental VR engine built in C++, but controlled with JS.

License: BSD 3-Clause "New" or "Revised" License

Batchfile 0.01% Python 0.01% C 5.63% C++ 92.50% Makefile 0.17% Objective-C 0.56% HLSL 0.55% CMake 0.12% Java 0.10% JavaScript 0.36%

flintvr's Introduction

FlintVR

An experimental VR engine built in C++, but controlled with JS.

Prerequisites

  • GearVR
  • Oculus Mobile SDK 1.0.0.0
  • Configured Android development tools
  • An Oculus developer signature file
  • Python

Running the Example

  • Clone FlintVR into your ovr_sdk_mobile_1.0.0.0/VrSamples/Native folder
  • Copy your signature file into ovr_sdk_mobile_1.0.0.0/VrSamples/Native/FlintVR/assets
  • Change directory to ovr_sdk_mobile_1.0.0.0/VrSamples/Native/FlintVR/Projects/Android
  • Run python build.py debug

Running the Other Examples

  • Modify SCRIPT_PATH in Src/OvrApp.cpp to:
    • example1_cubes_and_stars.js
    • example2_model_parenting.js
    • example3_collision.js
    • example4_dynamic_uniforms.js
    • example5_textures.js
    • example6_cubemap_background.js
    • example7_text.js
    • example8_load_model_from_file.js

Loading from the Internet

  • Modify SCRIPT_URL in Src/OvrApp.cpp to your url
  • Make sure to create a flint.json (like index.html) at docroot

Example flint.json

{
  "title": "Intro to FlintVR App!",
  "files": [
    "build/main.js",
    "textures/texture1.jpg",
    "textures/texture2.jpg"
  ],
  "entrypoint": "build/main.js"
}

flintvr's People

Contributors

ericflo avatar

Watchers

 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.