cardboard | Open source Cardboard SDK and samples | Graphics library

 by   googlevr C++ Version: v1.20.0 License: Non-SPDX

kandi X-RAY | cardboard Summary

kandi X-RAY | cardboard Summary

cardboard is a C++ library typically used in User Interface, Graphics, Three.js, WebGL applications. cardboard has no bugs, it has no vulnerabilities and it has medium support. However cardboard has a Non-SPDX License. You can download it from GitHub.

This SDK provides everything you need to create your own Virtual Reality (VR) experiences for Google Cardboard. It supports essential VR features, such as:. With these capabilities you can build entirely new VR experiences, or enhance existing apps with VR capabilities.

            kandi-support Support

              cardboard has a medium active ecosystem.
              It has 1366 star(s) with 229 fork(s). There are 68 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 77 open issues and 306 have been closed. On average issues are closed in 205 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cardboard is v1.20.0

            kandi-Quality Quality

              cardboard has no bugs reported.

            kandi-Security Security

              cardboard has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              cardboard has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              cardboard releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cardboard
            Get all kandi verified functions for this library.

            cardboard Key Features

            No Key Features are available at this moment for cardboard.

            cardboard Examples and Code Snippets

            No Code Snippets are available at this moment for cardboard.

            Community Discussions


            Cannot install HelloCardboard into unity
            Asked 2021-May-25 at 16:52

            Hi i'm looking to develop my first mobile vr game and I've been following a few tutorials to get started with this in Unity.


            All of these explain how you need to install a specific package via the package manager:

            When I add this via the package manager using the Git URL option I just get the error

            [Package Manager Window] Error adding package: UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:327)

            Is there something I'm missing? is there some kind of setting or something? All the tutorials literally just add the URl and it works but mine just wont seem to.

            I'm using the latest version of unity and running it on a macbook pro if that has any relevance.




            Answered 2021-May-25 at 16:52

            This was actually a brand new macbook so i had yet to do all the final set ups. Running git --version in my terminal to check what was installed showed it was a case of just accepting the terms and conditions of the newly installed xcode which i had yet to open....

            With those accepted Unity now allows me to install git url's via the package manager.



            Problem with update database from API in Laravel PHP
            Asked 2021-Apr-15 at 16:20

            I have a database of items, now I need to update the pictures in 10,000 records in the database, I make an API request, I receive an answer, but I just cannot process the answer correctly.

            I received result:



            Answered 2021-Apr-15 at 16:20

            You forgot the result. The items key is in the result.



            regex - match a word so long as it isn't in quotation marks
            Asked 2021-Apr-02 at 13:46

            Let's say for example I have a string like the one below



            Answered 2021-Apr-02 at 13:25

            I'm sure there are more elegant ways of doing this, but this seems to work...



            How do I change the AR camera so it displays in two images (stereo)?
            Asked 2021-Mar-09 at 22:02

            I am developing a AR prototype in Unity that recognises targets and displays animated models on them. I want to use this prototype with google cardboard, therefore I need it to work in stereo camera.

            I tried to change the Device Type in AR camera inspector > Vuforia Engine Configuration > Digital Eyewear, from ¨handheld¨ to ¨phone + viewer¨. (I am following what is done in this tutorial

            When I do this, everything stays the same (camera doesn´t change to stereo) and a black background called Backgroundplane shows up when I am in play mode, so I can´t see the real environment anymore.

            Any ideas what may cause this or how could I do it differently?

            Many thanks in advance!


            Inspector ¨phone+viewer¨

            play mode Backgroundplane



            Answered 2021-Feb-09 at 02:32

            Create 2 empty game objects and name them Cam1 and Cam2. Add a camera game object to both. Settings for cameras.

            Camera 1 (foreground): Depth: 1 Clear flag: Depth only

            Camera 2 (background): Depth: 0 Clear Flag: Solid Color

            Now just point camera 1 at the stuff you want in the foreground and point camera 2 at the background or whatever configuration you want.



            Question about Garbage Collection for my OCA Exam
            Asked 2021-Feb-24 at 17:43
            class CardBoard {
                Short story = 200;
                CardBoard go(CardBoard cb){
                    cb = null;
                    return cb;
                public static void main(String[] args){
                    CardBoard c1 = new CardBoard();
                    CardBoard c2 = new CardBoard();
                    CardBoard c3 = c1.go(c2);
                    c1 = null;
            // When this line is reached, what is eligible for the GC.


            Answered 2021-Feb-24 at 15:37

            Considering Java is pass-by-value, we know that Java isn't passing the object, it's passing a reference to the object.

            Because of this, when you did CardBoard c3 = c1.go(c2);, the method go(Cardboard cb) just copied the reference value of c2 to cb and therefore c2 is unharmed by the cb = null;. So, c2 is not eligible for GC.

            c3 never gets to be constructed as an object, it is just a variable of type CardBoard initialized to null. Thus, it cannot be garbage collected because it is not even created on the heap.



            Exception when going to another activity
            Asked 2021-Feb-11 at 21:34

            I keep getting a NullPointerException when going to my other activity and the app/emulator just crashes.

            The manifest file has both activities.

            Here is the MainActivity:



            Answered 2021-Feb-11 at 21:30

            The ItemsDB constructor used when the activity is started calls fillItemsDB() which adds items to the ItemsDB field. However, that field is not initialized in this constructor.

            You need to either initialize it there, call the other constructor, or initialize where you declare the field.



            Reloading the web page does not update img.src
            Asked 2021-Jan-25 at 08:09

            I recently started learning HTML and JS and got stuck at this point. I am using "cataas" to update a new image but every time I reload the page, nothing changes.



            Answered 2021-Jan-25 at 05:06

            Your browser is probably just caching the image response from

            Per the answers to this SO question, you can just tack on some harmless GET parameters to the request URL that will be ignored by the server but ultimately trick your browser into not caching the response:



            Should the frame-rate dependency taken into account in the calculation of Vector3.Distance?
            Asked 2021-Jan-08 at 07:00

            I have a thesis project where I am moving different game objects with cardboard. The interaction with game objects is done with the cross-hair. Currently, I am grabbing the object and trying to calculate the distance that the object traveled. In other words, I am grabbing the object and move it with cross-hair. Currently, I am calculating the distance like this :



            Answered 2021-Jan-08 at 07:00

            Should I take into account the framerate dependency and multiply the distance to Time.deltaTime or this distance is framerate independent?

            No because:

            1. you already know the original and new positions
            2. distance calculations doesn't involve time even during instantaneous calculations

            Frame rate or more importantly time since last update impacts when you are calculating a new position based on velocity. In this case time since last update is used as a scalar.

            By the way the line



            How to merge lines of a list into phrases (help to complete the code)?
            Asked 2020-Dec-08 at 22:57

            I have a list as follows:



            Answered 2020-Dec-08 at 22:46

            Try the following. It will check only if there is a period near the end, and it will remove the extra quotation marks and comma that you remove in between your test and output case, but will not remove extra characters.



            Textures / GameObjects disappear on right camera when leaving left camera
            Asked 2020-Dec-03 at 13:42

            I'm trying to create a VR app for iOS using Unity and the Google Cardboard SDK.

            Here is a short video about it:

            I've repeated the steps from a hundred times, created several projects and just don't know where this error comes from.

            When I create a new Unity project and only import the Google Cardboard Sample Scene, the error also occurs. (For the sphere game object)

            Has anyone already experienced this or knows how to work around this problem?



            Answered 2020-Dec-03 at 13:42

            I haven't found a solution to work around the problem, so I decided to do without VR plugins completely, i.e. no XR management plugin and no G-Cardboard XR plugin.

            My solution: I have created two independent cameras, which are combined by the father object and thus form the main camera. Then I assigned a script to the parent object of the main camera, which reads the gyroscope data from my iPhone and thus adjusts the rotation of the camera.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install cardboard

            To get started with the Cardboard SDK, see:.
            [Quickstart for Android NDK](//
            [Quickstart for iOS](//


            Please read and follow the steps in [](/ file.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone googlevr/cardboard

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link