Code Monkey home page Code Monkey logo

cardboardpassthrough's Introduction

Cardboard Camera Passthrough Applications

Two versions of the same idea - show a stereoscopic view of the camera to allow "Camera Passthrough" with Google cardboard. This allows for some interesting things like ARGs. The versions:

  1. OpenGL version - since two cameras are not allowed to be showen simultaneously, this version creates a camera texture and shows it on two squares. It's not fish-eye stereoscopic but still looks ok and on my phone (Galaxy Nexus) it is a bit faster then carboard version.

  2. Cardboard version - Uses the cardboard API. The "Right way" and shows fish-eye, but works slower and has a smaller FOV on my phone.

Each of the versions also has a handy APK in case you don't want to compile it.

[email protected] @msveder

cardboardpassthrough's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cardboardpassthrough's Issues

Please provide us with some docs

Hi,How are you ?
i am struggling to figure out the opengl version .. so can you please provide us with some documentation ?

Thank you

the camera wont start from time to time

First of all thanks for this repo, it saved me a lot of time!
I am having some trouble with your project out of the box.
I imported it to android studio and everything works fine but from time to time, the camera wont start, and in order to fix that i have to go out of the app and get back in.
Specifically, it look like the function onDrawEye is not called.
Did anyone found a fix for that? It occur on multiple devices.

Thanks!

HeadMountedDisplayManager exception with 0.5.6 version

I downloaded the libs from official repository, onDrawEye method is diferent, it has Eye type as parameter instead EyeTransform, so I changed it. The program runs but doesn´t show the camera and my logcat throws a HeadMountedDisplayManager exception.

App running:
175231lco0jbameub039pe

a piece of my logcat:

08-23 23:22:19.001 21310-21310/? D/HeadMountedDisplayManager﹕ Cardboard screen parameters file not found: java.io.FileNotFoundException: /storage/emulated/0/Cardboard/phone_params: open failed: ENOENT (No such file or directory)

08-23 23:22:19.004 21310-21310/? D/HeadMountedDisplayManager﹕ Cardboard device parameters file not found: java.io.FileNotFoundException: /storage/emulated/0/Cardboard/current_device_params: open failed: ENOENT (No such file or directory)

08-23 23:22:19.004 21310-21310/? D/HeadMountedDisplayManager﹕ Bundled Cardboard device parameters not found: java.io.FileNotFoundException: Cardboard/current_device_params

08-23 23:22:19.021 21310-21310/? D/HeadMountedDisplayManager﹕ Cardboard device parameters file not found: java.io.FileNotFoundException: /storage/emulated/0/Cardboard/current_device_params: open failed: ENOENT (No such file or directory)

08-23 23:22:19.023 21310-21310/? D/HeadMountedDisplayManager﹕ Cardboard screen parameters file not found: java.io.FileNotFoundException: /storage/emulated/0/Cardboard/phone_params: open failed: ENOENT (No such file or directory)

Any solution for the new sdk v0.5.6?

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.