How to implement "Cursor displays at the same depth as objects being targeted" in Unity for Daydream - google-vr

For Daydream games Google has a requirement where it says:
"Cursor displays at the same depth as objects being targeted"
Description here: https://developers.google.com/vr/distribute/daydream/design-requirements#UX-C4
Now I have tested the Google demos, tried implementing this myself. But I have no idea how to proceed. Does anyone have an idea on how to implement this on Unity using the default scripts given by Google in the demos?

Your interactive objects have been placed too far from the camera. Since the cursor's max distance from the control is about 0.75 meter. It will not be placed on your item.
Move the object closer to the camera should fix this.

Related

Aframe, is aframe-extras navmesh still the way to go?

I'm trying to make an Aframe scene using a landscape that the user can navigate, but I have had a lot of issues with the aframe-extras nav mesh. Even downloading the aframe-extras repo and installing, building the bundle and then trying to run http://localhost:8000/examples/castle I get the same error as in my scene.
Uncaught TypeError: this.zones[t] is undefined
getClosestNode bundle.js:8722
getNode bundle.js:57166
tick bundle.js:55425
Aframe 57
I've looked into other posts like Uncaught TypeError using A-Frame 1.0.4 + A-Frame Extras nav-mesh and movement-controls, but their error is different than mine.
Before I go on the journey to solve this issue, can anyone weigh in on whether I'd just be better off using a different program/approach to constrain my camera to a 3D surface that is a landscape model?
If it is just a landscape you are better of using physics-systems like Ammo.js
ref:
https://github.com/n5ro/aframe-physics-system/blob/master/AmmoDriver.md
https://www.youtube.com/watch?v=SKYfYd3pk4I
For your use case as for the landscape is concerned, you can try adding ammo-body property of kinematic to the third-person camera while the landscape and 3D models have property of static.
Try finding more about physics-system there are lot of tutorials and documentation available.

HERE Map not rendering

I'm not sure what's wrong, but after setting up the map, all I get is a light blue screen. Changing schemes seems to not affect it either. Neither does changing the geoCenter (currently testing with: 37.73088189776775 -122.14045649405767) which is in the SF bay area.
Also, when I check usage on the project via my account, it is 0 despite me testing all day.
My delegate is called when I try to scroll the map, so I know that part is hooked up and I'm actually rendering the map. It's just a light blue screen...like I'm stuck in the ocean...
Any ideas? Any low hanging fruit I can check? Thanks.
Update: I'm using the iOS Starter SDK. Please let me know what additional information would help. Thanks.
I was able to get it working by not embedding the map inside another view. By bringing it to the top level, and then subclassing it I was able to get it to work. Thanks.

Creating the stereo photosphere without Unity

I'm working on a Daydream app using the Google VR SDK/NDK. To submit the app to Google Play, I need a 360-degree stereo photosphere. I've seen directions for creating this with Unity, but is there any way to create this without Unity?
I've taken a screenshot of the app in stereo mode, but I don't think that will satisfy the requirement.
Google doesn't provide any tools to capture in-app photospheres in non-Unity apps at this time. Some devs produce photospheres in modeling apps like Maya and Blender.
You could always cheat and make your "Daydream 360 degree stereoscopic image" in Photoshop. Just use the same image twice, once on top and once on the bottom.
I think others have already done this, because I have noticed a few wrong looking previews in the store. Where if I close one eye, parts of the image disappear.
If you change your mind and make one with Unity, this plugin worked nicely for me: https://www.assetstore.unity3d.com/en/#!/content/38755

Stuck between augmented reality and video editing

So here is the thing.
I got a camera and elements moving in front of this camera. I know the gps coords. of the camera and of the elements. Now I want to put an overlay on the video, to place tooltips next to the elements. After that I need to stream the enriched video to the clients.
I already tried OBS with an transparent browser layer on top of the camera video, but I failed at the calculations of the right tooltip location. I think this is something somebody already took care of, but I could not find a liberay or framework for this yet.
Did someone already solved a similar Problem ? Or is there a framework for something like this?
Thank's for your help !
Maybe the Wikitude SDK offers what you need. For the streaming part you might need to implement a plugin so that you can send the video stream to the clients

Changing nodes icon and clickable area in Google Maps Drawing Library (polygon)

As you know, Google Maps Drawing Library is easy to implement, but it gives very little control to the developer.
(Here is a sample of the library at use http://gmaps-samples-v3.googlecode.com/svn/trunk/drawing/drawing-tools.html )
I would like to change the default settings of drawing polygons in two ways:
first, I'd like to use another icon for the nodes connecting lines instead of the small square icon
second, I like to increase the clickable area around the initial node.
Do you know if it's possible to do these changes to the drawing library?
I appreciate your help.
It is not possible with the existing drawing manager functionality. Please go through the following issue in Google maps api issues
http://code.google.com/p/gmaps-api-issues/issues/detail?can=2&start=0&num=100&q=drawing%20library&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Stars%20ApiType%20Internal&groupby=&sort=&id=3760

Resources