Dive Board



Understanding the SDK

Understanding the SDK

by ssshake on Jan 6th, 2014 20:04 PM

I hit up the creator on twitter for some information but I didn't get a response. I've noticed that it looks like the SDK for ios and android has some external libraries that are used to get the sensor data off the phone. But I'm not exactly sure why it's done this way. The gyro, mag and accel data is all exposed through Unity's APIs. So basically I'm curious why the SDK doesn't just use the API. That way you don't need to have custom SDK code for each mobile OS.

For example I'm porting a few games from Oculus to Dive for use on my Blackberry. So I had to write my own head tracking script which leverages the gyro and mag. Seems to work find for me for what it is. So once again I would just like a clear understanding of why there are custom external libraries being used for the head tracking.

The creator told me on twitter that he doesn't plan on supporting BlackBerry because they can't spare the dev cycles for a small market share. Fair enough. But if it was just using the api calls instead of these external libraries they would only have to develop once.

So does anyone know what the point is? Is there something about these external libraries that are more efficient? More accurate? If so then maybe a good compromise might be to support these libraries for ios and android but then offer a generic head tracker that is purely done in c# using unity's APIs for windows phone and blackberry. I was able to get half decent head tracking in few lines of code, it really just needs some refinement.

Thanks.

ssshake

Posts: 3

Joined: 18.12.2013

dive-owner


Re: Understanding the SDK

by Ianmcmill on Jan 28th, 2014 19:32 PM

I guess it's just about the "exclusive OpenDive" factor. More devices like the Dive are emerging and Durovis wants to establish their name in this sector.
Simple marketing. Anyways it seems that this forum or the code doesn't get much love. Not forgetting the hobby devs in this forum.

Ianmcmill

Posts: 10

Joined: 19.12.2013


Re: Understanding the SDK

by Holger on Jan 30th, 2014 09:47 AM

Don't you want to share your tracking script? It would be useful i guess...

I read a interview where stefan talked about performance issues with the build-in sensor-stuff. Is your performance good?

Holger

Posts: 6

Joined: 27.01.2014


STATISTICS


Total posts: 83897


Total topics: 9929


Total members: 38490


Newest member: Daniel G.