I'm new to VR development,and i am do some investigation about cardboard sdk,could any guys tell me if cardboard sdk open source? And if open ,Where could I find the head tracking source code in cardboard sdk?
Is cardboard sdk open source?
Well, NO. As #birryree shared in this link: https://github.com/googlesamples/cardboard-java/issues/11.
But, you can find the head tracking c# code in CardboardHead.cs located in yourProject/Assets/Cardboard/Scripts/ after you import CardboardSDKForUnity package in your project. Or you can simply double click on component shown in the image below:
And, you can refer Decompiled CardboardSDK 0.5.1 source code here:
https://github.com/rsanchezsaez/cardboard-java
Related
I'm currently implementing MapBox in a Xamarin.Android application, I'm looking at the examples from MapBox Github, this one in specific https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/main/java/com/mapbox/mapboxandroiddemo/examples/mas/OptimizationActivity.java, which I'm translating to C#, but now I'm facing a problem. In this example they use a class called "MapboxOptimizedTrips" which comes from lib 'com.mapbox.services.api.optimizedtrips.v1.MapboxOptimizedTrips'. In Xamarin I have imported all libraries that Xamarin made for MapBox, which is these 3:
MapBoxSDK.Android
MapBoxSDK.AndroidServices
MapBoxSDK.JavaServices
None of these includes the Optimized Trips API related classes. Has anyone faced this issue before?
Screenshot of code
I thought you read and followed this document from Mapbox?
Mapbox Navigation library is kept changing and adding new features
There are two DirectionsRoute class from Mapbox libraries
both DirectionsRoute returned by Mapbox Optimization packages doesn't fit with what NavigationRoute does.
I think you have to go with the way you mentioned, call to API directly. Or wait for Mapbox to evolve their library.
Cheers.
I'm not able to make skobbler maps works with a prebundled map with SDK 3.0.
I uploaded a sample project here with a London map in the SKMaps.bundle. It cannot render the maps. (please use the SKMapsSwiftDemo on the repo)
I followed the tutorial for the 2.5 on the skobbler's blog. Did anything change?
Thank you!
I've create a 3.0.1 (latest version) Swift build (demo project) that has the London map prebundled.
It can be found here.
The demo project is configured to start in offline to indicate that only London is visible.
I'm trying to replace my own SLAM code with Kudan Unity Plugin (1.2.1, native 1.2).
I've already succeeded in building and running sample app on my iPhone.
I also checked the plugin works on my Unity project on the editor.
But when I build it on my iPhone, it does not render the video background as like in the picture.
I attached:
KudanTracker to a camera,
added:
MarkerlessTransformDriver,
MarkerlessTracking,
and BackgroundRender
as like in the sample.
I appreciate if someone give me some suggestions for what I'm missing.
Thank you in advance.
UPDATE (7/13):
I found that KudanSample scene also have same problem when Google Cardboard SDK plugin is added as shown in the screenshot.
In this case, I just imported Cardboard plugin and didn't add any prefabs in it to the scene hierarchy. It seems some plugin parts of Kudan and Cardboard are conflicting.
For trial, I deleted Cardboard's static library, libvrunity.a (and CardboardAppController.mm/h and entire "Cardboard" folder as they are referencing the library).
As the result, Kudan could render video background.
I also try to use the latest Google VR instead of Cardboard SDK, but the result was totally same as in the case of Cardboard.
I'd appreciate if someone knows how to fix it. Any suggestions are very welcome.
UPDATE (7/14):
As the signing problem of Xcode is now fixed, I'm checking the debug log.
It says "[KudanAR] Failed to create external textures".
It indicates _textureYp or _textureCbCr is null in TrackeriOS.cs.
_textureYpID and _textureCbCrId do not change whether I remove libvrunity.a or not.
Therefore, maybe there are something wrong with GetTextureForPlane().
I will keep you updated.
UPDATE (7/15):
I found that _textureYp and _textureCbCr are both null in TrackeriOS.
As they are results of GetTextureForPlane(), I hope it can be solved by changing parameters for the function. Since I could't find the documents for the function, I would be very happy if someone give me the information about it.
I have same problem.
And I think this problem is very wired.
Please adjust Link Binary With Libraies of your xcode project setting build phases.
https://i.stack.imgur.com/jLYGh.png
Please follow this order. it's work for me.
libPhone-lib.a
libgvrunity.a
libkudanPlugin.a
I want to use google drive, through cocoapods introduced, but there is a problem.
I try for a piece of equipment, the problem remains. I do not know what the problem why the SVN. Thank you to answer.
I'm very new to android developing and AR, I installed Wikitude from this link
But now I don't know how i must use samples in this link
Please help me, thanks a lot.
Please have a look at the provided SDK sample application, which comes open sourced with the Wikitude SDK - here you will find the JavaScript counterpart to the mentioned Wikitude SDK Documentation.
You can then use the sample application to adjust the samples code or enrich your application by reusing the concepts.
Kind regards,
Andreas